[runtime] Coverage profiler fixes (#5698)
[mono.git] / mcs / errors / cs0161-3.cs
1 // CS0161: `A.Test()': not all code paths return a value
2 // Line: 8
3
4 using System.Threading.Tasks;
5
6 class A
7 {
8         static async Task<string> Test ()
9         {
10                 await CallAsync ();
11         }
12         
13         static Task<string> CallAsync ()
14         {
15                 return null;
16         }
17 }