2 using System
.Linq
.Expressions
;
6 public static void Foo
<T
> (Expression
<Func
<T
, T
>> x
)
10 static string Param (string b
)
12 Expression
<Func
<string, Expression
<Func
<string>>>> e
= (string s
) => () => b
;
13 return e
.Compile () ("-##54!2").Compile () ();
16 public static int Main ()
22 Expression
<Func
<int, int>> func
= (i
) => i
;
25 if (Param ("my test") != "my test")