[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-etree-25.cs
blobdd4089569ce4ab317dcd7faf78619a8c17c92d69
1 using System;
2 using System.Linq.Expressions;
4 class Foo
6 public void OnBaz (IBaz baz)
11 interface IBar
13 void RunOnBaz (Action<IBaz> action);
16 interface IBaz
20 class C : IBar
22 public void RunOnBaz (Action<IBaz> action)
24 action (null);
27 public static int Main ()
29 var foo = new Foo ();
31 Expression<Action<IBar>> e = bar => bar.RunOnBaz (foo.OnBaz);
32 e.Compile () (new C ());
34 return 0;