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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@novell.com>2004-11-30 12:02:13 +0300
committerLluis Sanchez <lluis@novell.com>2004-11-30 12:02:13 +0300
commitefb43a36d5cdab98584bd62e3ed70525981891ef (patch)
tree155d0e8e5fcb2b4d44b43f5af0bfe02b267c407a /mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs
parent3f3277ea0fc5b1729054767c63df2224edffc37f (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.cs5
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);