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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0126-2.cs
blob
c472df74e87557a35f484afc7e1bccf256d01ce1
1
// CS0126: An object of a type convertible to `string' is required for the return statement
2
// Line: 7
3
4
using
System
.
Threading
.
Tasks
;
5
6
class
A
7
{
8
static async
Task
<
string
>
Test
()
9
{
10
await
CallAsync
();
11
return
;
12
}
13
14
static
Task
<
string
>
CallAsync
()
15
{
16
return null
;
17
}
18
}