projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git]
/
mcs
/
errors
/
cs1989-2.cs
1
// CS1989: Async lambda expressions cannot be converted to expression trees
2
// Line: 17
3
4
using System;
5
using System.Linq.Expressions;
6
using System.Threading.Tasks;
7
8
class C
9
{
10
static Task Method ()
11
{
12
return null;
13
}
14
15
public static void Main ()
16
{
17
Expression<Action<int>> a = async l => Method ();
18
}
19
}