repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git]
/
mcs
/
errors
/
cs1989.cs
blob
ebbb9d1b277afaeae9c3be3919e9b1ac24f7ba9a
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
=>
await
Method
();
18
}
19
}