8 references to InternalAlloc
System.Private.CoreLib (8)
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)
47IntPtr 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)
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);