[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-13.cs
blobf921ae55728d0987fd646775e6364db3a72d3355
1 using System;
3 class Foo {
5 public bool MyMethod ()
7 Console.WriteLine ("Base class method !");
8 return true;
12 class Blah : Foo {
14 public static int Main ()
16 Blah k = new Blah ();
18 Foo i = k;
20 if (i.MyMethod ())
21 return 0;
22 else
23 return 1;