23 references to Instance
System (23)
compmod\system\diagnostics\DiagnosticsConfiguration.cs (2)
185
!ConfigurationManagerInternalFactory.
Instance
.SetConfigurationSystemInProgress;
201
ConfigurationManagerInternalFactory.
Instance
.SetConfigurationSystemInProgress) {
sys\system\configuration\ApplicationSettingsBase.cs (2)
433
spdr.ApplicationName = ConfigurationManagerInternalFactory.
Instance
.ExeProductName;
585
provider.ApplicationName = ConfigurationManagerInternalFactory.
Instance
.ExeProductName;
sys\system\configuration\ClientSettingsStore.cs (13)
92
if( isUserScoped && !ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig) {
112
if( isUserScoped && !ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig) {
124
fileMap.ExeConfigFilename = ConfigurationManagerInternalFactory.
Instance
.ApplicationConfigUri;
148
if (!ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig) {
163
if (!ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig) {
268
String.Equals(filename, ConfigurationManagerInternalFactory.
Instance
.MachineConfigPath, StringComparison.OrdinalIgnoreCase) ||
269
String.Equals(filename, ConfigurationManagerInternalFactory.
Instance
.ApplicationConfigUri, StringComparison.OrdinalIgnoreCase) ||
270
String.Equals(filename, ConfigurationManagerInternalFactory.
Instance
.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase) ||
271
String.Equals(filename, ConfigurationManagerInternalFactory.
Instance
.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase);
299
if (String.Equals(streamName, ConfigurationManagerInternalFactory.
Instance
.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase)) {
304
else if (String.Equals(streamName, ConfigurationManagerInternalFactory.
Instance
.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase)) {
321
if (String.Equals(streamName, ConfigurationManagerInternalFactory.
Instance
.ExeLocalConfigPath, StringComparison.OrdinalIgnoreCase) ||
322
String.Equals(streamName, ConfigurationManagerInternalFactory.
Instance
.ExeRoamingConfigPath, StringComparison.OrdinalIgnoreCase)) {
sys\system\configuration\LocalFileSettingsProvider.cs (6)
130
if (isUserSetting && !ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig) {
315
if (!ConfigurationManagerInternalFactory.
Instance
.SupportsUserConfig) {
322
string userConfigPath = isRoaming ? ConfigurationManagerInternalFactory.
Instance
.ExeRoamingConfigDirectory : ConfigurationManagerInternalFactory.
Instance
.ExeLocalConfigDirectory;
323
Version curVer = CreateVersion(ConfigurationManagerInternalFactory.
Instance
.ExeProductVersion);
351
file = Path.Combine(prevDir.FullName, ConfigurationManagerInternalFactory.
Instance
.UserConfigFilename);