Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0834-2.cs
1 // CS0834: A lambda expression with statement body cannot be converted to an expresion tree
2 // Line: 12
3
4 using System.Linq.Expressions;
5
6 class C
7 {
8         delegate void D ();
9         
10         public void Foo ()
11         {
12                 Expression<D> e = () => { };
13         }
14 }