23 references to Inherit
System.Configuration.ConfigurationManager (23)
System\Configuration\BaseConfigurationRecord.cs (9)
1965
if (overrideModeDefault.OverrideMode == OverrideMode.
Inherit
)
2208
OverrideMode mode = OverrideMode.
Inherit
;
2212
childLockMode = OverrideMode.
Inherit
;
2215
while (!parent.IsRootConfig && (mode == OverrideMode.
Inherit
))
2247
if (mode == OverrideMode.
Inherit
)
2265
Debug.Assert(mode != OverrideMode.
Inherit
); // Remember that the default is never Inherit
2280
Debug.Assert(mode != OverrideMode.
Inherit
);
2461
OverrideMode sectionLockMode = OverrideMode.
Inherit
;
2462
OverrideMode sectionChildLockMode = OverrideMode.
Inherit
;
System\Configuration\OverrideModeSetting.cs (7)
31
internal static readonly OverrideModeSetting s_locationDefault = new OverrideModeSetting { _mode = (byte)OverrideMode.
Inherit
};
42
result.SetMode(allowOverride ? OverrideMode.
Inherit
: OverrideMode.Deny);
63
BaseConfigurationRecord.OverrideModeInherit => OverrideMode.
Inherit
,
152
return (mode == OverrideMode.Allow) || (mode == OverrideMode.
Inherit
);
242
case OverrideMode.
Inherit
:
292
case OverrideMode.
Inherit
:
315
SetMode(value ? OverrideMode.
Inherit
: OverrideMode.Deny);
System\Configuration\SectionInformation.cs (2)
141
if (value == OverrideMode.
Inherit
) value = OverrideMode.Allow;
198
case OverrideMode.
Inherit
:
System\Configuration\SectionRecord.cs (5)
155
if (forSelf != OverrideMode.
Inherit
)
161
if (forChildren != OverrideMode.
Inherit
)
175
(sectionInput.SectionXmlInfo.OverrideModeSetting.OverrideMode != OverrideMode.
Inherit
))
184
ChangeLockSettings(OverrideMode.
Inherit
,
242
if (modeLocation != OverrideMode.
Inherit
)