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
[loader] LoadFrom of problematic images should reprobe
[mono-project.git]
/
mcs
/
errors
/
cs1986-4.cs
blob
8ad071abff097039df72860ce68b78b54700ff94
1
// CS1986: The `await' operand type `int' must have suitable GetAwaiter method
2
// Line: 16
3
4
static class
S
5
{
6
public static int
GetAwaiter
<
T
> (
this int
i
)
7
{
8
return
1
;
9
}
10
}
11
12
class
A
13
{
14
static async void
Test
()
15
{
16
await
9
;
17
}
18
}