11 writes to Options
System.Configuration.ConfigurationManager (11)
System\Configuration\ConfigurationPropertyAttribute.cs (6)
27
if (value)
Options
|= ConfigurationPropertyOptions.IsDefaultCollection;
29
Options
&= ~ConfigurationPropertyOptions.IsDefaultCollection;
38
if (value)
Options
|= ConfigurationPropertyOptions.IsRequired;
39
else
Options
&= ~ConfigurationPropertyOptions.IsRequired;
48
if (value)
Options
|= ConfigurationPropertyOptions.IsKey;
49
else
Options
&= ~ConfigurationPropertyOptions.IsKey;
System\Configuration\ConnectionStringSettings.cs (2)
43
Options
= ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey, DefaultValue = "")]
50
[ConfigurationProperty("connectionString",
Options
= ConfigurationPropertyOptions.IsRequired, DefaultValue = "")]
System\Configuration\ConnectionStringsSection.cs (1)
16
[ConfigurationProperty("",
Options
= ConfigurationPropertyOptions.IsDefaultCollection)]
System\Configuration\KeyValueConfigurationElement.cs (1)
33
[ConfigurationProperty("key",
Options
= ConfigurationPropertyOptions.IsKey, DefaultValue = "")]
System\Configuration\ProtectedProviderSettings.cs (1)
25
[ConfigurationProperty("", IsDefaultCollection = true,
Options
= ConfigurationPropertyOptions.IsDefaultCollection)]
4 references to Options
System.Configuration.ConfigurationManager (4)
System\Configuration\ConfigurationProperty.cs (1)
154
propertyAttribute.
Options
,
System\Configuration\ConfigurationPropertyAttribute.cs (3)
24
get { return (
Options
& ConfigurationPropertyOptions.IsDefaultCollection) != 0; }
35
get { return (
Options
& ConfigurationPropertyOptions.IsRequired) != 0; }
45
get { return (
Options
& ConfigurationPropertyOptions.IsKey) != 0; }