65 writes to
System.Configuration.ConfigurationManager (65)
System\Configuration\BaseConfigurationRecord.cs (14)
219
_flags
[
ContextEvaluated] = true;
333
_flags
[
SupportsChangeNotifications] = ClassFlags[ClassSupportsChangeNotifications] &&
335
_flags
[
SupportsRefresh] = ClassFlags[ClassSupportsRefresh] && Host.SupportsRefresh;
336
_flags
[
SupportsKeepInputs] = ClassFlags[ClassSupportsKeepInputs] || _flags[SupportsRefresh];
337
_flags
[
SupportsPath] = Host.SupportsPath;
338
_flags
[
SupportsLocation] = Host.SupportsLocation;
342
_flags
[
IsAboveApplication] = Host.IsAboveApplication(_configPath);
344
_flags
[
IsTrusted] = true;
563
_flags
[
PrefetchAll] = Host.PrefetchAll(_configPath, ConfigStreamInfo.StreamName);
1611
_flags
[
ProtectedDataInitialized] = true;
1765
_flags
[
NamespacePresentInFile] = true;
1766
_flags
[
NamespacePresentCurrent] = true;
2986
_flags
[
IsLocationListResolved] = true;
3483
_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)
197
if (!_flags
[
ProtectedDataInitialized]) InitProtectedConfigurationSection();
215
if (!_flags
[
ContextEvaluated])
230
internal bool RecordSupportsLocation => _flags
[
SupportsLocation] || IsMachineConfig;
293
if (_flags
[
PrefetchAll])
336
_flags[SupportsKeepInputs] = ClassFlags[ClassSupportsKeepInputs] || _flags
[
SupportsRefresh];
341
if (_flags
[
SupportsLocation])
348
if (_flags
[
SupportsLocation])
1130
return skipInChildApps && _flags
[
IsAboveApplication];
1256
bool isTrusted = _flags
[
IsTrusted];
1321
if (success && !_flags
[
SupportsKeepInputs]) sectionRecord.ClearRawXml();
1366
if (!_flags
[
SupportsRefresh]
1603
if (_flags
[
ProtectedDataInitialized]) return;
2047
_flags
[
IsTrusted],
2410
isFromTrustedConfigRecord: _flags
[
IsTrusted],
2653
if (!_flags
[
SupportsLocation])
2803
if (!_flags
[
SupportsLocation])
2856
if (_flags
[
IsLocationListResolved]) return;
2863
if (!_flags
[
IsLocationListResolved])
3218
if (_flags
[
Closed]) return null;
3245
if (_flags
[
Closed]) return null;
3253
if (_flags
[
SupportsChangeNotifications])
3259
if (_flags
[
SupportsChangeNotifications]) Host.StartMonitoringStreamForChanges(streamname, callbackDelegate);
3271
if (_flags
[
Closed])
3371
if (_flags
[
SupportsPath])
3443
if (!_flags
[
SupportsLocation]) return false;
3474
if (_flags
[
Closed]) return;
3481
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])