57 instantiations of ConfigurationProperty
System.Configuration.ConfigurationManager (52)
System\Configuration\AppSettingsSection.cs (2)
46ConfigurationProperty propAppSettings = new ConfigurationProperty( 52ConfigurationProperty propFile = new ConfigurationProperty(
System\Configuration\ClientSettingsSection.cs (1)
11private static readonly ConfigurationProperty s_propSettings = new ConfigurationProperty(null, typeof(SettingElementCollection), null, ConfigurationPropertyOptions.IsDefaultCollection);
System\Configuration\ConfigurationElement.cs (1)
772result = new ConfigurationProperty(propertyInformation);
System\Configuration\ConnectionStringSettings.cs (3)
9new ConfigurationProperty("name", typeof(string), null, null, 14new ConfigurationProperty("connectionString", typeof(string), "", ConfigurationPropertyOptions.IsRequired); 17new ConfigurationProperty("providerName", typeof(string), string.Empty, ConfigurationPropertyOptions.None);
System\Configuration\ConnectionStringsSection.cs (1)
9new ConfigurationProperty(null, typeof(ConnectionStringSettingsCollection), null,
System\Configuration\DateTimeConfigurationElement.cs (1)
9new ConfigurationProperty("value", typeof(DateTime), DateTime.MinValue, ConfigurationPropertyOptions.IsKey);
System\Configuration\IdnElement.cs (1)
16new ConfigurationProperty(CommonConfigurationStrings.Enabled, typeof(UriIdnScope),
System\Configuration\IriParsingElement.cs (1)
13new ConfigurationProperty(CommonConfigurationStrings.Enabled, typeof(bool), EnabledDefaultValue,
System\Configuration\KeyValueConfigurationElement.cs (2)
9new ConfigurationProperty("key", typeof(string), string.Empty, 13new ConfigurationProperty("value", typeof(string), string.Empty, ConfigurationPropertyOptions.None);
System\Configuration\NameValueConfigurationElement.cs (2)
9new ConfigurationProperty("name", typeof(string), string.Empty, ConfigurationPropertyOptions.IsKey); 12new ConfigurationProperty("value", typeof(string), string.Empty, ConfigurationPropertyOptions.None);
System\Configuration\ProtectedConfigurationSection.cs (2)
15new ConfigurationProperty("providers", 21new ConfigurationProperty("defaultProvider",
System\Configuration\ProtectedProviderSettings.cs (1)
9new ConfigurationProperty(
System\Configuration\ProviderSettings.cs (4)
14new ConfigurationProperty("name", 21private readonly ConfigurationProperty _propType = new ConfigurationProperty("type", typeof(string), "", 171setPropName = new ConfigurationProperty(propName, typeof(string), null); 181ConfigurationProperty propName = new ConfigurationProperty(name, typeof(string), value);
System\Configuration\SchemeSettingElement.cs (2)
8private static readonly ConfigurationProperty s_name = new ConfigurationProperty(CommonConfigurationStrings.SchemeName, typeof(string), null, 10private static readonly ConfigurationProperty s_genericUriParserOptions = new ConfigurationProperty(CommonConfigurationStrings.GenericUriParserOptions,
System\Configuration\SettingElement.cs (3)
10private static readonly ConfigurationProperty s_propName = new ConfigurationProperty( 15private static readonly ConfigurationProperty s_propSerializeAs = new ConfigurationProperty( 20private static readonly ConfigurationProperty s_propValue = new ConfigurationProperty(
System\Configuration\UriSection.cs (3)
10private static readonly ConfigurationProperty _idn = new ConfigurationProperty(CommonConfigurationStrings.Idn, 13private static readonly ConfigurationProperty _iriParsing = new ConfigurationProperty( 17new ConfigurationProperty(CommonConfigurationStrings.SchemeSettings,
System\Diagnostics\ListenerElementsCollection.cs (4)
81private static readonly ConfigurationProperty s_propFilter = new("filter", typeof(FilterElement), null, ConfigurationPropertyOptions.None); 82private static readonly ConfigurationProperty s_propName = new("name", typeof(string), null, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey); 83private static readonly ConfigurationProperty s_propOutputOpts = new("traceOutputOptions", typeof(TraceOptions), TraceOptions.None, ConfigurationPropertyOptions.None); 100_propListenerTypeName = new ConfigurationProperty("type", typeof(string), null, flags);
System\Diagnostics\SourceElementsCollection.cs (5)
36private static readonly ConfigurationProperty _propName = new("name", typeof(string), "", ConfigurationPropertyOptions.IsRequired); 37private static readonly ConfigurationProperty _propSwitchName = new("switchName", typeof(string), null, ConfigurationPropertyOptions.None); 38private static readonly ConfigurationProperty _propSwitchValue = new("switchValue", typeof(string), null, ConfigurationPropertyOptions.None); 39private static readonly ConfigurationProperty _propSwitchType = new("switchType", typeof(string), null, ConfigurationPropertyOptions.None); 40private static readonly ConfigurationProperty _propListeners = new("listeners", typeof(ListenerElementsCollection), new ListenerElementsCollection(), ConfigurationPropertyOptions.None);
System\Diagnostics\SwitchElementsCollection.cs (2)
23private static readonly ConfigurationProperty _propName = new("name", typeof(string), "", ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey); 24private static readonly ConfigurationProperty _propValue = new("value", typeof(string), null, ConfigurationPropertyOptions.IsRequired);
System\Diagnostics\SystemDiagnosticsSection.cs (4)
11private static readonly ConfigurationProperty s_propSources = new("sources", typeof(SourceElementsCollection), new SourceElementsCollection(), ConfigurationPropertyOptions.None); 12private static readonly ConfigurationProperty s_propSharedListeners = new("sharedListeners", typeof(SharedListenerElementsCollection), new SharedListenerElementsCollection(), ConfigurationPropertyOptions.None); 13private static readonly ConfigurationProperty s_propSwitches = new("switches", typeof(SwitchElementsCollection), new SwitchElementsCollection(), ConfigurationPropertyOptions.None); 14private static readonly ConfigurationProperty s_propTrace = new("trace", typeof(TraceSection), new TraceSection(), ConfigurationPropertyOptions.None);
System\Diagnostics\TraceSection.cs (4)
11private static readonly ConfigurationProperty s_propListeners = new("listeners", typeof(ListenerElementsCollection), null, ConfigurationPropertyOptions.None); 12private static readonly ConfigurationProperty s_propAutoFlush = new("autoflush", typeof(bool), false, ConfigurationPropertyOptions.None); 13private static readonly ConfigurationProperty s_propIndentSize = new("indentsize", typeof(int), 4, ConfigurationPropertyOptions.None); 14private static readonly ConfigurationProperty s_propUseGlobalLock = new("useGlobalLock", typeof(bool), true, ConfigurationPropertyOptions.None);
System\Diagnostics\TypedElement.cs (2)
9protected static readonly ConfigurationProperty s_propTypeName = new("type", typeof(string), string.Empty, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsTypeStringTransformationRequired); 10protected static readonly ConfigurationProperty s_propInitData = new("initializeData", typeof(string), string.Empty, ConfigurationPropertyOptions.None);
System\Drawing\Configuration\SystemDrawingSection.cs (1)
26new ConfigurationProperty(BitmapSuffixSectionName, typeof(string), null, ConfigurationPropertyOptions.None);
System.Runtime.Caching (5)
System\Runtime\Caching\Configuration\MemoryCacheElement.cs (4)
17new ConfigurationProperty("name", 25new ConfigurationProperty("physicalMemoryLimitPercentage", 32new ConfigurationProperty("cacheMemoryLimitMegabytes", 39new ConfigurationProperty("pollingInterval",
System\Runtime\Caching\Configuration\MemoryCacheSection.cs (1)
29private static readonly ConfigurationProperty s_propNamedCaches = new ConfigurationProperty("namedCaches",
114 references to ConfigurationProperty
System.Configuration (1)
System.Configuration.cs (1)
26[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Configuration.ConfigurationProperty))]
System.Configuration.ConfigurationManager (108)
System\Configuration\AppSettingsSection.cs (4)
13private static volatile ConfigurationProperty s_propAppSettings; 14private static volatile ConfigurationProperty s_propFile; 46ConfigurationProperty propAppSettings = new ConfigurationProperty( 52ConfigurationProperty propFile = new ConfigurationProperty(
System\Configuration\ClientSettingsSection.cs (1)
11private static readonly ConfigurationProperty s_propSettings = new ConfigurationProperty(null, typeof(SettingElementCollection), null, ConfigurationPropertyOptions.IsDefaultCollection);
System\Configuration\ConfigurationElement.cs (30)
114protected internal object this[ConfigurationProperty prop] 172ConfigurationProperty prop = Properties[propertyName]; 345foreach (ConfigurationProperty prop in Properties) 377ConfigurationProperty prop = 454foreach (ConfigurationProperty prop in Properties) 624ConfigurationProperty prop = parentElement.Properties[key]; 660ConfigurationProperty prop = parentElement.Properties[key]; 681foreach (ConfigurationProperty configProperty in Properties) 701foreach (ConfigurationProperty configProperty in Properties) 753ConfigurationProperty property = CreateConfigurationPropertyFromAttributes(propertyInformation); 760private static ConfigurationProperty CreateConfigurationPropertyFromAttributes(PropertyInfo propertyInformation) 764ConfigurationProperty result = null; 827protected void SetPropertyValue(ConfigurationProperty prop, object value, bool ignoreLocks) 920ConfigurationProperty prop = sourceElement.Properties[key]; 939foreach (ConfigurationProperty prop in Properties) 994foreach (ConfigurationProperty prop in Properties) 1053ConfigurationProperty prop = props[key]; 1135ConfigurationProperty prop = props[key]; 1149if (prop.Name != ConfigurationProperty.DefaultCollectionPropertyName) 1218ConfigurationProperty validProp = (ConfigurationProperty)prop; 1313ConfigurationProperty propToLock = Properties[attribToLockTrim]; 1395ConfigurationProperty defaultCollectionProperty = props?.DefaultCollectionProperty; 1434ConfigurationProperty prop = props?[propertyName]; 1509ConfigurationProperty prop = props?[propertyName]; 1641ConfigurationProperty propToLock = Properties[key]; 1646foreach (ConfigurationProperty prop in Properties) 1681foreach (ConfigurationProperty prop in Properties) 1708private static object DeserializePropertyValue(ConfigurationProperty prop, XmlReader reader) 1819foreach (ConfigurationProperty prop in props)
System\Configuration\ConfigurationLockCollection.cs (1)
134ConfigurationProperty propToLock = _thisElement.Properties[attribToLockTrim];
System\Configuration\ConfigurationPropertyCollection.cs (12)
12internal ConfigurationProperty DefaultCollectionProperty 13=> this[ConfigurationProperty.DefaultCollectionPropertyName]; 15public ConfigurationProperty this[string name] 21ConfigurationProperty cp = (ConfigurationProperty)_items[index]; 22if (cp.Name == name) return (ConfigurationProperty)_items[index]; 44public void CopyTo(ConfigurationProperty[] array, int index) 53ConfigurationProperty cp = (ConfigurationProperty)_items[index]; 59public void Add(ConfigurationProperty property) 68ConfigurationProperty cp = (ConfigurationProperty)_items[index];
System\Configuration\ConfigurationSection.cs (1)
80protected internal virtual bool ShouldSerializePropertyInTargetVersion(ConfigurationProperty property,
System\Configuration\ConnectionStringSettings.cs (4)
8private static readonly ConfigurationProperty s_propName = 10ConfigurationProperty.s_nonEmptyStringValidator, 13private static readonly ConfigurationProperty s_propConnectionString = 16private static readonly ConfigurationProperty s_propProviderName =
System\Configuration\ConnectionStringsSection.cs (1)
8private static readonly ConfigurationProperty s_propConnectionStrings =
System\Configuration\DateTimeConfigurationElement.cs (1)
8private static readonly ConfigurationProperty s_propValue =
System\Configuration\IdnElement.cs (1)
15private readonly ConfigurationProperty _enabled =
System\Configuration\IriParsingElement.cs (1)
12private readonly ConfigurationProperty _enabled =
System\Configuration\KeyValueConfigurationElement.cs (2)
8private static readonly ConfigurationProperty s_propKey = 12private static readonly ConfigurationProperty s_propValue =
System\Configuration\NameValueConfigurationElement.cs (2)
8private static readonly ConfigurationProperty s_propName = 11private static readonly ConfigurationProperty s_propValue =
System\Configuration\PropertyInformation.cs (2)
11private ConfigurationProperty _prop; 21private ConfigurationProperty Prop => _prop ??= _thisElement.Properties[Name];
System\Configuration\PropertyInformationCollection.cs (2)
15foreach (ConfigurationProperty prop in thisElement1.Properties) 31(PropertyInformation)BaseGet(ConfigurationProperty.DefaultCollectionPropertyName);
System\Configuration\ProtectedConfigurationSection.cs (3)
14private static readonly ConfigurationProperty s_propProviders = 20private static readonly ConfigurationProperty s_propDefaultProvider = 25validator: ConfigurationProperty.s_nonEmptyStringValidator,
System\Configuration\ProtectedProviderSettings.cs (1)
8private readonly ConfigurationProperty _propProviders =
System\Configuration\ProviderSettings.cs (9)
13private readonly ConfigurationProperty _propName = 18ConfigurationProperty.s_nonEmptyStringValidator, 21private readonly ConfigurationProperty _propType = new ConfigurationProperty("type", typeof(string), "", 73ConfigurationProperty prop = (ConfigurationProperty)de; 112foreach (ConfigurationProperty prop in _properties) 157ConfigurationProperty prop = _properties[propName]; 166ConfigurationProperty setPropName; 181ConfigurationProperty propName = new ConfigurationProperty(name, typeof(string), value);
System\Configuration\SchemeSettingElement.cs (2)
8private static readonly ConfigurationProperty s_name = new ConfigurationProperty(CommonConfigurationStrings.SchemeName, typeof(string), null, 10private static readonly ConfigurationProperty s_genericUriParserOptions = new ConfigurationProperty(CommonConfigurationStrings.GenericUriParserOptions,
System\Configuration\SettingElement.cs (3)
10private static readonly ConfigurationProperty s_propName = new ConfigurationProperty( 15private static readonly ConfigurationProperty s_propSerializeAs = new ConfigurationProperty( 20private static readonly ConfigurationProperty s_propValue = new ConfigurationProperty(
System\Configuration\UriSection.cs (3)
10private static readonly ConfigurationProperty _idn = new ConfigurationProperty(CommonConfigurationStrings.Idn, 13private static readonly ConfigurationProperty _iriParsing = new ConfigurationProperty( 16private static readonly ConfigurationProperty _schemeSettings =
System\Diagnostics\ListenerElementsCollection.cs (4)
81private static readonly ConfigurationProperty s_propFilter = new("filter", typeof(FilterElement), null, ConfigurationPropertyOptions.None); 82private static readonly ConfigurationProperty s_propName = new("name", typeof(string), null, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey); 83private static readonly ConfigurationProperty s_propOutputOpts = new("traceOutputOptions", typeof(TraceOptions), TraceOptions.None, ConfigurationPropertyOptions.None); 85private readonly ConfigurationProperty _propListenerTypeName;
System\Diagnostics\SourceElementsCollection.cs (5)
36private static readonly ConfigurationProperty _propName = new("name", typeof(string), "", ConfigurationPropertyOptions.IsRequired); 37private static readonly ConfigurationProperty _propSwitchName = new("switchName", typeof(string), null, ConfigurationPropertyOptions.None); 38private static readonly ConfigurationProperty _propSwitchValue = new("switchValue", typeof(string), null, ConfigurationPropertyOptions.None); 39private static readonly ConfigurationProperty _propSwitchType = new("switchType", typeof(string), null, ConfigurationPropertyOptions.None); 40private static readonly ConfigurationProperty _propListeners = new("listeners", typeof(ListenerElementsCollection), new ListenerElementsCollection(), ConfigurationPropertyOptions.None);
System\Diagnostics\SwitchElementsCollection.cs (2)
23private static readonly ConfigurationProperty _propName = new("name", typeof(string), "", ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey); 24private static readonly ConfigurationProperty _propValue = new("value", typeof(string), null, ConfigurationPropertyOptions.IsRequired);
System\Diagnostics\SystemDiagnosticsSection.cs (4)
11private static readonly ConfigurationProperty s_propSources = new("sources", typeof(SourceElementsCollection), new SourceElementsCollection(), ConfigurationPropertyOptions.None); 12private static readonly ConfigurationProperty s_propSharedListeners = new("sharedListeners", typeof(SharedListenerElementsCollection), new SharedListenerElementsCollection(), ConfigurationPropertyOptions.None); 13private static readonly ConfigurationProperty s_propSwitches = new("switches", typeof(SwitchElementsCollection), new SwitchElementsCollection(), ConfigurationPropertyOptions.None); 14private static readonly ConfigurationProperty s_propTrace = new("trace", typeof(TraceSection), new TraceSection(), ConfigurationPropertyOptions.None);
System\Diagnostics\TraceSection.cs (4)
11private static readonly ConfigurationProperty s_propListeners = new("listeners", typeof(ListenerElementsCollection), null, ConfigurationPropertyOptions.None); 12private static readonly ConfigurationProperty s_propAutoFlush = new("autoflush", typeof(bool), false, ConfigurationPropertyOptions.None); 13private static readonly ConfigurationProperty s_propIndentSize = new("indentsize", typeof(int), 4, ConfigurationPropertyOptions.None); 14private static readonly ConfigurationProperty s_propUseGlobalLock = new("useGlobalLock", typeof(bool), true, ConfigurationPropertyOptions.None);
System\Diagnostics\TypedElement.cs (2)
9protected static readonly ConfigurationProperty s_propTypeName = new("type", typeof(string), string.Empty, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsTypeStringTransformationRequired); 10protected static readonly ConfigurationProperty s_propInitData = new("initializeData", typeof(string), string.Empty, ConfigurationPropertyOptions.None);
System\Drawing\Configuration\SystemDrawingSection.cs (1)
25private static readonly ConfigurationProperty s_bitmapSuffix =
System.Runtime.Caching (5)
System\Runtime\Caching\Configuration\MemoryCacheElement.cs (4)
16private static readonly ConfigurationProperty s_propName = 24private static readonly ConfigurationProperty s_propPhysicalMemoryLimitPercentage = 31private static readonly ConfigurationProperty s_propCacheMemoryLimitMegabytes = 38private static readonly ConfigurationProperty s_propPollingInterval =
System\Runtime\Caching\Configuration\MemoryCacheSection.cs (1)
29private static readonly ConfigurationProperty s_propNamedCaches = new ConfigurationProperty("namedCaches",