3 writes to _handle
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\PinnedGCHandle.T.cs (3)
37
_handle
= GCHandle.InternalAlloc(target, GCHandleType.Pinned);
40
private PinnedGCHandle(IntPtr handle) =>
_handle
= handle;
130
_handle
= IntPtr.Zero;
8 references to _handle
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\PinnedGCHandle.T.cs (8)
43
public readonly bool IsAllocated =>
_handle
!= IntPtr.Zero;
51
IntPtr handle =
_handle
;
58
IntPtr handle =
_handle
;
119
public static IntPtr ToIntPtr(PinnedGCHandle<T> value) => value.
_handle
;
127
IntPtr handle =
_handle
;
139
public readonly bool Equals(PinnedGCHandle<T> other) =>
_handle
== other.
_handle
;
145
public override readonly int GetHashCode() =>
_handle
.GetHashCode();