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-07-10 03:19:41 +0400
committerLluis Sanchez <lluis@novell.com>2004-07-10 03:19:41 +0400
commit5221e53fdab06ea1f64a567d6405dab53105152a (patch)
treebeffd3033eb2aeb3ca8d913ae22259fb69ec4e58 /mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs
parent447168e8c81b49f777ee45ffd7ea7dc4b366a11f (diff)
* CodeExporter.cs: Added private constructor.
* CodeGenerationOptions.cs: Set the correct enum values. * CodeIdentifier.cs: Added private constructor. * SchemaImporter.cs: Added internal constructor. * XmlMapping.cs, XmlSerializer.cs: 2.0 api fix. * XmlMemberMapping.cs, XmlSchemaImporter.cs, XmlSerializationWriter.cs: Added 2.0 stubs. * XmlSchemaProviderAttribute.cs, XmlSerializerAssemblyAttribute.cs, XmlSerializerVersionAttribute.cs: Set correct attribute usage. * XmlSerializationReader.cs: Added missing setter for DecodeName. svn path=/trunk/mcs/; revision=30970
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs')
-rw-r--r--mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs27
1 files changed, 24 insertions, 3 deletions
diff --git a/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs b/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs
index bf667d8eb4f..ea6cbc603e9 100644
--- a/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs
+++ b/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs
@@ -33,9 +33,13 @@ using System.Xml;
using System.Xml.Schema;
using System.Collections;
-namespace System.Xml.Serialization {
- public class XmlSchemaImporter {
-
+namespace System.Xml.Serialization
+{
+ public class XmlSchemaImporter
+#if NET_2_0
+ : SchemaImporter
+#endif
+ {
#region Fields
XmlSchemas schemas;
@@ -80,6 +84,23 @@ namespace System.Xml.Serialization {
this.typeIdentifiers = typeIdentifiers;
}
+#if NET_2_0
+ [MonoTODO]
+ public XmlSchemaImporter (XmlSchemas schemas, CodeGenerationOptions options, System.CodeDom.Compiler.ICodeGenerator codeGenerator, ImportContext context)
+ {
+ }
+
+ [MonoTODO]
+ public XmlSchemaImporter (XmlSchemas schemas, CodeGenerationOptions options, ImportContext context)
+ {
+ }
+
+ [MonoTODO]
+ public XmlSchemaImporter (XmlSchemas schemas, CodeIdentifiers typeIdentifiers, CodeGenerationOptions options)
+ {
+ }
+#endif
+
internal bool UseEncodedFormat
{
get { return encodedFormat; }