blob: c472df74e87557a35f484afc7e1bccf256d01ce1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// CS0126: An object of a type convertible to `string' is required for the return statement
// Line: 7
using System.Threading.Tasks;
class A
{
static async Task<string> Test ()
{
await CallAsync ();
return;
}
static Task<string> CallAsync ()
{
return null;
}
}
|