4 writes to DefaultValue
System.Configuration.ConfigurationManager (4)
System\Configuration\ApplicationSettingsBase.cs (2)
461settingsProperty.DefaultValue = ((DefaultSettingValueAttribute)attribute).Value; 591_init.DefaultValue = null;
System\Configuration\SettingsProperty.cs (2)
41DefaultValue = defaultValue; 68DefaultValue = propertyToCopy.DefaultValue;
11 references to DefaultValue
System.Configuration.ConfigurationManager (11)
System\Configuration\LocalFileSettingsProvider.cs (5)
89else if (setting.DefaultValue != null && setting.DefaultValue is string) 91value.PropertyValue = setting.DefaultValue; 129else if (setting.DefaultValue != null) 131value.SerializedValue = setting.DefaultValue;
System\Configuration\SettingsProperty.cs (1)
68DefaultValue = propertyToCopy.DefaultValue;
System\Configuration\SettingsPropertyValue.cs (5)
126if (Property.DefaultValue == null || Property.DefaultValue.ToString() == "[null]") 133if (!(Property.DefaultValue is string)) 135value = Property.DefaultValue; 141value = GetObjectFromString(Property.PropertyType, Property.SerializeAs, (string)Property.DefaultValue);