You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
This commit is contained in:
parent
d8f8abd549
commit
e2950ec768
19
mcs/errors/cs8207.cs
Normal file
19
mcs/errors/cs8207.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
// CS8207: An expression tree cannot contain a discard
|
||||
// Line: 11
|
||||
|
||||
using System;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
class X
|
||||
{
|
||||
void Test ()
|
||||
{
|
||||
Expression<Func<bool>> e = () => TryGetValue (out _);
|
||||
}
|
||||
|
||||
bool TryGetValue (out int arg)
|
||||
{
|
||||
arg = 3;
|
||||
return true;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user