Merge pull request #4615 from alexanderkyte/string_error_handling
[mono.git] / mcs / errors / cs0834.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 bool D ();
9         
10         public void Foo ()
11         {
12                 Expression<D> e = () => { return true; };
13         }
14 }