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 #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs1986.cs
blob
b053d431e3e8389ca34ec76abe185f05710622b2
1
// CS1986: The `await' operand type `A' must have suitable GetAwaiter method
2
// Line: 17
3
4
static class
S
5
{
6
public static void
GetAwaiter
(
this int
i
)
7
{
8
}
9
}
10
11
class
A
12
{
13
bool
GetAwaiter
;
14
15
static async void
Test
()
16
{
17
await new
A
();
18
}
19
}