10 writes to _lockedAttributesList
System.Configuration.ConfigurationManager (10)
System\Configuration\ConfigurationElement.cs (8)
89
public ConfigurationLockCollection LockAttributes =>
_lockedAttributesList
??= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedAttributes);
265
_lockedAttributesList
??= new ConfigurationLockCollection(this,
539
_lockedAttributesList
= null;
553
_lockedAttributesList
= new ConfigurationLockCollection(this,
884
_lockedAttributesList
= sourceElement._lockedAttributesList;
892
_lockedAttributesList
= UnMergeLockList(sourceElement._lockedAttributesList,
1159
elem.
_lockedAttributesList
= null;
1585
_lockedAttributesList
??= new ConfigurationLockCollection(this,
System\Configuration\ConfigurationElementCollection.cs (2)
262
_lockedAttributesList
= sourceElement._lockedAttributesList;
271
_lockedAttributesList
= UnMergeLockList(sourceElement._lockedAttributesList,
38 references to _lockedAttributesList
System.Configuration.ConfigurationManager (38)
System\Configuration\ConfigurationElement.cs (34)
83
internal ConfigurationLockCollection LockedAttributesList =>
_lockedAttributesList
;
262
if (source.
_lockedAttributesList
!= null)
268
foreach (string key in source.
_lockedAttributesList
)
269
_lockedAttributesList
.Add(key, ConfigurationValueFlags.Inherited);
356
if (source == null || (source.
_lockedAttributesList
== null && source._lockedAllExceptAttributesList == null)) return;
360
if (((source.
_lockedAttributesList
!= null) &&
361
(source.
_lockedAttributesList
.Contains(propInfo.Name) ||
362
source.
_lockedAttributesList
.Contains(LockAll))) ||
415
|| ((
_lockedAttributesList
!= null) &&
_lockedAttributesList
.IsModified)
431
_lockedAttributesList
?.ResetModified();
531
_lockedAttributesList
?.RemoveInheritedLocks();
550
if (parentElement.
_lockedAttributesList
!= null)
555
foreach (string key in parentElement.
_lockedAttributesList
)
556
_lockedAttributesList
.Add(key, ConfigurationValueFlags.Inherited);
631
(((
_lockedAttributesList
!= null) &&
632
(
_lockedAttributesList
.Contains(key) ||
633
_lockedAttributesList
.Contains(LockAll))) ||
834
((
_lockedAttributesList
!= null) &&
835
(
_lockedAttributesList
.DefinedInParent(prop.Name) ||
_lockedAttributesList
.DefinedInParent(LockAll))) ||
884
_lockedAttributesList = sourceElement.
_lockedAttributesList
;
890
if (parentElement.
_lockedAttributesList
!= null)
892
_lockedAttributesList = UnMergeLockList(sourceElement.
_lockedAttributesList
,
893
parentElement.
_lockedAttributesList
, saveMode);
1077
((
_lockedAttributesList
!= null) &&
_lockedAttributesList
.DefinedInParent(prop.Name)))
1115
dataToWrite |= SerializeLockList(
_lockedAttributesList
, LockAttributesKey, writer);
1421
if (((
_lockedAttributesList
!= null) &&
1422
(
_lockedAttributesList
.Contains(propertyName) ||
_lockedAttributesList
.Contains(LockAll))) ||
1591
if (!
_lockedAttributesList
.Contains(key))
1592
_lockedAttributesList
.Add(key, ConfigurationValueFlags.Default); // add the local copy
1595
_lockedAttributesList
.Add(key,
System\Configuration\ConfigurationElementCollection.cs (4)
262
_lockedAttributesList = sourceElement.
_lockedAttributesList
;
269
if (parentElement.
_lockedAttributesList
!= null)
271
_lockedAttributesList = UnMergeLockList(sourceElement.
_lockedAttributesList
,
272
parentElement.
_lockedAttributesList
, saveMode);