Skip to content

Commit

Permalink
Update StubHelpers.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky authored and github-actions committed Oct 22, 2024
1 parent b699102 commit 47e77c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ internal static unsafe void ConvertContentsToNative(ICustomMarshaler marshaler,
*pNativeHome = marshaler.MarshalManagedToNative(pManagedHome);
}

internal static void ConvertContentsToManaged(ICustomMarshaler marshaler, ref object pManagedHome, IntPtr* pNativeHome)
internal static void ConvertContentsToManaged(ICustomMarshaler marshaler, ref object? pManagedHome, IntPtr* pNativeHome)
{
// COMPAT: We never pass null to MarshalNativeToManaged.
if (*pNativeHome == IntPtr.Zero)
Expand Down

0 comments on commit 47e77c6

Please sign in to comment.