You've already forked linux-packaging-mono
Imported Upstream version 3.12.0
Former-commit-id: cf92446697332992ec36726e78eb8703e1f259d7
This commit is contained in:
19
mcs/errors/cs8046.cs
Normal file
19
mcs/errors/cs8046.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
// CS8046: An expression tree cannot contain a declaration expression
|
||||
// Line: 11
|
||||
|
||||
using System;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
class C
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
Expression<Func<bool>> e = () => Out (out int x);
|
||||
}
|
||||
|
||||
static bool Out (out int value)
|
||||
{
|
||||
value = 3;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user