19 references to Deny
System.Configuration.ConfigurationManager (19)
System\Configuration\BaseConfigurationRecord.cs (6)
2225
mode = sectionRecord.Locked ? OverrideMode.
Deny
: OverrideMode.Allow;
2231
childLockMode = sectionRecord.LockChildren ? OverrideMode.
Deny
: OverrideMode.Allow;
2235
mode = sectionRecord.LockChildren ? OverrideMode.
Deny
: OverrideMode.Allow;
2307
result = sectionRecord.Locked ? OverrideMode.
Deny
: OverrideMode.Allow;
2308
childLockMode = sectionRecord.LockChildren ? OverrideMode.
Deny
: OverrideMode.Allow;
2507
if (sectionLockMode == OverrideMode.
Deny
)
System\Configuration\MgmtConfigurationRecord.cs (1)
1705
if (GetSectionLockedMode(sectionRecord.ConfigKey) == OverrideMode.
Deny
)
System\Configuration\OverrideModeSetting.cs (6)
42
result.SetMode(allowOverride ? OverrideMode.Inherit : OverrideMode.
Deny
);
65
BaseConfigurationRecord.OverrideModeDeny => OverrideMode.
Deny
,
172
internal bool IsLocked => OverrideMode == OverrideMode.
Deny
;
246
case OverrideMode.
Deny
:
295
case OverrideMode.
Deny
:
315
SetMode(value ? OverrideMode.Inherit : OverrideMode.
Deny
);
System\Configuration\SectionInformation.cs (2)
206
case OverrideMode.
Deny
:
216
public OverrideMode OverrideModeEffective => _flags[FlagChildrenLocked] ? OverrideMode.
Deny
: OverrideMode.Allow
System\Configuration\SectionRecord.cs (4)
157
_flags[FlagLocked] = forSelf == OverrideMode.
Deny
;
158
_flags[FlagLockChildren] = forSelf == OverrideMode.
Deny
;
162
_flags[FlagLockChildren] = (forSelf == OverrideMode.
Deny
) || (forChildren == OverrideMode.
Deny
);