2 references to OpenEnvironmentKeyIfExists
Microsoft.DotNet.Cli.Utils (2)
WindowsRegistryEnvironmentPathEditor.cs (2)
14
using (RegistryKey? environmentKey =
OpenEnvironmentKeyIfExists
(writable: false, sdkEnvironmentVariableTarget: currentUserBeforeEvaluation))
22
using (RegistryKey? environmentKey =
OpenEnvironmentKeyIfExists
(writable: true, sdkEnvironmentVariableTarget: sdkEnvironmentVariableTarget))