Ver Fonte

Use XML_DEP

svn path=/trunk/mcs/; revision=32412
Duncan Mak há 21 anos atrás
pai
commit
027d1f6d3d

+ 4 - 1
mcs/class/System/System.Configuration/ChangeLog

@@ -271,4 +271,7 @@
 
 2001-08-26  Christopher Podurgiel <[email protected]>
 
-	* ConfigurationSettings.cs: No longer references the NameValueSectionHandler 	  directly.  Instead it uses System.Reflection to call the Create() method 		  for the appropriate SectionHandler as defined in the .config file.
+	* ConfigurationSettings.cs: No longer references the
+	NameValueSectionHandler directly.  Instead it uses
+	System.Reflection to call the Create() method for the appropriate
+	SectionHandler as defined in the .config file.

+ 2 - 0
mcs/class/System/System.Configuration/ConfigurationSection.cs

@@ -27,6 +27,7 @@
 //
 
 #if NET_2_0
+#if XML_DEP
 using System.Collections;
 using System.Xml;
 
@@ -172,3 +173,4 @@ namespace System.Configuration
         }
 }
 #endif
+#endif

+ 2 - 0
mcs/class/System/System.Configuration/ConnectionStringsSection.cs

@@ -27,6 +27,7 @@
 //
 
 #if NET_2_0
+#if XML_DEP
 using System;
 
 namespace System.Configuration {
@@ -58,3 +59,4 @@ namespace System.Configuration {
         }
 }
 #endif
+#endif