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-389.cs
parentc4aef31eeea309e6a795c84c098ac8e1a2490340 (diff)
fix naming convention.
svn path=/trunk/mcs/; revision=56376
Diffstat (limited to 'mcs/tests/support-389.cs')
-rw-r--r--mcs/tests/support-389.cs43
1 files changed, 43 insertions, 0 deletions
diff --git a/mcs/tests/support-389.cs b/mcs/tests/support-389.cs
new file mode 100644
index 00000000000..a4e89a1c7a7
--- /dev/null
+++ b/mcs/tests/support-389.cs
@@ -0,0 +1,43 @@
+// This is used to debug an ordering dependent bug.
+//
+
+namespace Schemas {
+ [System.Xml.Serialization.XmlType("base-field-type"),
+ System.Xml.Serialization.XmlInclude(typeof(compoundfield)),
+ System.Xml.Serialization.XmlInclude(typeof(fieldtype))]
+ public partial class basefieldtype {
+
+ [System.Xml.Serialization.XmlAttribute(DataType="ID")]
+ public string id;
+
+ [System.Xml.Serialization.XmlAttribute()]
+ public string datatype;
+ }
+
+ [System.Xml.Serialization.XmlType("field-type")]
+ public partial class fieldtype: basefieldtype {}
+
+ [System.Xml.Serialization.XmlType("compound-field")]
+ public partial class compoundfield: basefieldtype {}
+
+ public partial class field {
+
+ [System.Xml.Serialization.XmlAttribute()]
+ public string id;
+
+ [System.Xml.Serialization.XmlAttribute()]
+ public string type;
+ }
+
+ [System.Xml.Serialization.XmlType("form-data")]
+ public partial class formdata {
+
+ [System.Xml.Serialization.XmlArray(ElementName="form-fields"),
+ System.Xml.Serialization.XmlArrayItem(Type=typeof(field),IsNullable=false)]
+ public field[] formfields;
+
+ [System.Xml.Serialization.XmlElement("field-type",Type=typeof(fieldtype)),
+ System.Xml.Serialization.XmlElement("compound-field",Type=typeof(compoundfield))]
+ public basefieldtype[] Items;
+ }
+}