1 // This is used to debug an ordering dependent bug.
3 // Compiler options: support-388.cs -out:test-388.exe
6 [System
.Xml
.Serialization
.XmlType("base-field-type"),
7 System
.Xml
.Serialization
.XmlInclude(typeof(compoundfield
)),
8 System
.Xml
.Serialization
.XmlInclude(typeof(fieldtype
))]
9 public partial class basefieldtype
{
11 [System
.Xml
.Serialization
.XmlAttribute(DataType
="ID")]
14 [System
.Xml
.Serialization
.XmlAttribute()]
15 public string datatype
;
18 [System
.Xml
.Serialization
.XmlType("field-type")]
19 public partial class fieldtype
: basefieldtype
{}
21 [System
.Xml
.Serialization
.XmlType("compound-field")]
22 public partial class compoundfield
: basefieldtype
{}
24 public partial class field
{
26 [System
.Xml
.Serialization
.XmlAttribute()]
29 [System
.Xml
.Serialization
.XmlAttribute()]
33 [System
.Xml
.Serialization
.XmlType("form-data")]
34 public partial class formdata
{
36 [System
.Xml
.Serialization
.XmlArray(ElementName
="form-fields"),
37 System
.Xml
.Serialization
.XmlArrayItem(Type
=typeof(field
),IsNullable
=false)]
38 public field
[] formfields
;
40 [System
.Xml
.Serialization
.XmlElement("field-type",Type
=typeof(fieldtype
)),
41 System
.Xml
.Serialization
.XmlElement("compound-field",Type
=typeof(compoundfield
))]
42 public basefieldtype
[] Items
;
46 public static void Main () {}