20 references to InternalGet
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\ComAwareWeakReference.cs (6)
103
internal object? Target => GCHandle.
InternalGet
(_weakHandle) ?? RehydrateTarget();
113
target = GCHandle.
InternalGet
(_weakHandle);
146
return Unsafe.As<ComAwareWeakReference>(GCHandle.
InternalGet
(taggedHandle & ~HandleTagBits));
153
return Unsafe.As<ComAwareWeakReference>(GCHandle.
InternalGet
(taggedHandle & ~HandleTagBits)).Target;
159
return Unsafe.As<ComAwareWeakReference>(GCHandle.
InternalGet
(taggedHandle & ~HandleTagBits))._weakHandle;
167
Unsafe.As<ComAwareWeakReference>(GCHandle.
InternalGet
(taggedHandle & ~HandleTagBits));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (2)
88
return
InternalGet
(GetHandleValue(handle));
122
object? target =
InternalGet
(GetHandleValue(handle));
src\libraries\System.Private.CoreLib\src\System\WeakReference.cs (2)
129
bool result = GCHandle.
InternalGet
(wh) != null;
175
target = GCHandle.
InternalGet
(th);
src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (1)
154
target = Unsafe.As<T?>(GCHandle.
InternalGet
(th));
src\System\GC.CoreCLR.cs (1)
296
object? obj = GCHandle.
InternalGet
(wo.WeakHandle);
src\System\MulticastDelegate.CoreCLR.cs (3)
601
this._methodBase = GCHandle.
InternalGet
(gchandle);
611
this._methodBase = GCHandle.
InternalGet
(gchandle);
620
this._methodBase = GCHandle.
InternalGet
(gchandle);
src\System\Runtime\CompilerServices\StaticsHelpers.cs (1)
205
object? threadStaticObject = GCHandle.
InternalGet
(objHandle);
src\System\Runtime\InteropServices\ComWrappers.cs (1)
97
return Unsafe.As<T>(GCHandle.
InternalGet
(comInstance->GcHandle));
src\System\RuntimeType.CoreCLR.cs (3)
2422
object? cache = GCHandle.
InternalGet
(m_cache);
2437
object? cache = GCHandle.
InternalGet
(m_cache);
2460
RuntimeTypeCache? cache = (RuntimeTypeCache?)GCHandle.
InternalGet
(m_cache);