35 references to IsLocationConfig
System.Configuration.ConfigurationManager (35)
System\Configuration\BaseConfigurationRecord.cs (12)
193
=>
IsLocationConfig
? _parent._configStreamInfo : _configStreamInfo;
330
_configStreamInfo =
IsLocationConfig
? _parent.ConfigStreamInfo : new ConfigRecordStreamInfo();
356
if (
IsLocationConfig
&& (_parent._locationSections != null))
384
if (
IsLocationConfig
&& Host.IsLocationApplicable(_configPath))
401
IsLocationConfig
&&
495
if (!
IsLocationConfig
)
1173
Debug.Assert(!(
IsLocationConfig
&& getLkg),
1223
Debug.Assert(
IsLocationConfig
,
2222
if (
IsLocationConfig
&& ReferenceEquals(immediateParent, parent))
2254
if (
IsLocationConfig
) atDeclarationLevel = Parent.GetFactoryRecord(configKey, true) != null;
3329
BaseConfigurationRecord current =
IsLocationConfig
? _parent._parent : _parent;
3490
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
)