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

using System;
using System.Threading.Tasks;

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