2 using System
.Linq
.Expressions
;
6 static void Conv1(Expression
<Func
<object, object>> l
)
10 static void Conv2(Expression
<Func
<dynamic, dynamic>> l
)
14 public static void Main ()
16 Expression
<Func
<object>> e1
= () => (dynamic) 1;
17 Expression
<Func
<dynamic>> e2
= () => (object) 1;
19 Conv1 ((d
) => (dynamic) 1);
20 Conv1 ((dynamic d
) => d
);
22 Conv2 ((o
) => (object) 1);
23 Conv2 ((object o
) => o
);