From d53a3ee7d2e772f7fad8a96657adc606d63ea02a Mon Sep 17 00:00:00 2001 From: Mukul Sabharwal Date: Tue, 25 Jun 2019 22:00:28 -0700 Subject: [PATCH] Fix incorrect signature of QCall (#25419) --- src/System.Private.CoreLib/src/System/GC.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System.Private.CoreLib/src/System/GC.cs b/src/System.Private.CoreLib/src/System/GC.cs index 26bc6c7..89c277e 100644 --- a/src/System.Private.CoreLib/src/System/GC.cs +++ b/src/System.Private.CoreLib/src/System/GC.cs @@ -348,7 +348,7 @@ namespace System private static extern IntPtr _RegisterFrozenSegment(IntPtr sectionAddress, IntPtr sectionSize); [DllImport(JitHelpers.QCall, CharSet = CharSet.Unicode)] - private static extern IntPtr _UnregisterFrozenSegment(IntPtr segmentHandle); + private static extern void _UnregisterFrozenSegment(IntPtr segmentHandle); [MethodImplAttribute(MethodImplOptions.InternalCall)] public static extern long GetAllocatedBytesForCurrentThread(); -- 2.7.4