projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3591 from directhex/mono_libdir_fallback
[mono.git]
/
mcs
/
errors
/
cs4035.cs
1
// CS4035: The `await' operator can only be used when its containing anonymous method is marked with the `async' modifier
2
// Line: 11
3
4
using System;
5
using System.Threading.Tasks;
6
7
class C
8
{
9
public void Test ()
10
{
11
Action a = delegate { await Task.FromResult (1); };
12
}
13
}