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
w32file-unix.c: In function 'mono_w32file_get_file_size':
[mono-project.git]
/
mcs
/
errors
/
cs4011-3.cs
blob
df14fa33b73f0514557f1974144bd61134d1ff34
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
}