15 writes to _lockedElementsList
System.Configuration (15)
System\Configuration\ConfigurationElement.cs (13)
189
_lockedElementsList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElements);
199
collection.
_lockedElementsList
= _lockedElementsList; //point to the same instance of the collection from parent
306
_lockedElementsList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElements);
513
_lockedElementsList
= null;
530
_lockedElementsList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElements);
539
collection.
_lockedElementsList
= _lockedElementsList;
993
_lockedElementsList
= sourceElement._lockedElementsList;
1001
_lockedElementsList
= UnMergeLockList(sourceElement._lockedElementsList,
1251
elem.
_lockedElementsList
= null;
1608
_lockedElementsList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElements);
1617
collection.
_lockedElementsList
= _lockedElementsList;
1677
_lockedElementsList
= new ConfigurationLockCollection(this, ConfigurationLockCollectionType.LockedElements);
1679
defaultCollection.
_lockedElementsList
= _lockedElementsList;
System\Configuration\ConfigurationElementCollection.cs (2)
216
_lockedElementsList
= sourceElement._lockedElementsList;
225
_lockedElementsList
= UnMergeLockList(sourceElement._lockedElementsList,
46 references to _lockedElementsList
System.Configuration (46)
System\Configuration\ConfigurationElement.cs (42)
187
if (source.
_lockedElementsList
!= null) {
188
if (
_lockedElementsList
== null) {
198
if (collection.
_lockedElementsList
== null) {
199
collection._lockedElementsList =
_lockedElementsList
; //point to the same instance of the collection from parent
204
foreach (string key in source.
_lockedElementsList
) {
205
_lockedElementsList
.Add(key, ConfigurationValueFlags.Inherited); // Mark entry as from the parent - read only
207
collection.
_lockedElementsList
.Add(key, ConfigurationValueFlags.Inherited); // add the local copy
305
if (
_lockedElementsList
== null) {
308
return
_lockedElementsList
;
350
if (
_lockedElementsList
!= null &&
_lockedElementsList
.IsModified) {
381
if (
_lockedElementsList
!= null) {
382
_lockedElementsList
.ResetModified();
482
if(((
_lockedElementsList
!= null) &&
483
(
_lockedElementsList
.DefinedInParent(LockAll) ||
_lockedElementsList
.DefinedInParent(elementName))) ||
499
if (
_lockedElementsList
!= null) {
500
_lockedElementsList
.RemoveInheritedLocks();
529
if (parentElement.
_lockedElementsList
!= null) {
538
if (collection.
_lockedElementsList
== null) {
539
collection._lockedElementsList =
_lockedElementsList
;
544
foreach (string key in parentElement.
_lockedElementsList
) {
545
_lockedElementsList
.Add(key, ConfigurationValueFlags.Inherited); // Mark entry as from the parent - read only
993
_lockedElementsList = sourceElement.
_lockedElementsList
;
1000
if (parentElement.
_lockedElementsList
!= null)
1001
_lockedElementsList = UnMergeLockList(sourceElement.
_lockedElementsList
,
1002
parentElement.
_lockedElementsList
, saveMode);
1132
if ((
_lockedElementsList
!= null &&
_lockedElementsList
.DefinedInParent(elementName)) ||
1219
DataToWrite |= SerializeLockList(
_lockedElementsList
, LockElementsKey, writer);
1238
if (!((
_lockedElementsList
!= null &&
_lockedElementsList
.DefinedInParent(key)) ||
1449
if ((
_lockedElementsList
!= null && (
_lockedElementsList
.Contains(reader.Name) ||
1450
(
_lockedElementsList
.Contains(LockAll) && reader.Name != ElementTagName))) ||
1607
if (
_lockedElementsList
== null)
1616
if (collection != null && collection.
_lockedElementsList
== null)
1617
collection._lockedElementsList =
_lockedElementsList
;
1621
if (!
_lockedElementsList
.Contains(key)) {
1622
_lockedElementsList
.Add(key, ConfigurationValueFlags.Default); // add the local copy
1676
if (
_lockedElementsList
== null) {
1679
defaultCollection._lockedElementsList =
_lockedElementsList
;
System\Configuration\ConfigurationElementCollection.cs (4)
216
_lockedElementsList = sourceElement.
_lockedElementsList
;
224
if (parentElement.
_lockedElementsList
!= null)
225
_lockedElementsList = UnMergeLockList(sourceElement.
_lockedElementsList
,
226
parentElement.
_lockedElementsList
, saveMode);