* XmlTypeAttribute.cs: added property AnonymousType for 2.0
[mono.git] / mcs / class / System.XML / System.Xml.Serialization / XmlTypeAttribute.cs
index 464fb2ee4f5c8525adc6abcc69d01bdf44bc4149..1346421ce34cbd6e5e44b034af853a3835456c64 100644 (file)
@@ -52,6 +52,14 @@ namespace System.Xml.Serialization
                        this.typeName = typeName;\r
                }\r
 \r
+#if NET_2_0\r
+               private bool anonymousType = false;\r
+               public bool AnonymousType\r
+               {\r
+                       get { return anonymousType; }\r
+                       set { anonymousType = value; }\r
+               }\r
+#endif\r
                public bool IncludeInSchema {\r
                        get { return includeInSchema; }\r
                        set { includeInSchema = value; }\r