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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2006-02-01 12:42:39 +0300
committerRaja R Harinath <harinath@hurrynot.org>2006-02-01 12:42:39 +0300
commit9a9d0e121633094532e8231520d36a2d4fb0e6c9 (patch)
treea13700121e07e14f8f73f623f58d58f29770fecc /mcs/tests/support-388.cs
parentc4aef31eeea309e6a795c84c098ac8e1a2490340 (diff)
fix naming convention.
svn path=/trunk/mcs/; revision=56376
Diffstat (limited to 'mcs/tests/support-388.cs')
-rw-r--r--mcs/tests/support-388.cs50
1 files changed, 50 insertions, 0 deletions
diff --git a/mcs/tests/support-388.cs b/mcs/tests/support-388.cs
new file mode 100644
index 00000000000..282ec3cc86d
--- /dev/null
+++ b/mcs/tests/support-388.cs
@@ -0,0 +1,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;
+ }
+ }
+}