+2004-11-30 Lluis Sanchez Gual <lluis@novell.com>
+
+ * XmlCodeExporter.cs, XmlSerializer.cs, XmlSchemaImporter.cs: Fixed some
+ compilation warnings.
+
2004-11-24 Lluis Sanchez Gual <lluis@novell.com>
* SerializationSource.cs: Made SerializationSource abstract, and
\r
CodeNamespace codeNamespace;\r
CodeCompileUnit codeCompileUnit;\r
- bool encodedFormat;\r
\r
#if NET_2_0\r
CodeGenerationOptions options;\r
bool encodedFormat = false;\r
XmlReflectionImporter auxXmlRefImporter;\r
SoapReflectionImporter auxSoapRefImporter;\r
- CodeGenerationOptions options;\r
bool anyTypeImported;\r
\r
+#if NET_2_0\r
+ CodeGenerationOptions options;\r
+#endif\r
+\r
static readonly XmlQualifiedName anyType = new XmlQualifiedName ("anyType",XmlSchema.Namespace);\r
static readonly XmlQualifiedName arrayType = new XmlQualifiedName ("Array",XmlSerializer.EncodingNamespace);\r
static readonly XmlQualifiedName arrayTypeRefName = new XmlQualifiedName ("arrayType",XmlSerializer.EncodingNamespace);\r
XmlMapping typeMapping;
SerializerData serializerData;
- Type writerType;
- Type readerType;
static Hashtable serializerTypes = new Hashtable ();
public Type WriterType;
public MethodInfo WriterMethod;
public GenerationBatch Batch;
- public IXmlSerializerImplementation Implementation;
+ public IXmlSerializerImplementation Implementation = null;
public XmlSerializationReader CreateReader () {
if (ReaderType != null)