diff options
author | Lluis Sanchez <lluis@novell.com> | 2004-11-30 12:02:13 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2004-11-30 12:02:13 +0300 |
commit | efb43a36d5cdab98584bd62e3ed70525981891ef (patch) | |
tree | 155d0e8e5fcb2b4d44b43f5af0bfe02b267c407a /mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs | |
parent | 3f3277ea0fc5b1729054767c63df2224edffc37f (diff) |
2004-11-30 Lluis Sanchez Gual <lluis@novell.com>
* XmlCodeExporter.cs, XmlSerializer.cs, XmlSchemaImporter.cs: Fixed some
compilation warnings.
svn path=/trunk/mcs/; revision=36831
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs')
-rw-r--r-- | mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs b/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs index a451a90b6eb..413fcfd5305 100644 --- a/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs +++ b/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs @@ -52,9 +52,12 @@ namespace System.Xml.Serialization bool encodedFormat = false;
XmlReflectionImporter auxXmlRefImporter;
SoapReflectionImporter auxSoapRefImporter;
- CodeGenerationOptions options;
bool anyTypeImported;
+#if NET_2_0
+ CodeGenerationOptions options;
+#endif
+
static readonly XmlQualifiedName anyType = new XmlQualifiedName ("anyType",XmlSchema.Namespace);
static readonly XmlQualifiedName arrayType = new XmlQualifiedName ("Array",XmlSerializer.EncodingNamespace);
static readonly XmlQualifiedName arrayTypeRefName = new XmlQualifiedName ("arrayType",XmlSerializer.EncodingNamespace);
|