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