19 references to InternalGet
System.Private.CoreLib (19)
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\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
516if (refCountedHandle != IntPtr.Zero && GCHandle.InternalGet(refCountedHandle) != null)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (2)
91return InternalGet(GetHandleValue(handle)); 125object? target = InternalGet(GetHandleValue(handle));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.T.cs (1)
52return Unsafe.As<T>(GCHandle.InternalGet(handle));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\PinnedGCHandle.T.cs (1)
54return Unsafe.As<T>(GCHandle.InternalGet(handle));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WeakGCHandle.T.cs (1)
56T? obj = Unsafe.As<T?>(GCHandle.InternalGet(handle));
src\System\GC.CoreCLR.cs (1)
298object? obj = GCHandle.InternalGet(wo.WeakHandle);
src\System\MulticastDelegate.CoreCLR.cs (3)
602this._methodBase = GCHandle.InternalGet(gchandle); 612this._methodBase = GCHandle.InternalGet(gchandle); 621this._methodBase = GCHandle.InternalGet(gchandle);
src\System\Runtime\CompilerServices\StaticsHelpers.cs (1)
205object? threadStaticObject = GCHandle.InternalGet(objHandle);
src\System\RuntimeType.CoreCLR.cs (3)
2398object? cache = GCHandle.InternalGet(m_cache); 2413object? cache = GCHandle.InternalGet(m_cache); 2436RuntimeTypeCache? cache = (RuntimeTypeCache?)GCHandle.InternalGet(m_cache);