a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
242 B
C#
15 lines
242 B
C#
// CS0834: A lambda expression with statement body cannot be converted to an expresion tree
|
|
// Line: 12
|
|
|
|
using System.Linq.Expressions;
|
|
|
|
class C
|
|
{
|
|
delegate bool D ();
|
|
|
|
public void Foo ()
|
|
{
|
|
Expression<D> e = () => { return true; };
|
|
}
|
|
}
|