3 writes to _handle
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WeakGCHandle.T.cs (3)
36_handle = GCHandle.InternalAlloc(target, trackResurrection ? GCHandleType.WeakTrackResurrection : GCHandleType.Weak); 39private WeakGCHandle(IntPtr handle) => _handle = handle; 105_handle = IntPtr.Zero;
8 references to _handle
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\WeakGCHandle.T.cs (8)
42public readonly bool IsAllocated => _handle != IntPtr.Zero; 53IntPtr handle = _handle; 66IntPtr handle = _handle; 94public static IntPtr ToIntPtr(WeakGCHandle<T> value) => value._handle; 102IntPtr handle = _handle; 114public readonly bool Equals(WeakGCHandle<T> other) => _handle == other._handle; 120public override readonly int GetHashCode() => _handle.GetHashCode();