summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1644-32.cs
blob: 6def4c3f4ba586299e4fd38b296a3b514ce85266 (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

using System;

class C
{
	public void Foo ()
	{
		Func<int, int> e = l => 1;
	}
}