summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0834-2.cs
blob: 32dbd9c5f9487d945e04d9b023da5cbab3b1915d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0834: A lambda expression with statement body cannot be converted to an expresion tree
// Line: 12

using System.Linq.Expressions;

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