35 references to IsLocationConfig
System.Configuration (35)
System\Configuration\BaseConfigurationRecord.cs (12)
342
if (
IsLocationConfig
) {
374
if (
IsLocationConfig
&& _parent._locationSections != null) {
400
if (
IsLocationConfig
&& Host.IsLocationApplicable(_configPath)) {
437
IsLocationConfig
&&
541
if (!
IsLocationConfig
) {
853
if (
IsLocationConfig
) {
1545
Debug.Assert(!(
IsLocationConfig
&& getLkg),
1597
Debug.Assert(
IsLocationConfig
, "indirectLocationInputs is non-null only in location config record");
2793
if (
IsLocationConfig
&& object.ReferenceEquals(immediateParent, parent)) {
2823
if (
IsLocationConfig
) {
3944
if (
IsLocationConfig
) {
4118
if (!
IsLocationConfig
&& ConfigStreamInfo.HasStreamInfos) {
System\Configuration\ConfigurationSectionGroup.cs (2)
123
if (_configRecord != null && _configRecord.
IsLocationConfig
) {
158
if (_configRecord.
IsLocationConfig
) {
System\Configuration\MgmtConfigurationRecord.cs (19)
73
if (
IsLocationConfig
&&
436
Debug.Assert(
IsLocationConfig
, "Indirect location inputs exist only in location config record");
583
if (
IsLocationConfig
) {
757
if (
IsLocationConfig
) {
885
if (!
IsLocationConfig
&& _factoryRecords != null && _factoryRecords.Contains(configKey)) {
941
if (
IsLocationConfig
) {
1097
if (!
IsLocationConfig
&& _factoryRecords != null) {
1476
if (
IsLocationConfig
)
1926
string definitionConfigPath = (
IsLocationConfig
) ? _parent.ConfigPath : ConfigPath;
2052
if (!
IsLocationConfig
&& _locationSections != null && _removedSections != null && _removedSections.Count > 0) {
2212
Debug.Assert(
IsLocationConfig
, "IsLocationConfig");
2447
if (!
IsLocationConfig
) {
2817
if (
IsLocationConfig
) {
2891
if (HasRemovedSectionsOrGroups && !
IsLocationConfig
&& Host.SupportsLocation) {
2906
if (!elementLocationPathApplies && !
IsLocationConfig
) {
2912
if (!elementLocationPathApplies && !
IsLocationConfig
) {
2926
else if (!elementLocationPathApplies && !
IsLocationConfig
) {
2945
else if (!elementLocationPathApplies && !
IsLocationConfig
) {
3255
if (
IsLocationConfig
) {
System\Configuration\SectionInformation.cs (2)
211
( _configRecord.
IsLocationConfig
) ) {
239
if (_configRecord != null && _configRecord.
IsLocationConfig
) {