11 writes to Options
System.Configuration.ConfigurationManager (11)
System\Configuration\ConfigurationPropertyAttribute.cs (6)
27if (value) Options |= ConfigurationPropertyOptions.IsDefaultCollection; 29Options &= ~ConfigurationPropertyOptions.IsDefaultCollection; 38if (value) Options |= ConfigurationPropertyOptions.IsRequired; 39else Options &= ~ConfigurationPropertyOptions.IsRequired; 48if (value) Options |= ConfigurationPropertyOptions.IsKey; 49else Options &= ~ConfigurationPropertyOptions.IsKey;
System\Configuration\ConnectionStringSettings.cs (2)
43Options = 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)
154propertyAttribute.Options,
System\Configuration\ConfigurationPropertyAttribute.cs (3)
24get { return (Options & ConfigurationPropertyOptions.IsDefaultCollection) != 0; } 35get { return (Options & ConfigurationPropertyOptions.IsRequired) != 0; } 45get { return (Options & ConfigurationPropertyOptions.IsKey) != 0; }