projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git]
/
mcs
/
errors
/
cs1997.cs
1
// CS1997: `C.Test()': A return keyword must not be followed by an expression when async method returns `Task'. Consider using `Task<T>' return type
2
// Line: 12
3
4
using System;
5
using System.Threading.Tasks;
6
7
class C
8
{
9
public async Task Test ()
10
{
11
await Call ();
12
return null;
13
}
14
15
static Task Call ()
16
{
17
return null;
18
}
19
}