summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1644-23.cs
blob: d5103660edbef8503a8f30a28939b00c32c6ada2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS1644: Feature `lambda expressions' cannot be used because it is not part of the C# 2.0 language specification
// Line: 11
// Compiler options: -langversion:ISO-2

class C
{
	delegate void D ();
	
	public void Foo ()
	{
		D e = () => { };
	}
}