14 references to InternalGet
System.Private.CoreLib (14)
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
520
if (refCountedHandle != IntPtr.Zero && GCHandle.
InternalGet
(refCountedHandle) != null)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (2)
91
return
InternalGet
(GetHandleValue(handle));
125
object? target =
InternalGet
(GetHandleValue(handle));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.T.cs (1)
52
return Unsafe.As<T>(GCHandle.
InternalGet
(handle)!);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\PinnedGCHandle.T.cs (1)
54
return Unsafe.As<T>(GCHandle.
InternalGet
(handle)!);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WeakGCHandle.T.cs (1)
56
T? obj = Unsafe.As<T>(GCHandle.
InternalGet
(handle));
src\runtime\src\libraries\System.Private.CoreLib\src\System\WeakReference.cs (2)
132
bool result = GCHandle.
InternalGet
(wh) != null;
184
target = GCHandle.
InternalGet
(th);
src\runtime\src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (1)
159
target = Unsafe.As<T>(GCHandle.
InternalGet
(th));