5 references to InternalAlloc
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\ComAwareWeakReference.cs (2)
133nint newHandle = GCHandle.InternalAlloc(newRef, GCHandleType.Normal); 177nint newHandle = GCHandle.InternalAlloc(comAwareRef, GCHandleType.Normal);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (1)
44IntPtr handle = InternalAlloc(value, type);
src\libraries\System.Private.CoreLib\src\System\WeakReference.cs (1)
83nint h = GCHandle.InternalAlloc(target, trackResurrection ? GCHandleType.WeakTrackResurrection : GCHandleType.Weak);
src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (1)
83nint h = GCHandle.InternalAlloc(target, trackResurrection ? GCHandleType.WeakTrackResurrection : GCHandleType.Weak);