Fix incorrect signature of QCall (#25419)
authorMukul Sabharwal <mjsabby@gmail.com>
Wed, 26 Jun 2019 05:00:28 +0000 (22:00 -0700)
committerJan Kotas <jkotas@microsoft.com>
Wed, 26 Jun 2019 05:00:28 +0000 (22:00 -0700)
src/System.Private.CoreLib/src/System/GC.cs

index 26bc6c7..89c277e 100644 (file)
@@ -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();