projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Use temp directory for assemblies in SaveTest.Save() (#5727)
[mono.git]
/
mcs
/
errors
/
cs4004-2.cs
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
}