7 references to WeakGCHandle
System.Net.Security (1)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (1)
568
handle._authOptionsHandle = new
WeakGCHandle
<SslAuthenticationOptions>(options);
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Gen2GcCallback.cs (1)
28
_weakTargetObj = new
WeakGCHandle
<object>(targetObj);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (3)
616
_proxyHandle = new
WeakGCHandle
<object>(comProxy, trackResurrection: !proxyHasFinalizer);
620
_proxyHandleTrackingResurrection = new
WeakGCHandle
<object>(comProxy, trackResurrection: true);
1458
rcwEntry = new
WeakGCHandle
<NativeObjectWrapper>(wrapper);
System\Runtime\InteropServices\PInvokeMarshal.cs (1)
136
thunkData->Handle = new
WeakGCHandle
<Delegate>(del, trackResurrection: true);
System.Private.TypeLoader (1)
Internal\Runtime\TypeLoader\TypeSystemContextFactory.cs (1)
19
private static WeakGCHandle<TypeSystemContext?> s_cachedContext = new
WeakGCHandle
<TypeSystemContext?>(null);