65 writes to
System.Configuration.ConfigurationManager (65)
System\Configuration\BaseConfigurationRecord.cs (14)
223_flags[ContextEvaluated] = true; 337_flags[SupportsChangeNotifications] = ClassFlags[ClassSupportsChangeNotifications] && 339_flags[SupportsRefresh] = ClassFlags[ClassSupportsRefresh] && Host.SupportsRefresh; 340_flags[SupportsKeepInputs] = ClassFlags[ClassSupportsKeepInputs] || _flags[SupportsRefresh]; 341_flags[SupportsPath] = Host.SupportsPath; 342_flags[SupportsLocation] = Host.SupportsLocation; 346_flags[IsAboveApplication] = Host.IsAboveApplication(_configPath); 348_flags[IsTrusted] = true; 567_flags[PrefetchAll] = Host.PrefetchAll(_configPath, ConfigStreamInfo.StreamName); 1615_flags[ProtectedDataInitialized] = true; 1769_flags[NamespacePresentInFile] = true; 1770_flags[NamespacePresentCurrent] = true; 2990_flags[IsLocationListResolved] = true; 3487_flags[Closed] = true;
System\Configuration\MgmtConfigurationRecord.cs (7)
66set { _flags[NamespacePresentCurrent] = value; } 107_flags[ForceLocationWritten] = true; 1901_flags[NamespacePresentInFile] = _flags[NamespacePresentCurrent]; 1905_flags[ForceLocationWritten] = false; 1906_flags[SuggestLocationRemoval] = false; 3156_flags[ForceLocationWritten] = false; 3157_flags[SuggestLocationRemoval] = true;
System\Configuration\SectionInformation.cs (36)
58_flags[FlagAllowLocation] = true; 59_flags[FlagRestartOnExternalChanges] = true; 60_flags[FlagRequirePermission] = true; 61_flags[FlagInheritInChildApps] = true; 62_flags[FlagForceSave] = false; 77set { _flags[FlagRemoved] = value; } 166_flags[FlagAllowLocation] = value; 201_flags[FlagChildrenLocked] = _flags[FlagChildrenLockWithoutFileInput]; 204_flags[FlagChildrenLocked] = false; 207_flags[FlagChildrenLocked] = true; 262_flags[FlagInheritInChildApps] = value; 307_flags[FlagProtectionProviderDetermined] = true; 330_flags[FlagRestartOnExternalChanges] = value; 351_flags[FlagRequirePermission] = value; 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; 594_flags[FlagDeclared] = force; 622_flags[FlagProtectionProviderDetermined] = true; 632_flags[FlagProtectionProviderDetermined] = true; 651ancestor.SectionInformation._flags[FlagIsParentSection] = true;
System\Configuration\SectionRecord.cs (8)
97set { _flags[FlagRequirePermission] = value; } 103set { _flags[FlagAddUpdate] = value; } 157_flags[FlagLocked] = forSelf == OverrideMode.Deny; 158_flags[FlagLockChildren] = forSelf == OverrideMode.Deny; 162_flags[FlagLockChildren] = (forSelf == OverrideMode.Deny) || (forChildren == OverrideMode.Deny); 182_flags[FlagChildrenLockWithoutFileInput] = LockChildren; 197_flags[FlagLockChildren] = Locked; 245_flags[flag] = true;
63 references to
System.Configuration.ConfigurationManager (63)
System\Configuration\BaseConfigurationRecord.cs (27)
201if (!_flags[ProtectedDataInitialized]) InitProtectedConfigurationSection(); 219if (!_flags[ContextEvaluated]) 234internal bool RecordSupportsLocation => _flags[SupportsLocation] || IsMachineConfig; 297if (_flags[PrefetchAll]) 340_flags[SupportsKeepInputs] = ClassFlags[ClassSupportsKeepInputs] || _flags[SupportsRefresh]; 345if (_flags[SupportsLocation]) 352if (_flags[SupportsLocation]) 1134return skipInChildApps && _flags[IsAboveApplication]; 1260bool isTrusted = _flags[IsTrusted]; 1325if (success && !_flags[SupportsKeepInputs]) sectionRecord.ClearRawXml(); 1370if (!_flags[SupportsRefresh] 1607if (_flags[ProtectedDataInitialized]) return; 2051_flags[IsTrusted], 2414isFromTrustedConfigRecord: _flags[IsTrusted], 2657if (!_flags[SupportsLocation]) 2807if (!_flags[SupportsLocation]) 2860if (_flags[IsLocationListResolved]) return; 2867if (!_flags[IsLocationListResolved]) 3222if (_flags[Closed]) return null; 3249if (_flags[Closed]) return null; 3257if (_flags[SupportsChangeNotifications]) 3263if (_flags[SupportsChangeNotifications]) Host.StartMonitoringStreamForChanges(streamname, callbackDelegate); 3275if (_flags[Closed]) 3375if (_flags[SupportsPath]) 3447if (!_flags[SupportsLocation]) return false; 3478if (_flags[Closed]) return; 3485if (!_flags[Closed])
System\Configuration\MgmtConfigurationRecord.cs (8)
65get { return _flags[NamespacePresentCurrent]; } 74if (_flags[NamespacePresentCurrent] == _flags[NamespacePresentInFile]) return NamespaceChange.None; 75return _flags[NamespacePresentCurrent] ? NamespaceChange.Add : NamespaceChange.Remove; 699_flags[IsTrusted], 1720if (_flags[ForceLocationWritten]) 1727if (_flags[SuggestLocationRemoval]) 1901_flags[NamespacePresentInFile] = _flags[NamespacePresentCurrent];
System\Configuration\SectionInformation.cs (22)
67private bool IsRuntime => _flags[FlagAttached] && 70internal bool Attached => _flags[FlagAttached]; 76get { return _flags[FlagRemoved]; } 154get { return _flags[FlagAllowLocation]; } 201_flags[FlagChildrenLocked] = _flags[FlagChildrenLockWithoutFileInput]; 216public OverrideMode OverrideModeEffective => _flags[FlagChildrenLocked] ? OverrideMode.Deny : OverrideMode.Allow 227_flags[FlagInheritInChildApps]; 257get { return _flags[FlagInheritInChildApps]; } 273return _flags[FlagDeclared]; 285return _flags[FlagDeclarationRequired]; 295public bool IsLocked => _flags[FlagLocationLocked] || !IsDefinitionAllowed || 304if (!_flags[FlagProtectionProviderDetermined] && (_configRecord != null)) 318get { return _flags[FlagRestartOnExternalChanges]; } 339get { return _flags[FlagRequirePermission]; } 394get { return _flags[FlagForceSave]; } 514if (_flags[FlagIsParentSection]) 517if (!_flags[FlagAllowLocation] && 525if (_flags[FlagIsParentSection]) 548if (_flags[FlagIsUndeclared]) 575_flags[FlagDeclarationRequired]) 588if (force && _flags[FlagIsUndeclared]) 640if (_flags[FlagIsParentSection])
System\Configuration\SectionRecord.cs (6)
76internal bool Locked => _flags[FlagLocked]; 78internal bool LockChildren => _flags[FlagLockChildren]; 88if (HasFileInput) result = _flags[FlagChildrenLockWithoutFileInput]; 96get { return _flags[FlagRequirePermission]; } 102get { return _flags[FlagAddUpdate]; } 238if (!sectionInput.HasErrors && !_flags[flag])