20 references to RegistryValueKind
Microsoft.AspNetCore.DataProtection (1)
Repositories\RegistryXmlRepository.cs (1)
156RegistryKey.SetValue(valueName, element.ToString(), RegistryValueKind.String);
Microsoft.Build.Engine.UnitTests (10)
Evaluation\Expander_Tests.cs (10)
1749key.SetValue("Value", "String", RegistryValueKind.String); 1774key.SetValue("Value", utfText, RegistryValueKind.Binary); 1796key.SetValue("Value", 123456, RegistryValueKind.DWord); 1819key.SetValue("Value", "%" + envVar + "%", RegistryValueKind.ExpandString); 1841key.SetValue("Value", (long)123456789123456789, RegistryValueKind.QWord); 1863key.SetValue("Value", new string[] { "A", "B", "C", "D" }, RegistryValueKind.MultiString); 3773key.SetValue("Value", "%" + envVar + "%", RegistryValueKind.ExpandString); 3797key.SetValue(String.Empty, "%" + envVar + "%", RegistryValueKind.ExpandString); 3821key.SetValue(String.Empty, "%" + envVar + "%", RegistryValueKind.ExpandString); 3845key.SetValue(String.Empty, "%" + envVar + "%", RegistryValueKind.ExpandString);
Microsoft.Build.Tasks.Core (2)
BootstrapperUtil\Util.cs (2)
181if (additionalPackagePathsRegKey.GetValueKind(key) == RegistryValueKind.String) 215if (oValue != null && subKey.GetValueKind(registryValue) == RegistryValueKind.String)
Microsoft.Win32.Registry (3)
artifacts\obj\Microsoft.Win32.Registry\Debug\net9.0\Microsoft.Win32.Registry.notsupported.cs (3)
19public static void SetValue(string keyName, string? valueName, object value, Microsoft.Win32.RegistryValueKind valueKind) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); } 64public Microsoft.Win32.RegistryValueKind GetValueKind(string? name) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); } 76public void SetValue(string? name, object value, Microsoft.Win32.RegistryValueKind valueKind) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Registry); }
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
17[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(Microsoft.Win32.RegistryValueKind))]
PresentationUI (3)
MS\Internal\Documents\RightsManagementProvider.cs (2)
406(defaultRMKey.GetValueKind(_registryValueNameForAccountName) == RegistryValueKind.String)) 413(defaultRMKey.GetValueKind(_registryValueNameForAccountType) == RegistryValueKind.DWord))
MS\Internal\Documents\RMPublishingDialog.cs (1)
341(defaultRMKey.GetValueKind(_registryValueNameForRMTemplatePath) == RegistryValueKind.String))