diff options
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs')
-rw-r--r-- | mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs | 6 |
1 files changed, 3 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 9fe70aace54..892c5c9efee 100644 --- a/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs +++ b/mcs/class/System.XML/System.Xml.Serialization/XmlSchemaImporter.cs @@ -36,7 +36,7 @@ using System.CodeDom.Compiler; using System.Xml.Schema; using System.Collections; using System.Collections.Generic; -#if NET_2_0 && CONFIGURATION_DEP +#if CONFIGURATION_DEP using System.Configuration; using System.Xml.Serialization.Configuration; #endif @@ -44,7 +44,7 @@ using System.Xml.Serialization.Configuration; namespace System.Xml.Serialization { public class XmlSchemaImporter -#if NET_2_0 && !MOBILE +#if !MOBILE : SchemaImporter #endif { @@ -161,7 +161,7 @@ namespace System.Xml.Serialization void InitializeExtensions () { -#if NET_2_0 && CONFIGURATION_DEP +#if CONFIGURATION_DEP SerializationSectionGroup root = ConfigurationManager.GetSection ("system.xml.serialization") as SerializationSectionGroup; if (root == null) return; |