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
Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git]
/
mcs
/
errors
/
cs8031.cs
blob
dbb83bc1185e380c9977b15309d1b7442030ffc2
1
// CS8031: Async lambda expression or anonymous method converted to a `Task' cannot return a value. Consider returning `Task<T>'
2
// Line: 12
3
4
using
System
;
5
using
System
.
Threading
.
Tasks
;
6
7
class
Test
8
{
9
public static void
Main
()
10
{
11
Func
<
Task
>
t
=
async delegate
{
12
return null
;
13
};
14
15
return
;
16
}
17
}