Switch to compiler-tester
[mono.git] / mcs / tests / test-389.cs
1 // This is used to debug an ordering dependent bug.
2 //
3 // Compiler options: test-389-p2.cs /out:test-389.exe
4
5 using System;
6 using System.Collections;
7 using System.Reflection;
8
9 namespace Schemas
10 {
11         public partial class basefieldtype
12         {
13                 public virtual object Instantiate () { return null; }
14         }
15
16         public partial class fieldtype
17         {
18                 public override object Instantiate ()
19                 {
20                         Console.WriteLine ("Instantiating type '{0}'", id);
21                         return null;
22                 }
23         }
24
25         public partial class compoundfield
26         {
27                 public override object Instantiate ()
28                 {
29                         Console.WriteLine ("Instantiating compound field '{0}'", id);
30                         return null;
31                 }
32         }
33
34         public partial class field
35         {
36                 public object Instantiate ()
37                 {
38                         Console.WriteLine ("Instantiating field '{0}'", id);
39                         return null;
40                 }
41         }
42         
43         public partial class formdata
44         {
45                 public object Instantiate ()
46                 {
47                         Console.WriteLine ("Instantiating form window");
48                         return null;
49                 }
50         }\r
51         \r
52         public class M {\r
53             public static void Main () {}\r
54         }
55 }