19 references to InternalGet
System.Private.CoreLib (19)
src\libraries\System.Private.CoreLib\src\System\ComAwareWeakReference.cs (5)
103
internal object? Target => GCHandle.
InternalGet
(_weakHandle);
115
target = Unsafe.As<T?>(GCHandle.
InternalGet
(_weakHandle));
149
return Unsafe.As<ComAwareWeakReference>(GCHandle.
InternalGet
(taggedHandle & ~HandleTagBits));
156
return Unsafe.As<ComAwareWeakReference>(GCHandle.
InternalGet
(taggedHandle & ~HandleTagBits));
164
Unsafe.As<ComAwareWeakReference>(GCHandle.
InternalGet
(taggedHandle & ~HandleTagBits));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
516
if (refCountedHandle != IntPtr.Zero && GCHandle.
InternalGet
(refCountedHandle) != null)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (2)
91
return
InternalGet
(GetHandleValue(handle));
125
object? target =
InternalGet
(GetHandleValue(handle));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.T.cs (1)
52
return Unsafe.As<T>(GCHandle.
InternalGet
(handle));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\PinnedGCHandle.T.cs (1)
54
return Unsafe.As<T>(GCHandle.
InternalGet
(handle));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WeakGCHandle.T.cs (1)
56
T? obj = Unsafe.As<T?>(GCHandle.
InternalGet
(handle));
src\System\GC.CoreCLR.cs (1)
298
object? obj = GCHandle.
InternalGet
(wo.WeakHandle);
src\System\MulticastDelegate.CoreCLR.cs (3)
602
this._methodBase = GCHandle.
InternalGet
(gchandle);
612
this._methodBase = GCHandle.
InternalGet
(gchandle);
621
this._methodBase = GCHandle.
InternalGet
(gchandle);
src\System\Runtime\CompilerServices\StaticsHelpers.cs (1)
205
object? threadStaticObject = GCHandle.
InternalGet
(objHandle);
src\System\RuntimeType.CoreCLR.cs (3)
2398
object? cache = GCHandle.
InternalGet
(m_cache);
2413
object? cache = GCHandle.
InternalGet
(m_cache);
2436
RuntimeTypeCache? cache = (RuntimeTypeCache?)GCHandle.
InternalGet
(m_cache);