58 references to _flags
System.Configuration.ConfigurationManager (58)
System\Configuration\SectionInformation.cs (58)
58
_flags
[FlagAllowLocation] = true;
59
_flags
[FlagRestartOnExternalChanges] = true;
60
_flags
[FlagRequirePermission] = true;
61
_flags
[FlagInheritInChildApps] = true;
62
_flags
[FlagForceSave] = false;
67
private bool IsRuntime =>
_flags
[FlagAttached] &&
70
internal bool Attached =>
_flags
[FlagAttached];
76
get { return
_flags
[FlagRemoved]; }
77
set {
_flags
[FlagRemoved] = value; }
154
get { return
_flags
[FlagAllowLocation]; }
166
_flags
[FlagAllowLocation] = value;
201
_flags
[FlagChildrenLocked] =
_flags
[FlagChildrenLockWithoutFileInput];
204
_flags
[FlagChildrenLocked] = false;
207
_flags
[FlagChildrenLocked] = true;
216
public OverrideMode OverrideModeEffective =>
_flags
[FlagChildrenLocked] ? OverrideMode.Deny : OverrideMode.Allow
227
_flags
[FlagInheritInChildApps];
257
get { return
_flags
[FlagInheritInChildApps]; }
262
_flags
[FlagInheritInChildApps] = value;
273
return
_flags
[FlagDeclared];
285
return
_flags
[FlagDeclarationRequired];
295
public bool IsLocked =>
_flags
[FlagLocationLocked] || !IsDefinitionAllowed ||
304
if (!
_flags
[FlagProtectionProviderDetermined] && (_configRecord != null))
307
_flags
[FlagProtectionProviderDetermined] = true;
318
get { return
_flags
[FlagRestartOnExternalChanges]; }
330
_flags
[FlagRestartOnExternalChanges] = value;
339
get { return
_flags
[FlagRequirePermission]; }
351
_flags
[FlagRequirePermission] = value;
394
get { return
_flags
[FlagForceSave]; }
399
_flags
[FlagForceSave] = value;
424
_flags
[FlagAttached] = true;
432
_flags
[FlagAllowLocation] = factoryRecord.AllowLocation;
433
_flags
[FlagRestartOnExternalChanges] = factoryRecord.RestartOnExternalChanges;
434
_flags
[FlagRequirePermission] = factoryRecord.RequirePermission;
439
_flags
[FlagIsUndeclared] = true;
440
_flags
[FlagDeclared] = false;
441
_flags
[FlagDeclarationRequired] = false;
445
_flags
[FlagIsUndeclared] = false;
446
_flags
[FlagDeclared] = configRecord.GetFactoryRecord(factoryRecord.ConfigKey, false) != null;
447
_flags
[FlagDeclarationRequired] = configRecord.IsRootDeclaration(factoryRecord.ConfigKey, false);
451
_flags
[FlagLocationLocked] = sectionRecord.Locked;
452
_flags
[FlagChildrenLocked] = sectionRecord.LockChildren;
453
_flags
[FlagChildrenLockWithoutFileInput] = sectionRecord.LockChildrenWithoutFileInput;
459
_flags
[FlagProtectionProviderDetermined] = fileInput.IsProtectionProviderDetermined;
467
_flags
[FlagInheritInChildApps] = !sectionXmlInfo.SkipInChildApps;
472
_flags
[FlagProtectionProviderDetermined] = false;
483
_flags
[FlagAttached] = false;
514
if (
_flags
[FlagIsParentSection])
517
if (!
_flags
[FlagAllowLocation] &&
525
if (
_flags
[FlagIsParentSection])
548
if (
_flags
[FlagIsUndeclared])
575
_flags
[FlagDeclarationRequired])
588
if (force &&
_flags
[FlagIsUndeclared])
594
_flags
[FlagDeclared] = force;
622
_flags
[FlagProtectionProviderDetermined] = true;
632
_flags
[FlagProtectionProviderDetermined] = true;
640
if (
_flags
[FlagIsParentSection])
651
ancestor.SectionInformation.
_flags
[FlagIsParentSection] = true;