10 writes to _lockedAttributesList
System.Configuration (10)
System\Configuration\ConfigurationElement.cs (8)
156
_lockedAttributesList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedAttributes);
169
_lockedAttributesList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedAttributes);
511
_lockedAttributesList
= null;
522
_lockedAttributesList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedAttributes);
992
_lockedAttributesList
= sourceElement._lockedAttributesList;
998
_lockedAttributesList
= UnMergeLockList(sourceElement._lockedAttributesList,
1249
elem.
_lockedAttributesList
= null;
1575
_lockedAttributesList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedAttributes);
System\Configuration\ConfigurationElementCollection.cs (2)
215
_lockedAttributesList
= sourceElement._lockedAttributesList;
222
_lockedAttributesList
= UnMergeLockList(sourceElement._lockedAttributesList,
44 references to _lockedAttributesList
System.Configuration (44)
System\Configuration\ConfigurationElement.cs (40)
137
return
_lockedAttributesList
;
155
if (
_lockedAttributesList
== null) {
158
return
_lockedAttributesList
;
167
if (source.
_lockedAttributesList
!= null) {
168
if (
_lockedAttributesList
== null) {
171
foreach (string key in source.
_lockedAttributesList
)
172
_lockedAttributesList
.Add(key, ConfigurationValueFlags.Inherited); // Mark entry as from the parent - read only
246
if (source.
_lockedAttributesList
!= null || source._lockedAllExceptAttributesList != null) {
249
if ((source.
_lockedAttributesList
!= null && (source.
_lockedAttributesList
.Contains(propInfo.Name) ||
250
source.
_lockedAttributesList
.Contains(LockAll))) ||
342
if (
_lockedAttributesList
!= null &&
_lockedAttributesList
.IsModified) {
373
if (
_lockedAttributesList
!= null) {
374
_lockedAttributesList
.ResetModified();
496
if (
_lockedAttributesList
!= null) {
497
_lockedAttributesList
.RemoveInheritedLocks();
521
if (parentElement.
_lockedAttributesList
!= null) {
523
foreach (string key in parentElement.
_lockedAttributesList
)
524
_lockedAttributesList
.Add(key, ConfigurationValueFlags.Inherited); // Mark entry as from the parent - read only
593
(((
_lockedAttributesList
!= null) &&
594
(
_lockedAttributesList
.Contains(key) ||
595
_lockedAttributesList
.Contains(LockAll)) ||
917
(
_lockedAttributesList
!= null && (
_lockedAttributesList
.DefinedInParent(prop.Name) ||
_lockedAttributesList
.DefinedInParent(LockAll))) ||
992
_lockedAttributesList = sourceElement.
_lockedAttributesList
;
997
if (parentElement.
_lockedAttributesList
!= null)
998
_lockedAttributesList = UnMergeLockList(sourceElement.
_lockedAttributesList
,
999
parentElement.
_lockedAttributesList
, saveMode);
1183
(
_lockedAttributesList
!= null &&
_lockedAttributesList
.DefinedInParent(prop.Name))) {
1217
DataToWrite |= SerializeLockList(
_lockedAttributesList
, LockAttributesKey, writer);
1462
if ((
_lockedAttributesList
!= null && (
_lockedAttributesList
.Contains(propertyName) ||
_lockedAttributesList
.Contains(LockAll))) ||
1574
if (
_lockedAttributesList
== null)
1577
if (!
_lockedAttributesList
.Contains(key))
1578
_lockedAttributesList
.Add(key, ConfigurationValueFlags.Default); // add the local copy
1580
_lockedAttributesList
.Add(key, ConfigurationValueFlags.Modified | ConfigurationValueFlags.Inherited); // add the local copy
System\Configuration\ConfigurationElementCollection.cs (4)
215
_lockedAttributesList = sourceElement.
_lockedAttributesList
;
221
if (parentElement.
_lockedAttributesList
!= null)
222
_lockedAttributesList = UnMergeLockList(sourceElement.
_lockedAttributesList
,
223
parentElement.
_lockedAttributesList
, saveMode);