Merge pull request #15293 from lewing/wasm-clean
[mono-project.git] / mcs / tests / dtest-etree-01.cs
blob95553f9410410848f71b3b9e42db6be0ac3cb22a
1 using System;
2 using System.Linq.Expressions;
4 public class C
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);