[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / gtest-624.cs
blob0299d095e027314d89aa2049aeccdaf9a83e04ed
1 using System;
3 class Model
5 public int Value;
8 class C1<T1>
10 public void Add (Func<T1, int> t)
15 abstract class C2<TModel>
17 public abstract void ApplyImpl<U> (C1<U> c1) where U : TModel;
20 class C3 : C2<Model>
22 public override void ApplyImpl<Foo> (C1<Foo> c1)
24 c1.Add (t => t.Value);
28 class Program
30 static void Main ()
32 var v1 = new C1<Model> ();
33 var c3 = new C3 ();
34 c3.ApplyImpl (v1);