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 #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git]
/
mcs
/
errors
/
cs4004-2.cs
blob
474e3899d5f3d8d64ab73c8db68ed7d4caec8386
1
// CS4004: The `await' operator cannot be used in an unsafe context
2
// Line: 12
3
// Compiler options: -unsafe
4
5
using
System
;
6
using
System
.
Threading
.
Tasks
;
7
8
unsafe class
C
9
{
10
public async
Task
Test
()
11
{
12
await
Call
();
13
}
14
15
static
Task
Call
()
16
{
17
return null
;
18
}
19
}