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
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs1986-2.cs
blob
13682461287a34c2c99eb5630067be6c3e68d631
1
// CS1986: The `await' operand type `int' must have suitable GetAwaiter method
2
// Line: 15
3
4
static class
S
5
{
6
public static void
GetAwaiter
(
this int
i
)
7
{
8
}
9
}
10
11
class
A
12
{
13
static async void
Test
()
14
{
15
await
1
;
16
}
17
}