Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0126-2.cs
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 }