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
[cominterop] Default to [in] parameter direction when not specified explicitly.
[mono-project.git]
/
mcs
/
errors
/
cs4033.cs
blob
0371f89637c25ca18bbd81c40fd5a6ef8451304b
1
// CS4033: The `await' operator can only be used when its containing method is marked with the `async' modifier
2
// Line: 11
3
4
using
System
.
Threading
.
Tasks
;
5
6
class
Tester
7
{
8
void
Test
()
9
{
10
Task
<
int
>
x
=
null
;
11
var
a
=
await
x
;
12
}
13
}