Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs1945.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1f70335cdc1486dfa9767ebc493190b966c19ac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS1945: An expression tree cannot contain an anonymous method expression
// Line: 11

using System;
using System.Linq.Expressions;

class C
{
	public static void Main ()
	{
		Expression<Func<Func<int>>> e = () => delegate () { return 1; };		
	}
}