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
[bcl] Update BCL Linked Size
[mono-project.git]
/
mcs
/
errors
/
cs0201-8.cs
blob
8fba571d3c5f0a318f3b1ecb97fd9b96f4251297
1
// CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
2
// Line: 11
3
4
using
System
;
5
using
System
.
Threading
.
Tasks
;
6
7
class
C
8
{
9
async
Task
<
int
>
Test
()
10
{
11
Func
<
int
>
r
=
await
Task
.
Factory
.
StartNew
(() => () =>
1
);
12
}
13
}