Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git] / mcs / tests / test-778.cs
blob83a3d7308752986d8828da318238d2a3a6150b65
1 using System;
3 public abstract class A
5 public virtual int Test ()
7 throw new ApplicationException ();
11 public class B : A
13 public override int Test ()
15 Console.WriteLine ("B");
16 return 1;
19 public void Test (object[] builders)
23 public virtual void Test (object[] builders, string s)
28 public class C : B
30 public override void Test (object[] builders, string s)
35 public class D : C
37 public override int Test ()
39 return base.Test ();
43 class T
45 public static int Main ()
47 var v = new D ();
48 if (v.Test () != 1)
49 return 1;
51 return 0;