16 references to DefaultValue
System.Configuration (7)
System\Configuration\ConfigurationElement.cs (6)
642Object.Equals(compareToElem.Values[configProperty.Name], configProperty.DefaultValue)) || 645Object.Equals(Values[configProperty.Name], configProperty.DefaultValue)))) 694o = prop.DefaultValue; 1056if (prop.DefaultValue != null) { 1057value = prop.DefaultValue; // need to make sure required properties are persisted 1067value2 = prop.DefaultValue;
System\Configuration\PropertyInformation.cs (1)
71return Prop.DefaultValue;
System.ServiceModel (1)
System\ServiceModel\Configuration\ServiceModelConfigurationElement.cs (1)
27if (!object.Equals(value, configurationProperty.DefaultValue))
System.Web (4)
Configuration\FormsAuthenticationConfiguration.cs (4)
237base[_propName] = _propName.DefaultValue; 253base[_propLoginUrl] = _propLoginUrl.DefaultValue; 269base[_propDefaultUrl] = _propDefaultUrl.DefaultValue; 307base[_propPath] = _propPath.DefaultValue;
System.Web.Extensions (4)
Configuration\ScriptingJsonSerializationSection.cs (2)
98_recusionLimit = (int)_propRecursionLimitLimit.DefaultValue; 99_maxJsonLimit = (int)_propMaxJsonLength.DefaultValue;
Configuration\ScriptingScriptResourceHandlerSection.cs (2)
77s_enableCaching = (bool)_propEnableCaching.DefaultValue; 78s_enableCompression = (bool)_propEnableCompression.DefaultValue;