Skip to content

Commit a791edf

Browse files
Apply suggestion from @AaronRobinsonMSFT
1 parent e3c2ce3 commit a791edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/System.Private.CoreLib/src/System/StubHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ internal static unsafe Exception GetCOMHRExceptionObject(int hr, IntPtr pCPCMD,
14011401
}
14021402

14031403
[MethodImpl(MethodImplOptions.InternalCall)]
1404-
private static extern MethodTable* GetComInterfaceFromMethodDesc(IntPtr pCPCMD);
1404+
private static extern unsafe MethodTable* GetComInterfaceFromMethodDesc(IntPtr pCPCMD);
14051405
#endif // FEATURE_COMINTEROP
14061406

14071407
[ThreadStatic]

0 commit comments

Comments
 (0)