Remove profanity
[mono.git] / mcs / class / System / System.Configuration / SettingElement.cs
index 254c581b30f922c6b20cc54bad7bc2b80ca3c8f8..2a711689493251c6ee6350c3534782e8a33a9db8 100644 (file)
@@ -26,7 +26,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 using System;
 
 namespace System.Configuration
@@ -44,7 +43,7 @@ namespace System.Configuration
                static SettingElement ()
                {
 #if CONFIGURATION_DEP
-                       name_prop = new ConfigurationProperty ("name", typeof (string), null, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
+                       name_prop = new ConfigurationProperty ("name", typeof (string), String.Empty, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
                        serialize_as_prop = new ConfigurationProperty ("serializeAs", typeof (SettingsSerializeAs), null, ConfigurationPropertyOptions.IsRequired);
                        value_prop = new ConfigurationProperty ("value", typeof (SettingValueElement), null, ConfigurationPropertyOptions.IsRequired);
                        properties = new ConfigurationPropertyCollection ();
@@ -117,4 +116,3 @@ namespace System.Configuration
 
 }
 
-#endif