projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git]
/
mcs
/
errors
/
cs4011-3.cs
1
// CS4011: The awaiter type `A' must have suitable IsCompleted and GetResult members
2
// Line: 16
3
4
static class S
5
{
6
public static A GetAwaiter (this int i)
7
{
8
return new A ();
9
}
10
}
11
12
class A
13
{
14
int IsCompleted {
15
get {
16
return 1;
17
}
18
}
19
20
static async void Test ()
21
{
22
await 9;
23
}
24
}