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