2 writes to _handle
System.Windows.Forms.Primitives.Tests (2)
Interop\Mocks\MockCursor.cs (2)
21_handle = PInvoke.LoadCursor(HINSTANCE.Null, nResourceId); 33_handle = HCURSOR.Null;
5 references to _handle
System.Windows.Forms.Primitives.Tests (5)
Interop\Mocks\MockCursor.cs (5)
22if (_handle.IsNull) 30if (!_handle.IsNull && _ownHandle) 32PInvoke.DestroyCursor(_handle); 37internal HCURSOR Handle => _handle.IsNull ? throw new ObjectDisposedException(nameof(MockCursor)) : _handle;