summaryrefslogtreecommitdiff
path: root/mcs/errors/cs4003-2.cs
blob: 20fd40f9c74c261d55e3d2bc0515aa234b4eca00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS4003: `await' cannot be used as an identifier within an async method or lambda expression
// Line: 8

class Tester
{
	int await;
	
	async void Test ()
	{
		var a = new Initializer () {
			await = 2
		};
	}
}