projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #1074 from esdrubal/bug18421
[mono.git]
/
mcs
/
errors
/
cs8031.cs
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
}