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)
39if (_handle.IsNull) 150set => PInvoke.SetCursor(value?._handle ?? HCURSOR.Null); 160ObjectDisposedException.ThrowIf(_handle.IsNull, this); 161return (nint)_handle; 217HCURSOR IHandle<HCURSOR>.Handle => _handle; 233if (!_handle.IsNull && _freeHandle) 235PInvoke.DestroyCursor(_handle); 428if (_handle.IsNull) 472return right is null || left is null ? left is null && right is null : left._handle == right._handle; 477public override int GetHashCode() => (int)_handle.Value;