15 writes to _lockedAllExceptElementsList
System.Configuration.ConfigurationManager (15)
System\Configuration\ConfigurationElement.cs (13)
95
public ConfigurationLockCollection LockAllElementsExcept =>
_lockedAllExceptElementsList
??= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElementsExceptionList, ElementTagName);
318
_lockedAllExceptElementsList
= new ConfigurationLockCollection(this,
333
collection.
_lockedAllExceptElementsList
= _lockedAllExceptElementsList;
542
_lockedAllExceptElementsList
= null;
590
_lockedAllExceptElementsList
= new ConfigurationLockCollection(this,
599
collection.
_lockedAllExceptElementsList
= _lockedAllExceptElementsList;
882
_lockedAllExceptElementsList
= sourceElement._lockedAllExceptElementsList;
907
_lockedAllExceptElementsList
= UnMergeLockList(sourceElement._lockedAllExceptElementsList,
1162
elem.
_lockedAllExceptElementsList
= null;
1660
_lockedAllExceptElementsList
= new ConfigurationLockCollection(this,
1673
collection.
_lockedAllExceptElementsList
= _lockedAllExceptElementsList;
1697
_lockedAllExceptElementsList
= new ConfigurationLockCollection(this,
1701
defaultCollection.
_lockedAllExceptElementsList
= _lockedAllExceptElementsList;
System\Configuration\ConfigurationElementCollection.cs (2)
260
_lockedAllExceptElementsList
= sourceElement._lockedAllExceptElementsList;
286
_lockedAllExceptElementsList
= UnMergeLockList(sourceElement._lockedAllExceptElementsList,
55 references to _lockedAllExceptElementsList
System.Configuration.ConfigurationManager (55)
System\Configuration\ConfigurationElement.cs (51)
314
if (source.
_lockedAllExceptElementsList
!= null)
316
if ((
_lockedAllExceptElementsList
== null) || (
_lockedAllExceptElementsList
.Count == 0))
320
source.
_lockedAllExceptElementsList
);
323
StringCollection intersectionCollection = IntersectLockCollections(
_lockedAllExceptElementsList
,
324
source.
_lockedAllExceptElementsList
);
330
if ((collection != null) && (collection.
_lockedAllExceptElementsList
== null))
333
collection._lockedAllExceptElementsList =
_lockedAllExceptElementsList
;
337
_lockedAllExceptElementsList
.ClearInternal(false);
339
if (!
_lockedAllExceptElementsList
.Contains(key) || (key == ElementTagName))
340
_lockedAllExceptElementsList
.Add(key, ConfigurationValueFlags.Default);
342
if (
_lockedAllExceptElementsList
.HasParentElements)
346
if (!
_lockedAllExceptElementsList
.Contains(prop.Name) &&
418
|| ((
_lockedAllExceptElementsList
!= null) &&
_lockedAllExceptElementsList
.IsModified)
434
_lockedAllExceptElementsList
?.ResetModified();
517
((
_lockedAllExceptElementsList
!= null) && (
_lockedAllExceptElementsList
.Count != 0) &&
518
_lockedAllExceptElementsList
.HasParentElements &&
519
!
_lockedAllExceptElementsList
.DefinedInParent(elementName)) ||
534
_lockedAllExceptElementsList
?.RemoveInheritedLocks();
588
if (parentElement.
_lockedAllExceptElementsList
!= null)
592
parentElement.
_lockedAllExceptElementsList
);
598
if ((collection != null) && (collection.
_lockedAllExceptElementsList
== null))
599
collection._lockedAllExceptElementsList =
_lockedAllExceptElementsList
;
882
_lockedAllExceptElementsList = sourceElement.
_lockedAllExceptElementsList
;
905
if (parentElement.
_lockedAllExceptElementsList
!= null)
907
_lockedAllExceptElementsList = UnMergeLockList(sourceElement.
_lockedAllExceptElementsList
,
908
parentElement.
_lockedAllExceptElementsList
, saveMode);
1025
((
_lockedAllExceptElementsList
!= null) &&
_lockedAllExceptElementsList
.HasParentElements &&
1026
!
_lockedAllExceptElementsList
.DefinedInParent(elementName)))
1118
dataToWrite |= SerializeLockList(
_lockedAllExceptElementsList
, LockAllElementsExceptKey, writer);
1142
((
_lockedAllExceptElementsList
!= null) &&
1143
_lockedAllExceptElementsList
.HasParentElements &&
1144
!
_lockedAllExceptElementsList
.DefinedInParent(key)))
1408
((
_lockedAllExceptElementsList
!= null) && (
_lockedAllExceptElementsList
.Count != 0) &&
1409
!
_lockedAllExceptElementsList
.Contains(reader.Name)) ||
1658
if (
_lockedAllExceptElementsList
== null)
1662
_lockedAllExceptElementsList
.ClearSeedList();
1665
StringCollection intersectionCollection = IntersectLockCollections(
_lockedAllExceptElementsList
,
1672
if ((collection != null) && (collection.
_lockedAllExceptElementsList
== null))
1673
collection._lockedAllExceptElementsList =
_lockedAllExceptElementsList
;
1676
_lockedAllExceptElementsList
.ClearInternal(false);
1678
if (!
_lockedAllExceptElementsList
.Contains(key) || (key == ElementTagName))
1679
_lockedAllExceptElementsList
.Add(key, ConfigurationValueFlags.Default); // add the local copy
1682
if (!(string.IsNullOrEmpty(prop.Name) ||
_lockedAllExceptElementsList
.Contains(prop.Name)) &&
1695
if (
_lockedAllExceptElementsList
== null)
1699
_lockedAllExceptElementsList
.ClearSeedList();
1701
defaultCollection._lockedAllExceptElementsList =
_lockedAllExceptElementsList
;
System\Configuration\ConfigurationElementCollection.cs (4)
260
_lockedAllExceptElementsList = sourceElement.
_lockedAllExceptElementsList
;
284
if (parentElement.
_lockedAllExceptElementsList
!= null)
286
_lockedAllExceptElementsList = UnMergeLockList(sourceElement.
_lockedAllExceptElementsList
,
287
parentElement.
_lockedAllExceptElementsList
, saveMode);