summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-31.cs
blob: e6d6afa2c2db4ffd5f3d0f3cb46f4bd68b5ed9da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0029: Cannot implicitly convert type `void' to `int'
// Line: 11

using System;
using System.Threading.Tasks;

class C
{
	public async Task<int> Test ()
	{
		return await Call ();
	}
	
	Task Call ()
	{
		return null;
	}
}