[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-389.cs
blob22a13cffa825f8dd1a464f19460caaf253023295
1 // This is used to debug an ordering dependent bug.
2 //
3 // Compiler options: support-389.cs -out:test-389.exe
5 using System;
6 using System.Collections;
7 using System.Reflection;
9 namespace Schemas
11 public partial class basefieldtype
13 public virtual object Instantiate () { return null; }
16 public partial class fieldtype
18 public override object Instantiate ()
20 Console.WriteLine ("Instantiating type '{0}'", id);
21 return null;
25 public partial class compoundfield
27 public override object Instantiate ()
29 Console.WriteLine ("Instantiating compound field '{0}'", id);
30 return null;
34 public partial class field
36 public object Instantiate ()
38 Console.WriteLine ("Instantiating field '{0}'", id);
39 return null;
43 public partial class formdata
45 public object Instantiate ()
47 Console.WriteLine ("Instantiating form window");
48 return null;
52 public class M {
53 public static void Main () {}