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