* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / tests / support-388.cs
1 // This is used to debug an ordering dependent bug.  The counterpart is test-388.cs.
2 //
3
4 using System;
5 using System.Collections;
6 using System.Reflection;
7
8 namespace Schemas
9 {
10         public partial class basefieldtype
11         {
12                 public virtual object Instantiate () { return null; }
13         }
14
15         public partial class fieldtype
16         {
17                 public override object Instantiate ()
18                 {
19                         Console.WriteLine ("Instantiating type '{0}'", id);
20                         return null;
21                 }
22         }
23
24         public partial class compoundfield
25         {
26                 public override object Instantiate ()
27                 {
28                         Console.WriteLine ("Instantiating compound field '{0}'", id);
29                         return null;
30                 }
31         }
32
33         public partial class field
34         {
35                 public object Instantiate ()
36                 {
37                         Console.WriteLine ("Instantiating field '{0}'", id);
38                         return null;
39                 }
40         }
41         
42         public partial class formdata
43         {
44                 public object Instantiate ()
45                 {
46                         Console.WriteLine ("Instantiating form window");
47                         return null;
48                 }
49         }
50 }