14 references to InternalGet
System.Private.CoreLib (14)
src\runtime\src\libraries\System.Private.CoreLib\src\System\ComAwareWeakReference.cs (5)
103internal object? Target => GCHandle.InternalGet(_weakHandle); 115target = Unsafe.As<T>(GCHandle.InternalGet(_weakHandle)); 149return Unsafe.As<ComAwareWeakReference>(GCHandle.InternalGet(taggedHandle & ~HandleTagBits)!); 156return Unsafe.As<ComAwareWeakReference>(GCHandle.InternalGet(taggedHandle & ~HandleTagBits)!); 164Unsafe.As<ComAwareWeakReference>(GCHandle.InternalGet(taggedHandle & ~HandleTagBits)!);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
520if (refCountedHandle != IntPtr.Zero && GCHandle.InternalGet(refCountedHandle) != null)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (2)
91return InternalGet(GetHandleValue(handle)); 125object? target = InternalGet(GetHandleValue(handle));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.T.cs (1)
52return Unsafe.As<T>(GCHandle.InternalGet(handle)!);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\PinnedGCHandle.T.cs (1)
54return Unsafe.As<T>(GCHandle.InternalGet(handle)!);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WeakGCHandle.T.cs (1)
56T? obj = Unsafe.As<T>(GCHandle.InternalGet(handle));
src\runtime\src\libraries\System.Private.CoreLib\src\System\WeakReference.cs (2)
132bool result = GCHandle.InternalGet(wh) != null; 184target = GCHandle.InternalGet(th);
src\runtime\src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (1)
159target = Unsafe.As<T>(GCHandle.InternalGet(th));