15 writes to _lockedAllExceptElementsList
System.Configuration (15)
System\Configuration\ConfigurationElement.cs (13)
214
_lockedAllExceptElementsList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElementsExceptionList, source._elementTagName, source._lockedAllExceptElementsList);
223
collection.
_lockedAllExceptElementsList
= _lockedAllExceptElementsList;
315
_lockedAllExceptElementsList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElementsExceptionList, _elementTagName);
514
_lockedAllExceptElementsList
= null;
550
_lockedAllExceptElementsList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElementsExceptionList, parentElement._elementTagName, parentElement._lockedAllExceptElementsList);
557
collection.
_lockedAllExceptElementsList
= _lockedAllExceptElementsList;
990
_lockedAllExceptElementsList
= sourceElement._lockedAllExceptElementsList;
1007
_lockedAllExceptElementsList
= UnMergeLockList(sourceElement._lockedAllExceptElementsList,
1252
elem.
_lockedAllExceptElementsList
= null;
1644
_lockedAllExceptElementsList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElementsExceptionList, _elementTagName, newCollection);
1655
collection.
_lockedAllExceptElementsList
= _lockedAllExceptElementsList;
1681
_lockedAllExceptElementsList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElementsExceptionList, reader.Name);
1684
defaultCollection.
_lockedAllExceptElementsList
= _lockedAllExceptElementsList;
System\Configuration\ConfigurationElementCollection.cs (2)
213
_lockedAllExceptElementsList
= sourceElement._lockedAllExceptElementsList;
231
_lockedAllExceptElementsList
= UnMergeLockList(sourceElement._lockedAllExceptElementsList,
59 references to _lockedAllExceptElementsList
System.Configuration (59)
System\Configuration\ConfigurationElement.cs (55)
212
if (source.
_lockedAllExceptElementsList
!= null) {
213
if (
_lockedAllExceptElementsList
== null ||
_lockedAllExceptElementsList
.Count == 0) {
214
_lockedAllExceptElementsList = new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElementsExceptionList, source._elementTagName, source.
_lockedAllExceptElementsList
);
216
StringCollection intersectionCollection = IntersectLockCollections(
_lockedAllExceptElementsList
, source.
_lockedAllExceptElementsList
);
221
if (collection != null && collection.
_lockedAllExceptElementsList
== null) {
223
collection._lockedAllExceptElementsList =
_lockedAllExceptElementsList
;
226
_lockedAllExceptElementsList
.ClearInternal(false);
228
if (!
_lockedAllExceptElementsList
.Contains(key) || key == ElementTagName)
229
_lockedAllExceptElementsList
.Add(key, ConfigurationValueFlags.Default); // add the local copy
231
if (
_lockedAllExceptElementsList
.HasParentElements) {
233
if ((!
_lockedAllExceptElementsList
.Contains(prop.Name)) &&
314
if (
_lockedAllExceptElementsList
== null) {
317
return
_lockedAllExceptElementsList
;
354
if (
_lockedAllExceptElementsList
!= null &&
_lockedAllExceptElementsList
.IsModified) {
385
if (
_lockedAllExceptElementsList
!= null) {
386
_lockedAllExceptElementsList
.ResetModified();
484
((
_lockedAllExceptElementsList
!= null &&
_lockedAllExceptElementsList
.Count != 0) &&
485
_lockedAllExceptElementsList
.HasParentElements &&
486
!
_lockedAllExceptElementsList
.DefinedInParent(elementName) ||
505
if (
_lockedAllExceptElementsList
!= null) {
506
_lockedAllExceptElementsList
.RemoveInheritedLocks();
549
if (parentElement.
_lockedAllExceptElementsList
!= null) {
550
_lockedAllExceptElementsList = new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElementsExceptionList, parentElement._elementTagName, parentElement.
_lockedAllExceptElementsList
);
556
if (collection != null && collection.
_lockedAllExceptElementsList
== null) {
557
collection._lockedAllExceptElementsList =
_lockedAllExceptElementsList
;
990
_lockedAllExceptElementsList = sourceElement.
_lockedAllExceptElementsList
;
1006
if (parentElement.
_lockedAllExceptElementsList
!= null)
1007
_lockedAllExceptElementsList = UnMergeLockList(sourceElement.
_lockedAllExceptElementsList
,
1008
parentElement.
_lockedAllExceptElementsList
, saveMode);
1133
(
_lockedAllExceptElementsList
!= null &&
_lockedAllExceptElementsList
.HasParentElements && !
_lockedAllExceptElementsList
.DefinedInParent(elementName))) {
1220
DataToWrite |= SerializeLockList(
_lockedAllExceptElementsList
, LockAllElementsExceptKey, writer);
1239
(
_lockedAllExceptElementsList
!= null &&
_lockedAllExceptElementsList
.HasParentElements && !
_lockedAllExceptElementsList
.DefinedInParent(key)))) {
1451
(
_lockedAllExceptElementsList
!= null &&
_lockedAllExceptElementsList
.Count != 0 && !
_lockedAllExceptElementsList
.Contains(reader.Name)) ||
1643
if (
_lockedAllExceptElementsList
== null) {
1645
_lockedAllExceptElementsList
.ClearSeedList();
1648
StringCollection intersectionCollection = IntersectLockCollections(
_lockedAllExceptElementsList
, newCollection);
1654
if (collection != null && collection.
_lockedAllExceptElementsList
== null)
1655
collection._lockedAllExceptElementsList =
_lockedAllExceptElementsList
;
1658
_lockedAllExceptElementsList
.ClearInternal(false);
1660
if (!
_lockedAllExceptElementsList
.Contains(key) || key == ElementTagName)
1661
_lockedAllExceptElementsList
.Add(key, ConfigurationValueFlags.Default); // add the local copy
1665
if (!(string.IsNullOrEmpty(prop.Name) ||
_lockedAllExceptElementsList
.Contains(prop.Name)) &&
1680
if (
_lockedAllExceptElementsList
== null) {
1682
_lockedAllExceptElementsList
.ClearSeedList();
1684
defaultCollection._lockedAllExceptElementsList =
_lockedAllExceptElementsList
;
System\Configuration\ConfigurationElementCollection.cs (4)
213
_lockedAllExceptElementsList = sourceElement.
_lockedAllExceptElementsList
;
230
if (parentElement.
_lockedAllExceptElementsList
!= null)
231
_lockedAllExceptElementsList = UnMergeLockList(sourceElement.
_lockedAllExceptElementsList
,
232
parentElement.
_lockedAllExceptElementsList
, saveMode);