Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-388-p2.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 282ec3cc86d732ec20c2f81a29dd90749df03efd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// This is used to debug an ordering dependent bug.  The counterpart is test-388.cs.
//

using System;
using System.Collections;
using System.Reflection;

namespace Schemas
{
	public partial class basefieldtype
	{
		public virtual object Instantiate () { return null; }
	}

	public partial class fieldtype
	{
		public override object Instantiate ()
		{
			Console.WriteLine ("Instantiating type '{0}'", id);
			return null;
		}
	}

	public partial class compoundfield
	{
		public override object Instantiate ()
		{
			Console.WriteLine ("Instantiating compound field '{0}'", id);
			return null;
		}
	}

	public partial class field
	{
		public object Instantiate ()
		{
			Console.WriteLine ("Instantiating field '{0}'", id);
			return null;
		}
	}
	
	public partial class formdata
	{
		public object Instantiate ()
		{
			Console.WriteLine ("Instantiating form window");
			return null;
		}
	}
}