From 47e77c6b91f0bf308c5c9d384a41ce52636eee61 Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Mon, 21 Oct 2024 16:12:20 -0700 Subject: [PATCH] Update StubHelpers.cs --- src/coreclr/System.Private.CoreLib/src/System/StubHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/System.Private.CoreLib/src/System/StubHelpers.cs b/src/coreclr/System.Private.CoreLib/src/System/StubHelpers.cs index c2be0e4d7fae5..2d379d4326c88 100644 --- a/src/coreclr/System.Private.CoreLib/src/System/StubHelpers.cs +++ b/src/coreclr/System.Private.CoreLib/src/System/StubHelpers.cs @@ -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)