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

support-389.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a4e89a1c7a774fa6f286dd4af8c629ab6b859ab7 (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
// 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;
    }
}