35 references to IsLocationConfig
System.Configuration.ConfigurationManager (35)
System\Configuration\BaseConfigurationRecord.cs (12)
189
=>
IsLocationConfig
? _parent._configStreamInfo : _configStreamInfo;
326
_configStreamInfo =
IsLocationConfig
? _parent.ConfigStreamInfo : new ConfigRecordStreamInfo();
352
if (
IsLocationConfig
&& (_parent._locationSections != null))
380
if (
IsLocationConfig
&& Host.IsLocationApplicable(_configPath))
397
IsLocationConfig
&&
491
if (!
IsLocationConfig
)
1169
Debug.Assert(!(
IsLocationConfig
&& getLkg),
1219
Debug.Assert(
IsLocationConfig
,
2218
if (
IsLocationConfig
&& ReferenceEquals(immediateParent, parent))
2250
if (
IsLocationConfig
) atDeclarationLevel = Parent.GetFactoryRecord(configKey, true) != null;
3325
BaseConfigurationRecord current =
IsLocationConfig
? _parent._parent : _parent;
3486
if (!
IsLocationConfig
&& ConfigStreamInfo.HasStreamInfos)
System\Configuration\ConfigurationSectionGroup.cs (2)
42
if (_configRecord.
IsLocationConfig
)
155
if ((_configRecord != null) && _configRecord.
IsLocationConfig
)
System\Configuration\MgmtConfigurationRecord.cs (19)
102
if (
IsLocationConfig
&&
349
Debug.Assert(
IsLocationConfig
, "Indirect location inputs exist only in location config record");
501
if (
IsLocationConfig
)
657
if (
IsLocationConfig
)
764
if (!
IsLocationConfig
&& (_factoryRecords != null) && _factoryRecords.Contains(configKey))
817
if (
IsLocationConfig
)
937
if (!
IsLocationConfig
) _factoryRecords?.Remove(descendent.ConfigKey);
1293
if (
IsLocationConfig
)
1772
string definitionConfigPath =
IsLocationConfig
? _parent.ConfigPath : ConfigPath;
1909
if (!
IsLocationConfig
&& (_locationSections != null) && (_removedSections != null) &&
2080
Debug.Assert(
IsLocationConfig
, "IsLocationConfig");
2328
if (!
IsLocationConfig
)
2694
if (
IsLocationConfig
)
2784
if (HasRemovedSectionsOrGroups && !
IsLocationConfig
&& Host.SupportsLocation)
2802
if (!elementLocationPathApplies && !
IsLocationConfig
) removedSectionOrGroup = true;
2810
if (!elementLocationPathApplies && !
IsLocationConfig
) removedSectionOrGroup = true;
2828
if (!elementLocationPathApplies && !
IsLocationConfig
)
2851
if (!elementLocationPathApplies && !
IsLocationConfig
)
3154
if (
IsLocationConfig
)
System\Configuration\SectionInformation.cs (2)
519
_configRecord.
IsLocationConfig
)
540
if ((_configRecord != null) && _configRecord.
IsLocationConfig
)