Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs1946.cs
1 // CS1946: An anonymous method cannot be converted to an expression tree
2 // Line: 11
3
4 using System;
5 using System.Linq.Expressions;
6
7 class C
8 {
9         delegate string D ();
10
11         public static void Main ()
12         {
13                 Expression<D> e = delegate () { return "a"; };
14         }
15 }