1 write to _locationSections
System.Configuration.ConfigurationManager (1)
System\Configuration\BaseConfigurationRecord.cs (1)
3189
return
_locationSections
??= new ArrayList();
28 references to _locationSections
System.Configuration.ConfigurationManager (28)
System\Configuration\BaseConfigurationRecord.cs (18)
209
&& ((
_locationSections
== null) || (
_locationSections
.Count == 0));
352
if (IsLocationConfig && (_parent.
_locationSections
!= null))
358
while (i < _parent.
_locationSections
.Count)
361
(LocationSectionRecord)_parent.
_locationSections
[i];
370
_parent.
_locationSections
.RemoveAt(i);
390
if (current.
_locationSections
!= null)
394
foreach (LocationSectionRecord locationSectionRecord in current.
_locationSections
)
465
if (current.
_locationSections
!= null)
468
foreach (LocationSectionRecord locationSectionRecord in current.
_locationSections
)
673
_locationSections
?.Clear();
2865
if (
_locationSections
!= null)
2869
foreach (LocationSectionRecord locationSectionRecord in
_locationSections
)
2934
foreach (LocationSectionRecord locationSectionRecord in
_locationSections
)
2948
if (parent.
_locationSections
!= null)
2955
parent.
_locationSections
)
3448
if (configRecord.
_locationSections
!= null)
3451
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);