16 references to IsKey
System.Configuration.ConfigurationManager (15)
System\Configuration\ConfigurationProperty.cs (1)
188public bool IsKey => (_options & ConfigurationPropertyOptions.IsKey) != 0;
System\Configuration\ConfigurationPropertyAttribute.cs (3)
45get { return (Options & ConfigurationPropertyOptions.IsKey) != 0; } 48if (value) Options |= ConfigurationPropertyOptions.IsKey; 49else Options &= ~ConfigurationPropertyOptions.IsKey;
System\Configuration\ConnectionStringSettings.cs (2)
11ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey); 43Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey, DefaultValue = "")]
System\Configuration\DateTimeConfigurationElement.cs (1)
9new ConfigurationProperty("value", typeof(DateTime), DateTime.MinValue, ConfigurationPropertyOptions.IsKey);
System\Configuration\KeyValueConfigurationElement.cs (2)
10ConfigurationPropertyOptions.IsKey | ConfigurationPropertyOptions.IsRequired); 33[ConfigurationProperty("key", Options = ConfigurationPropertyOptions.IsKey, DefaultValue = "")]
System\Configuration\NameValueConfigurationElement.cs (1)
9new ConfigurationProperty("name", typeof(string), string.Empty, ConfigurationPropertyOptions.IsKey);
System\Configuration\ProviderSettings.cs (1)
19ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
System\Configuration\SchemeSettingElement.cs (1)
9ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
System\Configuration\SettingElement.cs (1)
14ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
System\Diagnostics\ListenerElementsCollection.cs (1)
82private static readonly ConfigurationProperty s_propName = new("name", typeof(string), null, ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
System\Diagnostics\SwitchElementsCollection.cs (1)
23private static readonly ConfigurationProperty _propName = new("name", typeof(string), "", ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
System.Runtime.Caching (1)
System\Runtime\Caching\Configuration\MemoryCacheElement.cs (1)
23ConfigurationPropertyOptions.IsKey);