2 instantiations of OverrideModeSetting
System.Configuration.ConfigurationManager (2)
System\Configuration\OverrideModeSetting.cs (2)
28
internal static readonly OverrideModeSetting s_sectionDefault = new
OverrideModeSetting
{ _mode = (byte)OverrideMode.Allow };
31
internal static readonly OverrideModeSetting s_locationDefault = new
OverrideModeSetting
{ _mode = (byte)OverrideMode.Inherit };
53 references to OverrideModeSetting
System.Configuration.ConfigurationManager (53)
System\Configuration\BaseConfigurationRecord.cs (14)
1910
OverrideModeSetting
overrideModeDefault =
OverrideModeSetting
.s_sectionDefault;
1961
overrideModeDefault =
OverrideModeSetting
.CreateFromXmlReadValue(
1962
OverrideModeSetting
.ParseOverrideModeXmlValue(xmlUtil.Reader.Value, xmlUtil));
2317
ScanSectionsRecursive(xmlUtil, string.Empty, false, null,
OverrideModeSetting
.s_locationDefault, false);
2325
OverrideModeSetting
overrideMode,
2411
overrideModeDefault:
OverrideModeSetting
.s_sectionDefault,
2708
OverrideModeSetting
overrideMode =
OverrideModeSetting
.s_locationDefault;
2734
overrideMode =
OverrideModeSetting
.CreateFromXmlReadValue(value);
2747
overrideMode =
OverrideModeSetting
.CreateFromXmlReadValue(
2748
OverrideModeSetting
.ParseOverrideModeXmlValue(xmlUtil.Reader.Value, xmlUtil));
3389
null,
OverrideModeSetting
.s_locationDefault, false);
3683
overrideModeDefault:
OverrideModeSetting
.s_sectionDefault,
System\Configuration\ConfigDefinitionUpdates.cs (3)
21
internal LocationUpdates FindLocationUpdates(
OverrideModeSetting
overrideMode, bool inheritInChildApps)
24
if (
OverrideModeSetting
.CanUseSameLocationTag(locationUpdates.OverrideMode, overrideMode) &&
32
internal DefinitionUpdate AddUpdate(
OverrideModeSetting
overrideMode, bool inheritInChildApps, bool moved,
System\Configuration\FactoryRecord.cs (3)
36
OverrideModeSetting
overrideModeDefault,
78
OverrideModeSetting
overrideModeDefault,
116
internal
OverrideModeSetting
OverrideModeDefault { get; }
System\Configuration\LocationUpdates.cs (2)
9
internal LocationUpdates(
OverrideModeSetting
overrideMode, bool inheritInChildApps)
16
internal
OverrideModeSetting
OverrideMode { get; }
System\Configuration\MgmtConfigurationRecord.cs (12)
1469
OverrideModeSetting
overrideMode =
OverrideModeSetting
.s_locationDefault;
1484
!
OverrideModeSetting
.CanUseSameLocationTag(overrideMode,
1543
OverrideModeSetting
overrideMode =
OverrideModeSetting
.s_locationDefault;
2088
OverrideModeSetting
.s_locationDefault.LocationTagXmlString, KeywordTrue, _locationSubPath));
2332
OverrideModeSetting
.s_locationDefault, true);
2691
OverrideModeSetting
overrideMode =
OverrideModeSetting
.s_locationDefault;
2721
OverrideModeSetting
.CreateFromXmlReadValue(bool.Parse(allowOverrideAttribute));
2728
OverrideModeSetting
.CreateFromXmlReadValue(
2729
OverrideModeSetting
.ParseOverrideModeXmlValue(overrideModeAttribute, null));
System\Configuration\OverrideModeSetting.cs (11)
28
internal static readonly
OverrideModeSetting
s_sectionDefault = new OverrideModeSetting { _mode = (byte)OverrideMode.Allow };
31
internal static readonly
OverrideModeSetting
s_locationDefault = new OverrideModeSetting { _mode = (byte)OverrideMode.Inherit };
33
internal static
OverrideModeSetting
CreateFromXmlReadValue(bool allowOverride)
40
OverrideModeSetting
result = default;
48
internal static
OverrideModeSetting
CreateFromXmlReadValue(OverrideMode mode)
50
OverrideModeSetting
result = default;
71
internal static bool CanUseSameLocationTag(
OverrideModeSetting
x,
OverrideModeSetting
y)
109
private static bool IsMatchingApiChangedLocationTag(
OverrideModeSetting
x,
OverrideModeSetting
y)
164
OverrideModeSetting
defaultSetting = s_locationDefault;
System\Configuration\SectionInformation.cs (6)
42
private
OverrideModeSetting
_overrideMode; // The override mode at the current config path
43
private
OverrideModeSetting
_overrideModeDefault; // The default mode for the section in _configurationSection
55
_overrideModeDefault =
OverrideModeSetting
.s_sectionDefault;
56
_overrideMode =
OverrideModeSetting
.s_locationDefault;
148
internal
OverrideModeSetting
OverrideModeDefaultSetting => _overrideModeDefault;
219
internal
OverrideModeSetting
OverrideModeSetting => _overrideMode;
System\Configuration\SectionXmlInfo.cs (2)
16
string protectionProviderName,
OverrideModeSetting
overrideMode, bool skipInChildApps)
52
internal
OverrideModeSetting
OverrideModeSetting { get; set; }