Unit test for issue 2907, from Josef Semmler's attachment at https://bugzilla.xamarin...
[mono.git] / mono / tests / bug-2907i-lib.cs
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 //     This code was generated by a tool.
4 //     Runtime Version:4.0.30319.239
5 //
6 //     Changes to this file may cause incorrect behavior and will be lost if
7 //     the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 using System.Xml.Serialization;
12
13 // 
14 // This source code was auto-generated by xsd, Version=4.0.30319.1.
15 // 
16
17
18 /// <remarks/>
19 [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
20 [System.SerializableAttribute()]
21 [System.Diagnostics.DebuggerStepThroughAttribute()]
22 [System.ComponentModel.DesignerCategoryAttribute("code")]
23 [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
24 [System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=false)]
25 public partial class TASK {
26     
27     private object itemField;
28     
29     private ItemChoiceType itemElementNameField;
30     
31     /// <remarks/>
32     [System.Xml.Serialization.XmlElementAttribute("OptionA", typeof(object), Order=0)]
33     [System.Xml.Serialization.XmlElementAttribute("OptionB", typeof(object), Order=0)]
34     [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
35     public object Item {
36         get {
37             return this.itemField;
38         }
39         set {
40             this.itemField = value;
41         }
42     }
43     
44     /// <remarks/>
45     [System.Xml.Serialization.XmlElementAttribute(Order=1)]
46     [System.Xml.Serialization.XmlIgnoreAttribute()]
47     public ItemChoiceType ItemElementName {
48         get {
49             return this.itemElementNameField;
50         }
51         set {
52             this.itemElementNameField = value;
53         }
54     }
55 }
56
57 /// <remarks/>
58 [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
59 [System.SerializableAttribute()]
60 [System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)]
61 public enum ItemChoiceType {
62     
63     /// <remarks/>
64     OptionA,
65     
66     /// <remarks/>
67     OptionB,
68 }
69