4 writes to _handle
System.Windows.Forms (4)
System\Windows\Forms\Input\Cursor.cs (4)
38
_handle
= PInvoke.LoadCursor((HINSTANCE)0, nResourceId);
65
_handle
= (HCURSOR)handle;
236
_handle
= HCURSOR.Null;
421
_handle
= (HCURSOR)PInvokeCore.CopyImage(
11 references to _handle
System.Windows.Forms (11)
System\Windows\Forms\Input\Cursor.cs (11)
39
if (
_handle
.IsNull)
150
set => PInvoke.SetCursor(value?.
_handle
?? HCURSOR.Null);
160
ObjectDisposedException.ThrowIf(
_handle
.IsNull, this);
161
return (nint)
_handle
;
217
HCURSOR IHandle<HCURSOR>.Handle =>
_handle
;
233
if (!
_handle
.IsNull && _freeHandle)
235
PInvoke.DestroyCursor(
_handle
);
428
if (
_handle
.IsNull)
472
return right is null || left is null ? left is null && right is null : left.
_handle
== right.
_handle
;
477
public override int GetHashCode() => (int)
_handle
.Value;