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
Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git]
/
mcs
/
errors
/
cs4010.cs
blob
8d352d0492b53da8e1fad7e101af692771f3795a
1
// CS4010: Cannot convert async lambda expression to delegate type `System.Func<bool>'
2
// Line: 16
3
4
using
System
;
5
using
System
.
Threading
.
Tasks
;
6
7
class
C
8
{
9
static
Task
<
int
>
GetInt
()
10
{
11
return null
;
12
}
13
14
public static void
Main
()
15
{
16
Func
<
bool
>
a
=
async
() =>
{ await GetInt (); }
;
17
}
18
}