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)
66
set { _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;
77
set { _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;
651
ancestor.SectionInformation._flags
[
FlagIsParentSection] = true;
System\Configuration\SectionRecord.cs (8)
97
set { _flags
[
FlagRequirePermission] = value; }
103
set { _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)
201
if (!_flags
[
ProtectedDataInitialized]) InitProtectedConfigurationSection();
219
if (!_flags
[
ContextEvaluated])
234
internal bool RecordSupportsLocation => _flags
[
SupportsLocation] || IsMachineConfig;
297
if (_flags
[
PrefetchAll])
340
_flags[SupportsKeepInputs] = ClassFlags[ClassSupportsKeepInputs] || _flags
[
SupportsRefresh];
345
if (_flags
[
SupportsLocation])
352
if (_flags
[
SupportsLocation])
1134
return skipInChildApps && _flags
[
IsAboveApplication];
1260
bool isTrusted = _flags
[
IsTrusted];
1325
if (success && !_flags
[
SupportsKeepInputs]) sectionRecord.ClearRawXml();
1370
if (!_flags
[
SupportsRefresh]
1607
if (_flags
[
ProtectedDataInitialized]) return;
2051
_flags
[
IsTrusted],
2414
isFromTrustedConfigRecord: _flags
[
IsTrusted],
2657
if (!_flags
[
SupportsLocation])
2807
if (!_flags
[
SupportsLocation])
2860
if (_flags
[
IsLocationListResolved]) return;
2867
if (!_flags
[
IsLocationListResolved])
3222
if (_flags
[
Closed]) return null;
3249
if (_flags
[
Closed]) return null;
3257
if (_flags
[
SupportsChangeNotifications])
3263
if (_flags
[
SupportsChangeNotifications]) Host.StartMonitoringStreamForChanges(streamname, callbackDelegate);
3275
if (_flags
[
Closed])
3375
if (_flags
[
SupportsPath])
3447
if (!_flags
[
SupportsLocation]) return false;
3478
if (_flags
[
Closed]) return;
3485
if (!_flags
[
Closed])
System\Configuration\MgmtConfigurationRecord.cs (8)
65
get { return _flags
[
NamespacePresentCurrent]; }
74
if (_flags
[
NamespacePresentCurrent] == _flags
[
NamespacePresentInFile]) return NamespaceChange.None;
75
return _flags
[
NamespacePresentCurrent] ? NamespaceChange.Add : NamespaceChange.Remove;
699
_flags
[
IsTrusted],
1720
if (_flags
[
ForceLocationWritten])
1727
if (_flags
[
SuggestLocationRemoval])
1901
_flags[NamespacePresentInFile] = _flags
[
NamespacePresentCurrent];
System\Configuration\SectionInformation.cs (22)
67
private bool IsRuntime => _flags
[
FlagAttached] &&
70
internal bool Attached => _flags
[
FlagAttached];
76
get { return _flags
[
FlagRemoved]; }
154
get { return _flags
[
FlagAllowLocation]; }
201
_flags[FlagChildrenLocked] = _flags
[
FlagChildrenLockWithoutFileInput];
216
public OverrideMode OverrideModeEffective => _flags
[
FlagChildrenLocked] ? OverrideMode.Deny : OverrideMode.Allow
227
_flags
[
FlagInheritInChildApps];
257
get { return _flags
[
FlagInheritInChildApps]; }
273
return _flags
[
FlagDeclared];
285
return _flags
[
FlagDeclarationRequired];
295
public bool IsLocked => _flags
[
FlagLocationLocked] || !IsDefinitionAllowed ||
304
if (!_flags
[
FlagProtectionProviderDetermined] && (_configRecord != null))
318
get { return _flags
[
FlagRestartOnExternalChanges]; }
339
get { return _flags
[
FlagRequirePermission]; }
394
get { return _flags
[
FlagForceSave]; }
514
if (_flags
[
FlagIsParentSection])
517
if (!_flags
[
FlagAllowLocation] &&
525
if (_flags
[
FlagIsParentSection])
548
if (_flags
[
FlagIsUndeclared])
575
_flags
[
FlagDeclarationRequired])
588
if (force && _flags
[
FlagIsUndeclared])
640
if (_flags
[
FlagIsParentSection])
System\Configuration\SectionRecord.cs (6)
76
internal bool Locked => _flags
[
FlagLocked];
78
internal bool LockChildren => _flags
[
FlagLockChildren];
88
if (HasFileInput) result = _flags
[
FlagChildrenLockWithoutFileInput];
96
get { return _flags
[
FlagRequirePermission]; }
102
get { return _flags
[
FlagAddUpdate]; }
238
if (!sectionInput.HasErrors && !_flags
[
flag])