6 references to WeakTrackResurrection
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WeakGCHandle.T.cs (2)
14
/// <para>This type corresponds to <see cref="GCHandleType.Weak"/> or <see cref="GCHandleType.
WeakTrackResurrection
"/>.</para>
36
_handle = GCHandle.InternalAlloc(target, trackResurrection ? GCHandleType.
WeakTrackResurrection
: GCHandleType.Weak);
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (1)
101
var thisHandle = GCHandle.Alloc(this, IsCollectible ? GCHandleType.
WeakTrackResurrection
: GCHandleType.Normal);
src\libraries\System.Private.CoreLib\src\System\WeakReference.cs (1)
83
nint h = GCHandle.InternalAlloc(target, trackResurrection ? GCHandleType.
WeakTrackResurrection
: GCHandleType.Weak);
src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (1)
83
nint h = GCHandle.InternalAlloc(target, trackResurrection ? GCHandleType.
WeakTrackResurrection
: GCHandleType.Weak);
src\System\RuntimeType.CoreCLR.cs (1)
2454
IntPtr newgcHandle = th.GetGCHandle(GCHandleType.
WeakTrackResurrection
);