for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs0834-2.cs
blob32dbd9c5f9487d945e04d9b023da5cbab3b1915d
1 // CS0834: A lambda expression with statement body cannot be converted to an expresion tree
2 // Line: 12
4 using System.Linq.Expressions;
6 class C
8 delegate void D ();
10 public void Foo ()
12 Expression<D> e = () => { };