3 writes to _handle
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (3)
55_handle = handle; 59private GCHandle(IntPtr handle) => _handle = handle; 78IntPtr handle = Interlocked.Exchange(ref _handle, IntPtr.Zero);
12 references to _handle
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (12)
88IntPtr handle = _handle; 95IntPtr handle = _handle; 115IntPtr handle = _handle; 150public readonly bool IsAllocated => _handle != 0; 167public static IntPtr ToIntPtr(GCHandle value) => value._handle; 169public override readonly int GetHashCode() => _handle.GetHashCode(); 176public readonly bool Equals(GCHandle other) => _handle == other._handle; 178public static bool operator ==(GCHandle a, GCHandle b) => a._handle == b._handle; 180public static bool operator !=(GCHandle a, GCHandle b) => a._handle != b._handle;