1 write to _parent
System.Configuration.ConfigurationManager (1)
System\Configuration\BaseConfigurationRecord.cs (1)
325
_parent
= parent;
41 references to _parent
System.Configuration.ConfigurationManager (41)
System\Configuration\BaseConfigurationRecord.cs (39)
182
internal BaseConfigurationRecord Parent =>
_parent
;
184
internal bool IsRootConfig =>
_parent
== null;
186
internal bool IsMachineConfig =>
_parent
== _configRoot.RootConfigRecord;
193
=> IsLocationConfig ?
_parent
._configStreamInfo : _configStreamInfo;
209
internal bool IsEmpty => (
_parent
!= null)
330
_configStreamInfo = IsLocationConfig ?
_parent
.ConfigStreamInfo : new ConfigRecordStreamInfo();
356
if (IsLocationConfig && (
_parent
._locationSections != null))
359
_parent
.ResolveLocationSections();
362
while (i <
_parent
._locationSections.Count)
365
(LocationSectionRecord)
_parent
._locationSections[i];
374
_parent
._locationSections.RemoveAt(i);
387
BaseConfigurationRecord current =
_parent
;
434
current = current.
_parent
;
466
BaseConfigurationRecord current =
_parent
;
490
current = current.
_parent
;
540
_initDelayedRoot =
_parent
._initDelayedRoot ?? this;
546
Debug.Assert(!
_parent
.IsInitDelayed, "!_parent.IsInitDelayed");
995
_parent
.GetSectionRecursive(
1091
_parent
.GetSectionRecursive(
1655
return
_parent
.IsRootConfig || (
_parent
.FindFactoryRecord(configKey, true) == null);
1674
Debug.Assert(tConfigRecord.
_parent
.IsRootConfig,
1683
tConfigRecord = tConfigRecord.
_parent
;
1710
BaseConfigurationRecord currentConfigRecord = configRecord.
_parent
;
1872
FactoryRecord parentFactoryRecord =
_parent
.FindFactoryRecord(configKey, true);
2009
FactoryRecord parentFactoryRecord =
_parent
.FindFactoryRecord(configKey, true);
2162
if (
_parent
.IsRootConfig) return;
2171
Debug.Assert(UrlPath.IsSubpath(
_parent
.ConfigPath, input.SectionXmlInfo.TargetConfigPath));
2243
parent = parent.
_parent
;
2863
if (!
_parent
.IsRootConfig)
_parent
.ResolveLocationSections();
2935
BaseConfigurationRecord parent =
_parent
;
2985
parent = parent.
_parent
;
3329
BaseConfigurationRecord current = IsLocationConfig ?
_parent
.
_parent
:
_parent
;
3461
configRecord = configRecord.
_parent
;
3534
configRecord = configRecord.
_parent
;
3656
if (!
_parent
.IsRootConfig) return;
System\Configuration\MgmtConfigurationRecord.cs (2)
38
private MgmtConfigurationRecord MgmtParent => (MgmtConfigurationRecord)
_parent
;
1772
string definitionConfigPath = IsLocationConfig ?
_parent
.ConfigPath : ConfigPath;