summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0161-3.cs
blob: 1d6095c1b2fbdd1efc840e3841c3c8352f83cf12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// CS0161: `A.Test()': not all code paths return a value
// Line: 8

using System.Threading.Tasks;

class A
{
	static async Task<string> Test ()
	{
		await CallAsync ();
	}
	
	static Task<string> CallAsync ()
	{
		return null;
	}
}