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