282 references to RegistryKey
IIS.FunctionalTests (5)
IIS.LongTests (6)
IIS.NewHandler.FunctionalTests (6)
IIS.NewShim.FunctionalTests (6)
IIS.ShadowCopy.Tests (4)
IISExpress.FunctionalTests (5)
Microsoft.AspNetCore.DataProtection (23)
Microsoft.AspNetCore.DataProtection.Tests (13)
Microsoft.AspNetCore.InternalTesting.Tests (4)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Microsoft.Build (21)
Evaluation\IntrinsicFunctions.cs (11)
304using (RegistryKey key = GetBaseKeyFromKeyName(keyName, view, out string subKeyName))
308using (RegistryKey subKey = key.OpenSubKey(subKeyName, false))
774private static RegistryKey GetBaseKeyFromKeyName(string keyName, RegistryView view, out string subKeyName)
792RegistryKey basekey = null;
797basekey = RegistryKey.OpenBaseKey(RegistryHive.CurrentUser, view);
800basekey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, view);
803basekey = RegistryKey.OpenBaseKey(RegistryHive.ClassesRoot, view);
806basekey = RegistryKey.OpenBaseKey(RegistryHive.Users, view);
809basekey = RegistryKey.OpenBaseKey(RegistryHive.PerformanceData, view);
812basekey = RegistryKey.OpenBaseKey(RegistryHive.CurrentConfig, view);
816basekey = RegistryKey.OpenBaseKey(RegistryHive.DynData, view);
Microsoft.Build.CommandLine.UnitTests (10)
Microsoft.Build.Engine.UnitTests (10)
Microsoft.Build.Framework (3)
Microsoft.Build.Tasks.Core (33)
Microsoft.Build.Utilities.Core (15)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.VisualBasic.Core (5)
Microsoft.VisualBasic.Forms (6)
Microsoft.VisualStudio.LanguageServices (14)
Microsoft.Win32.Registry (23)
artifacts\obj\Microsoft.Win32.Registry\Debug\net10.0\Microsoft.Win32.Registry.notsupported.cs (23)
11public static readonly Microsoft.Win32.RegistryKey ClassesRoot;
12public static readonly Microsoft.Win32.RegistryKey CurrentConfig;
13public static readonly Microsoft.Win32.RegistryKey CurrentUser;
14public static readonly Microsoft.Win32.RegistryKey LocalMachine;
15public static readonly Microsoft.Win32.RegistryKey PerformanceData;
16public static readonly Microsoft.Win32.RegistryKey Users;
39public Microsoft.Win32.RegistryKey CreateSubKey(string subkey) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
40public Microsoft.Win32.RegistryKey CreateSubKey(string subkey, Microsoft.Win32.RegistryKeyPermissionCheck permissionCheck) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
41public Microsoft.Win32.RegistryKey CreateSubKey(string subkey, Microsoft.Win32.RegistryKeyPermissionCheck permissionCheck, Microsoft.Win32.RegistryOptions registryOptions) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
42public Microsoft.Win32.RegistryKey CreateSubKey(string subkey, Microsoft.Win32.RegistryKeyPermissionCheck permissionCheck, Microsoft.Win32.RegistryOptions registryOptions, System.Security.AccessControl.RegistrySecurity? registrySecurity) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
43public Microsoft.Win32.RegistryKey CreateSubKey(string subkey, Microsoft.Win32.RegistryKeyPermissionCheck permissionCheck, System.Security.AccessControl.RegistrySecurity? registrySecurity) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
44public Microsoft.Win32.RegistryKey CreateSubKey(string subkey, bool writable) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
45public Microsoft.Win32.RegistryKey CreateSubKey(string subkey, bool writable, Microsoft.Win32.RegistryOptions options) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
54public static Microsoft.Win32.RegistryKey FromHandle(Microsoft.Win32.SafeHandles.SafeRegistryHandle handle) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
55public static Microsoft.Win32.RegistryKey FromHandle(Microsoft.Win32.SafeHandles.SafeRegistryHandle handle, Microsoft.Win32.RegistryView view) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
66public static Microsoft.Win32.RegistryKey OpenBaseKey(Microsoft.Win32.RegistryHive hKey, Microsoft.Win32.RegistryView view) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
67public static Microsoft.Win32.RegistryKey OpenRemoteBaseKey(Microsoft.Win32.RegistryHive hKey, string machineName) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
68public static Microsoft.Win32.RegistryKey OpenRemoteBaseKey(Microsoft.Win32.RegistryHive hKey, string machineName, Microsoft.Win32.RegistryView view) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
69public Microsoft.Win32.RegistryKey? OpenSubKey(string name) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
70public Microsoft.Win32.RegistryKey? OpenSubKey(string name, Microsoft.Win32.RegistryKeyPermissionCheck permissionCheck) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
71public Microsoft.Win32.RegistryKey? OpenSubKey(string name, Microsoft.Win32.RegistryKeyPermissionCheck permissionCheck, System.Security.AccessControl.RegistryRights rights) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
72public Microsoft.Win32.RegistryKey? OpenSubKey(string name, bool writable) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
73public Microsoft.Win32.RegistryKey? OpenSubKey(string name, System.Security.AccessControl.RegistryRights rights) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
Microsoft.Win32.Registry.AccessControl (3)
MSBuildTaskHost (2)
mscorlib (1)
PresentationCore (7)
PresentationFramework (21)
PresentationUI (3)
RunTests (2)
SignalR.Client.FunctionalTestApp (1)
System.Windows.Forms (14)
System.Windows.Forms.Design (9)
System.Windows.Forms.Primitives (2)
System.Windows.Forms.Tests (2)