diff options
author | Anirudh Agnihotry <anirudhagnihotry098@gmail.com> | 2019-04-12 04:05:42 +0300 |
---|---|---|
committer | dotnet-bot <dotnet-bot@microsoft.com> | 2019-04-22 19:37:57 +0300 |
commit | 452db222378890202b66ad8f9fe3553f1285e1c3 (patch) | |
tree | 59ea6fdf8c2c95cd01596e724da2140ac98a8a3e /netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegEnumValue.cs | |
parent | 88f40c05472cf5dc81ff926fa1cbbbbf235181ec (diff) |
Nullable: Interop.Adavapi32 (dotnet/coreclr#23875)
* interop definations nullified
* reverting null check and adding arguments nullable to match win32 function definations
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegEnumValue.cs')
-rw-r--r-- | netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegEnumValue.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegEnumValue.cs b/netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegEnumValue.cs index 28d24e208ab..3d455d0ccdb 100644 --- a/netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegEnumValue.cs +++ b/netcore/System.Private.CoreLib/shared/Interop/Windows/Advapi32/Interop.RegEnumValue.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#nullable enable #if REGISTRY_ASSEMBLY using Microsoft.Win32.SafeHandles; #else @@ -21,8 +22,8 @@ internal partial class Interop char[] lpValueName, ref int lpcbValueName, IntPtr lpReserved_MustBeZero, - int[] lpType, - byte[] lpData, - int[] lpcbData); + int[]? lpType, + byte[]? lpData, + int[]? lpcbData); } } |