projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Allows shadowing of probing pattern variables
[mono.git]
/
mcs
/
errors
/
cs4010.cs
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
}