7 references to WeakGCHandle
System.Net.Security (1)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (1)
568handle._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); 1458rcwEntry = new WeakGCHandle<NativeObjectWrapper>(wrapper);
System\Runtime\InteropServices\PInvokeMarshal.cs (1)
136thunkData->Handle = new WeakGCHandle<Delegate>(del, trackResurrection: true);
System.Private.TypeLoader (1)
Internal\Runtime\TypeLoader\TypeSystemContextFactory.cs (1)
19private static WeakGCHandle<TypeSystemContext?> s_cachedContext = new WeakGCHandle<TypeSystemContext?>(null);