a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
251 B
C#
16 lines
251 B
C#
// CS1946: An anonymous method cannot be converted to an expression tree
|
|
// Line: 11
|
|
|
|
using System;
|
|
using System.Linq.Expressions;
|
|
|
|
class C
|
|
{
|
|
delegate string D ();
|
|
|
|
public static void Main ()
|
|
{
|
|
Expression<D> e = delegate () { return "a"; };
|
|
}
|
|
}
|