diff options
author | Marek Safar <marek.safar@gmail.com> | 2012-06-08 15:48:08 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2012-06-08 15:48:08 +0400 |
commit | d5d4b9c22bd4fd51c560de8fa43bdf7340b03ef0 (patch) | |
tree | f7eac7f1387a9b2a64e7a9f5381d4064654329a3 /mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs | |
parent | 8566a284a278126c4f8254cda9ef09464ce312bc (diff) |
Fix some warnings
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs')
-rw-r--r-- | mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs b/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs index ec37b2f303e..fdcbc0e186f 100644 --- a/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs +++ b/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs @@ -62,9 +62,7 @@ namespace System.Xml.Serialization SoapReflectionImporter auxSoapRefImporter; bool anyTypeImported; -#if NET_2_0 - CodeGenerationOptions options; -#endif +// CodeGenerationOptions options; static readonly XmlQualifiedName anyType = new XmlQualifiedName ("anyType",XmlSchema.Namespace); static readonly XmlQualifiedName arrayType = new XmlQualifiedName ("Array",XmlSerializer.EncodingNamespace); @@ -99,13 +97,12 @@ namespace System.Xml.Serialization this.typeIdentifiers = typeIdentifiers; } -#if NET_2_0 #if !TARGET_JVM && !MOBILE [MonoTODO] public XmlSchemaImporter (XmlSchemas schemas, CodeGenerationOptions options, CodeDomProvider codeProvider, ImportContext context) { this.schemas = schemas; - this.options = options; +// this.options = options; if (context != null) { typeIdentifiers = context.TypeIdentifiers; InitSharedData (context); @@ -115,12 +112,12 @@ namespace System.Xml.Serialization InitializeExtensions (); } -#endif + [MonoTODO] public XmlSchemaImporter (XmlSchemas schemas, CodeGenerationOptions options, ImportContext context) { this.schemas = schemas; - this.options = options; +// this.options = options; if (context != null) { typeIdentifiers = context.TypeIdentifiers; InitSharedData (context); @@ -131,12 +128,12 @@ namespace System.Xml.Serialization InitializeExtensions (); } - + [MonoTODO] public XmlSchemaImporter (XmlSchemas schemas, CodeIdentifiers typeIdentifiers, CodeGenerationOptions options) { this.typeIdentifiers = typeIdentifiers; this.schemas = schemas; - this.options = options; +// this.options = options; InitializeExtensions (); } |