projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #231 from linquize/a853199c497bb0977970974303fac7e42080809d
[mono.git]
/
mcs
/
errors
/
cs4011.cs
1
// CS1999: The awaiter type `int' must have suitable IsCompleted, OnCompleted, and GetResult members
2
// Line: 16
3
// Compiler options: -langversion:future
4
5
static class S
6
{
7
public static int GetAwaiter (this int i)
8
{
9
return 1;
10
}
11
}
12
13
class A
14
{
15
static async void Test ()
16
{
17
await 9;
18
}
19
}