summaryrefslogtreecommitdiff
path: root/mcs/errors/cs4033.cs
blob: 0371f89637c25ca18bbd81c40fd5a6ef8451304b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS4033: The `await' operator can only be used when its containing method is marked with the `async' modifier
// Line: 11

using System.Threading.Tasks;

class Tester
{
	void Test ()
	{
		Task<int> x = null;
		var a = await x;
	}
}