From: Mukul Sabharwal Date: Wed, 26 Jun 2019 05:00:28 +0000 (-0700) Subject: Fix incorrect signature of QCall (#25419) X-Git-Tag: accepted/tizen/unified/20190813.215958~40^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d53a3ee7d2e772f7fad8a96657adc606d63ea02a;p=platform%2Fupstream%2Fcoreclr.git Fix incorrect signature of QCall (#25419) --- 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();