45 references to ConfigurationUserLevel
Microsoft.Build (2)
Definition\ToolsetConfigurationReader.cs (2)
278return ConfigurationManager.OpenMappedExeConfiguration(configFile, ConfigurationUserLevel.None); 282return ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
Microsoft.Build.Engine.UnitTests (1)
Definition\ToolsetConfigurationReaderTestHelper.cs (1)
75: ConfigurationManager.OpenMappedExeConfiguration(s_configFile, ConfigurationUserLevel.None);
System.Configuration (1)
System.Configuration.cs (1)
35[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Configuration.ConfigurationUserLevel))]
System.Configuration.ConfigurationManager (40)
System\Configuration\ClientConfigurationHost.cs (19)
399private static ConfigurationUserLevel GetUserLevel(string configPath) 401ConfigurationUserLevel level; 406level = ConfigurationUserLevel.None; 409level = ConfigurationUserLevel.None; 412level = ConfigurationUserLevel.PerUserRoamingAndLocal; 415level = ConfigurationUserLevel.PerUserRoaming; 419level = ConfigurationUserLevel.None; 427ConfigurationUserLevel userLevel, string exePath) 432case ConfigurationUserLevel.None: 433case ConfigurationUserLevel.PerUserRoaming: 434case ConfigurationUserLevel.PerUserRoamingAndLocal: 451case ConfigurationUserLevel.None: 455case ConfigurationUserLevel.PerUserRoaming: 458goto case ConfigurationUserLevel.None; 459case ConfigurationUserLevel.PerUserRoamingAndLocal: 462goto case ConfigurationUserLevel.PerUserRoaming; 473case ConfigurationUserLevel.None: 476case ConfigurationUserLevel.PerUserRoaming: 479case ConfigurationUserLevel.PerUserRoamingAndLocal:
System\Configuration\ClientSettingsStore.cs (12)
29ConfigurationUserLevel userLevel = isRoaming ? ConfigurationUserLevel.PerUserRoaming : 30ConfigurationUserLevel.PerUserRoamingAndLocal; 123ConfigurationUserLevel userLevel = isUserScoped ? ConfigurationUserLevel.PerUserRoaming : ConfigurationUserLevel.None; 257ConfigurationUserLevel userLevel = (ConfigurationUserLevel)hostInitConfigurationParams[0]; 262ConfigurationUserLevel.None => ClientHost.GetExeConfigPath(), 263ConfigurationUserLevel.PerUserRoaming => ClientHost.GetRoamingUserConfigPath(), 264ConfigurationUserLevel.PerUserRoamingAndLocal => ClientHost.GetLocalUserConfigPath(), 281internal static Configuration OpenExeConfiguration(ConfigurationUserLevel userLevel)
System\Configuration\ConfigurationManager.cs (7)
171return OpenExeConfigurationImpl(null, true, ConfigurationUserLevel.None, null); 176return OpenExeConfigurationImpl(fileMap, true, ConfigurationUserLevel.None, null); 179public static Configuration OpenExeConfiguration(ConfigurationUserLevel userLevel) 186return OpenExeConfigurationImpl(null, false, ConfigurationUserLevel.None, exePath); 190ConfigurationUserLevel userLevel) 196ConfigurationUserLevel userLevel, bool preLoad) 202ConfigurationUserLevel userLevel, string exePath, bool preLoad = false)
System\Configuration\ExeContext.cs (2)
8internal ExeContext(ConfigurationUserLevel userContext, 20public ConfigurationUserLevel UserLevel { get; }
System.Windows.Forms.Tests (1)
System\Windows\Forms\UserConfigDisposableFixture.cs (1)
22var configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);