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 #4202 from marek-safar/compression
[mono-project.git]
/
mcs
/
errors
/
cs1997.cs
blob
bcceb7e1576efd6a711d78b8916021d06f24800f
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
}