27 references to Inherit
System.Configuration (27)
System\Configuration\BaseConfigurationRecord.cs (13)
2491
if (overrideModeDefault.OverrideMode == OverrideMode.
Inherit
) {
2780
OverrideMode mode = OverrideMode.
Inherit
;
2784
childLockMode = OverrideMode.
Inherit
;
2787
while (!parent.IsRootConfig && (mode == OverrideMode.
Inherit
)) {
2816
if (mode == OverrideMode.
Inherit
) {
2839
Debug.Assert(mode != OverrideMode.
Inherit
); // Remember that the default is never Inherit
2855
Debug.Assert(mode != OverrideMode.
Inherit
);
2861
OverrideMode dummy = OverrideMode.
Inherit
;
2869
OverrideMode result = OverrideMode.
Inherit
;
3039
OverrideMode sectionLockMode = OverrideMode.
Inherit
;
3040
OverrideMode sectionChildLockMode = OverrideMode.
Inherit
;
3732
OverrideMode parentMode = OverrideMode.
Inherit
;
3733
OverrideMode childLockMode = OverrideMode.
Inherit
;
System\Configuration\OverrideMode.cs (7)
70
LocationDefault._mode = (byte)OverrideMode.
Inherit
;
81
result.SetMode(allowOverride ? OverrideMode.
Inherit
: OverrideMode.Deny);
102
return OverrideMode.
Inherit
;
205
return ((mode == OverrideMode.Allow) || (mode == OverrideMode.
Inherit
));
279
case OverrideMode.
Inherit
:
328
case OverrideMode.
Inherit
:
353
SetMode(value ? OverrideMode.
Inherit
: OverrideMode.Deny);
System\Configuration\SectionInformation.cs (2)
350
if (value == OverrideMode.
Inherit
) {
420
case OverrideMode.
Inherit
:
System\Configuration\SectionRecord.cs (5)
174
if (forSelf != OverrideMode.
Inherit
) {
179
if (forChildren != OverrideMode.
Inherit
) {
194
if (sectionInput.SectionXmlInfo.OverrideModeSetting.OverrideMode != OverrideMode.
Inherit
) {
203
ChangeLockSettings(OverrideMode.
Inherit
, sectionInput.SectionXmlInfo.OverrideModeSetting.OverrideMode);
282
if (modeLocation != OverrideMode.
Inherit
) {