8 references to InternalAlloc
System.Private.CoreLib (8)
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)
47
IntPtr handle =
InternalAlloc
(value, type);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.T.cs (1)
35
_handle = GCHandle.
InternalAlloc
(target, GCHandleType.Normal);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\PinnedGCHandle.T.cs (1)
37
_handle = GCHandle.
InternalAlloc
(target, GCHandleType.Pinned);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WeakGCHandle.T.cs (1)
36
_handle = GCHandle.
InternalAlloc
(target, trackResurrection ? GCHandleType.WeakTrackResurrection : GCHandleType.Weak);
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);