projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git]
/
mcs
/
errors
/
cs4034.cs
1
// CS4034: The `await' operator can only be used when its containing lambda expression 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 = () => await Task.FromResult (1);
12
}
13
}