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
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git]
/
mcs
/
errors
/
cs4035.cs
blob
d50d5feb1a41c58111388d6c7ff464b1640cd29c
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
}