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