19 references to Deny
System.Configuration (19)
System\Configuration\BaseConfigurationRecord.cs (6)
2795mode = sectionRecord.Locked ? OverrideMode.Deny : OverrideMode.Allow; 2801childLockMode = sectionRecord.LockChildren ? OverrideMode.Deny : OverrideMode.Allow; 2804mode = sectionRecord.LockChildren ? OverrideMode.Deny : OverrideMode.Allow; 2882result = sectionRecord.Locked ? OverrideMode.Deny : OverrideMode.Allow; 2883childLockMode = sectionRecord.LockChildren ? OverrideMode.Deny : OverrideMode.Allow; 3077if (sectionLockMode == OverrideMode.Deny) {
System\Configuration\MgmtConfigurationRecord.cs (1)
1843if (GetSectionLockedMode(sectionRecord.ConfigKey) == OverrideMode.Deny) {
System\Configuration\OverrideMode.cs (6)
81result.SetMode(allowOverride ? OverrideMode.Inherit : OverrideMode.Deny); 108return OverrideMode.Deny; 224get { return OverrideMode == OverrideMode.Deny;} 285case OverrideMode.Deny: 333case OverrideMode.Deny: 353SetMode(value ? OverrideMode.Inherit : OverrideMode.Deny);
System\Configuration\SectionInformation.cs (2)
430case OverrideMode.Deny: 443return (_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));