21 references to Instance
System.Configuration.ConfigurationManager (21)
System\Configuration\ApplicationSettingsBase.cs (2)
484
settingsProvider.ApplicationName = ConfigurationManagerInternalFactory.
Instance
.ExeProductName;
654
provider.ApplicationName = ConfigurationManagerInternalFactory.
Instance
.ExeProductName;
System\Configuration\ClientSettingsStore.cs (11)
89
if (isUserScoped && !ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig)
113
if (isUserScoped && !ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig)
127
fileMap.ExeConfigFilename = ConfigurationManagerInternalFactory.
Instance
.ApplicationConfigUri;
156
if (!ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig)
174
if (!ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig)
274
string.Equals(filename, ConfigurationManagerInternalFactory.
Instance
.MachineConfigPath, StringComparison.OrdinalIgnoreCase) ||
275
string.Equals(filename, ConfigurationManagerInternalFactory.
Instance
.ApplicationConfigUri, StringComparison.OrdinalIgnoreCase) ||
276
string.Equals(filename, ConfigurationManagerInternalFactory.
Instance
.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase) ||
277
string.Equals(filename, ConfigurationManagerInternalFactory.
Instance
.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase);
314
if (string.Equals(streamName, ConfigurationManagerInternalFactory.
Instance
.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase) ||
315
string.Equals(streamName, ConfigurationManagerInternalFactory.
Instance
.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase))
System\Configuration\LocalFileSettingsProvider.cs (6)
107
if (isUserSetting && !ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig)
279
if (!ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig)
289
? ConfigurationManagerInternalFactory.
Instance
.ExeRoamingConfigDirectory
290
: ConfigurationManagerInternalFactory.
Instance
.ExeLocalConfigDirectory;
293
if (!Version.TryParse(ConfigurationManagerInternalFactory.
Instance
.ExeProductVersion, out currentVersion))
327
file = Path.Combine(previousDirectory.FullName, ConfigurationManagerInternalFactory.
Instance
.UserConfigFilename);
System\Diagnostics\DiagnosticsConfiguration.cs (2)
128
!ConfigurationManagerInternalFactory.
Instance
.SetConfigurationSystemInProgress;
140
ConfigurationManagerInternalFactory.
Instance
.SetConfigurationSystemInProgress)