Browse Source

2005-11-04 Chris Toshok <[email protected]>

	* ApplicationSettingsBase.cs: remove unnecessary using.

	* SettingValueElement.cs: add XML_DEP's.


svn path=/trunk/mcs/; revision=52585
Chris Toshok 20 years ago
parent
commit
b1c3bf67db

+ 0 - 1
mcs/class/System/System.Configuration/ApplicationSettingsBase.cs

@@ -21,7 +21,6 @@
 //
 
 #if NET_2_0
-using System.Configuration.Provider;
 using System.ComponentModel;
 using System.Reflection;
 using System.Collections.Specialized;

+ 6 - 0
mcs/class/System/System.Configuration/ChangeLog

@@ -1,3 +1,9 @@
+2005-11-04  Chris Toshok  <[email protected]>
+
+	* ApplicationSettingsBase.cs: remove unnecessary using.
+
+	* SettingValueElement.cs: add XML_DEP's.
+
 2005-11-03  Chris Toshok  <[email protected]>
 
 	* ConfigurationSettings.cs: add ObsoleteAttribute's.

+ 6 - 0
mcs/class/System/System.Configuration/SettingValueElement.cs

@@ -28,7 +28,9 @@
 
 #if NET_2_0
 using System;
+#if (XML_DEP)
 using System.Xml;
+#endif
 
 namespace System.Configuration
 {
@@ -46,6 +48,7 @@ namespace System.Configuration
 			}
 		}
 
+#if (XML_DEP)
 		[MonoTODO]
 		public XmlNode ValueXml {
 			get {
@@ -60,6 +63,7 @@ namespace System.Configuration
 		{
 			throw new NotImplementedException ();
 		}
+#endif
 
 		public override bool Equals (object settingValue)
 		{
@@ -86,10 +90,12 @@ namespace System.Configuration
 			throw new NotImplementedException ();
 		}
 
+#if (XML_DEP)
 		protected override bool SerializeToXmlElement (XmlWriter writer, string elementName)
 		{
 			throw new NotImplementedException ();
 		}
+#endif
 
 		protected override void Unmerge (ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode)
 		{