3 using System.Reflection;
21 * This is really at test of the compiler: it should init
22 * last before getting here.
29 public static int Main() {
35 // Regression test for bug #59193 (shared runtime wrappers)
36 ConstructorInfo con1 = typeof (A).GetConstructor (BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type [1] { typeof (int) }, null);
37 ConstructorInfo con2 = typeof (B).GetConstructor (BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type [1] { typeof (int) }, null);
39 con1.Invoke (null, new Object [] { 0 });
40 con2.Invoke (null, new Object [] { 0 });