Skip to content

Commit 44bccb8

Browse files
committed
refactor: ensure correct ACCESS_MASK is used
1 parent 0e2083a commit 44bccb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deadlock-dotnet-sdk/Domain/SafeHandleEx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using Windows.Win32.Security;
88
using Windows.Win32.System.Threading;
99
using static Windows.Win32.PInvoke;
10+
using ACCESS_MASK = PInvoke.Kernel32.ACCESS_MASK;
1011

1112
namespace deadlock_dotnet_sdk.Domain;
1213

@@ -92,7 +93,6 @@ internal SafeHandleEx(NativeMethods.SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX sysHandleE
9293
public ushort CreatorBackTraceIndex => SysHandleEx.CreatorBackTraceIndex;
9394
/// <inheritdoc cref="SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX.GrantedAccess"/>
9495
public ACCESS_MASK GrantedAccess => SysHandleEx.GrantedAccess;
95-
9696
/// <summary>
9797
/// The Type of the object as a string.
9898
/// </summary>

0 commit comments

Comments
 (0)