projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #1014 from txdv/master
[mono.git]
/
mcs
/
errors
/
cs4029.cs
1
// CS4029: Cannot return an expression of type `void'
2
// Line: 15
3
4
using System;
5
using System.Threading.Tasks;
6
7
class C
8
{
9
static void Foo<T> (Func<Task<T>> f)
10
{
11
}
12
13
static void Main ()
14
{
15
Foo (async () => {
16
return await Task.Factory.StartNew (() => { });
17
});
18
}
19
}