15 writes to _lockedAllExceptElementsList
System.Configuration.ConfigurationManager (15)
System\Configuration\ConfigurationElement.cs (13)
95public ConfigurationLockCollection LockAllElementsExcept => _lockedAllExceptElementsList ??= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElementsExceptionList, ElementTagName); 318_lockedAllExceptElementsList = new ConfigurationLockCollection(this, 333collection._lockedAllExceptElementsList = _lockedAllExceptElementsList; 542_lockedAllExceptElementsList = null; 590_lockedAllExceptElementsList = new ConfigurationLockCollection(this, 599collection._lockedAllExceptElementsList = _lockedAllExceptElementsList; 882_lockedAllExceptElementsList = sourceElement._lockedAllExceptElementsList; 907_lockedAllExceptElementsList = UnMergeLockList(sourceElement._lockedAllExceptElementsList, 1162elem._lockedAllExceptElementsList = null; 1660_lockedAllExceptElementsList = new ConfigurationLockCollection(this, 1673collection._lockedAllExceptElementsList = _lockedAllExceptElementsList; 1697_lockedAllExceptElementsList = new ConfigurationLockCollection(this, 1701defaultCollection._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)
314if (source._lockedAllExceptElementsList != null) 316if ((_lockedAllExceptElementsList == null) || (_lockedAllExceptElementsList.Count == 0)) 320source._lockedAllExceptElementsList); 323StringCollection intersectionCollection = IntersectLockCollections(_lockedAllExceptElementsList, 324source._lockedAllExceptElementsList); 330if ((collection != null) && (collection._lockedAllExceptElementsList == null)) 333collection._lockedAllExceptElementsList = _lockedAllExceptElementsList; 337_lockedAllExceptElementsList.ClearInternal(false); 339if (!_lockedAllExceptElementsList.Contains(key) || (key == ElementTagName)) 340_lockedAllExceptElementsList.Add(key, ConfigurationValueFlags.Default); 342if (_lockedAllExceptElementsList.HasParentElements) 346if (!_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(); 588if (parentElement._lockedAllExceptElementsList != null) 592parentElement._lockedAllExceptElementsList); 598if ((collection != null) && (collection._lockedAllExceptElementsList == null)) 599collection._lockedAllExceptElementsList = _lockedAllExceptElementsList; 882_lockedAllExceptElementsList = sourceElement._lockedAllExceptElementsList; 905if (parentElement._lockedAllExceptElementsList != null) 907_lockedAllExceptElementsList = UnMergeLockList(sourceElement._lockedAllExceptElementsList, 908parentElement._lockedAllExceptElementsList, saveMode); 1025((_lockedAllExceptElementsList != null) && _lockedAllExceptElementsList.HasParentElements && 1026!_lockedAllExceptElementsList.DefinedInParent(elementName))) 1118dataToWrite |= 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)) || 1658if (_lockedAllExceptElementsList == null) 1662_lockedAllExceptElementsList.ClearSeedList(); 1665StringCollection intersectionCollection = IntersectLockCollections(_lockedAllExceptElementsList, 1672if ((collection != null) && (collection._lockedAllExceptElementsList == null)) 1673collection._lockedAllExceptElementsList = _lockedAllExceptElementsList; 1676_lockedAllExceptElementsList.ClearInternal(false); 1678if (!_lockedAllExceptElementsList.Contains(key) || (key == ElementTagName)) 1679_lockedAllExceptElementsList.Add(key, ConfigurationValueFlags.Default); // add the local copy 1682if (!(string.IsNullOrEmpty(prop.Name) || _lockedAllExceptElementsList.Contains(prop.Name)) && 1695if (_lockedAllExceptElementsList == null) 1699_lockedAllExceptElementsList.ClearSeedList(); 1701defaultCollection._lockedAllExceptElementsList = _lockedAllExceptElementsList;
System\Configuration\ConfigurationElementCollection.cs (4)
260_lockedAllExceptElementsList = sourceElement._lockedAllExceptElementsList; 284if (parentElement._lockedAllExceptElementsList != null) 286_lockedAllExceptElementsList = UnMergeLockList(sourceElement._lockedAllExceptElementsList, 287parentElement._lockedAllExceptElementsList, saveMode);