1 write to _locationSections
System.Configuration.ConfigurationManager (1)
System\Configuration\BaseConfigurationRecord.cs (1)
3193
return
_locationSections
??= new ArrayList();
28 references to _locationSections
System.Configuration.ConfigurationManager (28)
System\Configuration\BaseConfigurationRecord.cs (18)
213
&& ((
_locationSections
== null) || (
_locationSections
.Count == 0));
356
if (IsLocationConfig && (_parent.
_locationSections
!= null))
362
while (i < _parent.
_locationSections
.Count)
365
(LocationSectionRecord)_parent.
_locationSections
[i];
374
_parent.
_locationSections
.RemoveAt(i);
394
if (current.
_locationSections
!= null)
398
foreach (LocationSectionRecord locationSectionRecord in current.
_locationSections
)
469
if (current.
_locationSections
!= null)
472
foreach (LocationSectionRecord locationSectionRecord in current.
_locationSections
)
677
_locationSections
?.Clear();
2869
if (
_locationSections
!= null)
2873
foreach (LocationSectionRecord locationSectionRecord in
_locationSections
)
2938
foreach (LocationSectionRecord locationSectionRecord in
_locationSections
)
2952
if (parent.
_locationSections
!= null)
2959
parent.
_locationSections
)
3452
if (configRecord.
_locationSections
!= null)
3455
foreach (LocationSectionRecord locationSectionRecord in configRecord.
_locationSections
)
System\Configuration\MgmtConfigurationRecord.cs (10)
520
if (current.
_locationSections
== null) return false;
522
foreach (LocationSectionRecord locationSectionRecord in current.
_locationSections
)
778
if (
_locationSections
!= null)
781
while (i <
_locationSections
.Count)
783
LocationSectionRecord locationSectionRecord = (LocationSectionRecord)
_locationSections
[i];
788
_locationSections
.RemoveAt(i);
1909
if (!IsLocationConfig && (
_locationSections
!= null) && (_removedSections != null) &&
1913
while (i <
_locationSections
.Count)
1915
LocationSectionRecord locationSectionRecord = (LocationSectionRecord)
_locationSections
[i];
1916
if (_removedSections.Contains(locationSectionRecord.ConfigKey))
_locationSections
.RemoveAt(i);