From: Vladimir Krasnov Date: Wed, 20 Sep 2006 07:47:03 +0000 (-0000) Subject: * XmlTypeAttribute.cs: added property AnonymousType for 2.0 X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=213bc960d483a4de27f363c5c78d57b8da0b8182;p=mono.git * XmlTypeAttribute.cs: added property AnonymousType for 2.0 svn path=/trunk/mcs/; revision=65699 --- diff --git a/mcs/class/System.XML/System.Xml.Serialization/ChangeLog b/mcs/class/System.XML/System.Xml.Serialization/ChangeLog index cb908a51dbb..a692b1ffc4a 100644 --- a/mcs/class/System.XML/System.Xml.Serialization/ChangeLog +++ b/mcs/class/System.XML/System.Xml.Serialization/ChangeLog @@ -1,3 +1,7 @@ +2006-09-20 Vladimir Krasnov + + * XmlTypeAttribute.cs: added property AnonymousType for 2.0 + 2006-09-12 Lluis Sanchez Gual * System.Xml.Serialization/XmlSchemaImporter.cs: Added null check. diff --git a/mcs/class/System.XML/System.Xml.Serialization/XmlTypeAttribute.cs b/mcs/class/System.XML/System.Xml.Serialization/XmlTypeAttribute.cs index 464fb2ee4f5..1346421ce34 100644 --- a/mcs/class/System.XML/System.Xml.Serialization/XmlTypeAttribute.cs +++ b/mcs/class/System.XML/System.Xml.Serialization/XmlTypeAttribute.cs @@ -52,6 +52,14 @@ namespace System.Xml.Serialization this.typeName = typeName; } +#if NET_2_0 + private bool anonymousType = false; + public bool AnonymousType + { + get { return anonymousType; } + set { anonymousType = value; } + } +#endif public bool IncludeInSchema { get { return includeInSchema; } set { includeInSchema = value; }