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)
22
if (
_handle
.IsNull)
30
if (!
_handle
.IsNull && _ownHandle)
32
PInvoke.DestroyCursor(
_handle
);
37
internal HCURSOR Handle =>
_handle
.IsNull ? throw new ObjectDisposedException(nameof(MockCursor)) :
_handle
;