retag
[mcs.git] / errors / gcs1945.cs
blob1f70335cdc1486dfa9767ebc493190b966c19ac6
1 // CS1945: An expression tree cannot contain an anonymous method expression
2 // Line: 11
4 using System;
5 using System.Linq.Expressions;
7 class C
9 public static void Main ()
11 Expression<Func<Func<int>>> e = () => delegate () { return 1; };