Use same signature
authorManuel Pfemeter <m>
Tue, 11 Feb 2020 21:27:54 +0000 (22:27 +0100)
committerManuel Pfemeter <m>
Tue, 11 Feb 2020 21:27:54 +0000 (22:27 +0100)
src/libraries/Microsoft.Win32.Registry/src/Microsoft/Win32/RegistryKey.FileSystem.cs
src/libraries/Microsoft.Win32.Registry/src/System/Security/AccessControl/RegistrySecurity.FileSystem.cs

index 3a32fce..6f0565a 100644 (file)
@@ -97,7 +97,7 @@ namespace Microsoft.Win32
             throw new PlatformNotSupportedException(SR.PlatformNotSupported_Registry);
         }
 
-        private RegistryValueKind GetValueKindCore(string name)
+        private RegistryValueKind GetValueKindCore(string? name)
         {
             throw new PlatformNotSupportedException(SR.PlatformNotSupported_Registry);
         }
index d41a07e..2c81aaa 100644 (file)
@@ -8,7 +8,7 @@ namespace System.Security.AccessControl
 {
     public sealed partial class RegistrySecurity : NativeObjectSecurity
     {
-        private static Exception _HandleErrorCodeCore(int errorCode, string name, SafeHandle handle, object context)
+        private static Exception _HandleErrorCodeCore(int errorCode, string? name, SafeHandle? handle, object? context)
         {
             // TODO: Implement this
             throw new PlatformNotSupportedException();