2 writes to DefaultValue
System (2)
sys\system\configuration\ApplicationSettingsBase.cs (2)
420sp.DefaultValue = ((DefaultSettingValueAttribute)attr).Value; 532_init.DefaultValue = null;
16 references to DefaultValue
System (11)
sys\system\configuration\LocalFileSettingsProvider.cs (5)
114else if (setting.DefaultValue != null && setting.DefaultValue is string) { 115value.PropertyValue = setting.DefaultValue; 149else if (setting.DefaultValue != null) { 150value.SerializedValue = setting.DefaultValue;
sys\system\configuration\SettingsProperty.cs (1)
64_DefaultValue = propertyToCopy.DefaultValue;
sys\system\configuration\SettingsPropertyValue.cs (5)
141if (Property.DefaultValue == null || Property.DefaultValue.ToString() == "[null]") { 147if (!(Property.DefaultValue is string)) { 148val = Property.DefaultValue; 151val = GetObjectFromString(Property.PropertyType, Property.SerializeAs, (string)Property.DefaultValue);
System.Web.Extensions (5)
ApplicationServices\ApplicationServiceHelper.cs (4)
189if (property.DefaultValue != null) { 190if (property.DefaultValue is string) { 191defaultValue = (string)property.DefaultValue; 194defaultValue = Convert.ToBase64String((byte[])property.DefaultValue);
ClientServices\Providers\ClientSettingsProvider.cs (1)
939value.SerializedValue = prop.DefaultValue;