19 references to Deny
System.Configuration (19)
System\Configuration\BaseConfigurationRecord.cs (6)
2795
mode = sectionRecord.Locked ? OverrideMode.
Deny
: OverrideMode.Allow;
2801
childLockMode = sectionRecord.LockChildren ? OverrideMode.
Deny
: OverrideMode.Allow;
2804
mode = sectionRecord.LockChildren ? OverrideMode.
Deny
: OverrideMode.Allow;
2882
result = sectionRecord.Locked ? OverrideMode.
Deny
: OverrideMode.Allow;
2883
childLockMode = sectionRecord.LockChildren ? OverrideMode.
Deny
: OverrideMode.Allow;
3077
if (sectionLockMode == OverrideMode.
Deny
) {
System\Configuration\MgmtConfigurationRecord.cs (1)
1843
if (GetSectionLockedMode(sectionRecord.ConfigKey) == OverrideMode.
Deny
) {
System\Configuration\OverrideMode.cs (6)
81
result.SetMode(allowOverride ? OverrideMode.Inherit : OverrideMode.
Deny
);
108
return OverrideMode.
Deny
;
224
get { return OverrideMode == OverrideMode.
Deny
;}
285
case OverrideMode.
Deny
:
333
case OverrideMode.
Deny
:
353
SetMode(value ? OverrideMode.Inherit : OverrideMode.
Deny
);
System\Configuration\SectionInformation.cs (2)
430
case OverrideMode.
Deny
:
443
return (_flags[Flag_ChildrenLocked] ? OverrideMode.
Deny
: OverrideMode.Allow);
System\Configuration\SectionRecord.cs (4)
175
_flags[Flag_Locked] = (forSelf == OverrideMode.
Deny
);
176
_flags[Flag_LockChildren] = (forSelf == OverrideMode.
Deny
);
180
_flags[Flag_LockChildren] = ((forSelf == OverrideMode.
Deny
) || (forChildren == OverrideMode.
Deny
));