8 references to IsNull
System.Drawing.Common (1)
System\Drawing\Font.cs (1)
720
return handle.
IsNull
? throw new Win32Exception() : handle;
System.Windows.Forms (5)
System\Windows\Forms\Control.FontHandleWrapper.cs (2)
23
Debug.Assert(!_handle.
IsNull
, "FontHandleWrapper disposed, but still being accessed");
30
if (!_handle.
IsNull
)
System\Windows\Forms\Rendering\FontCache.Data.cs (3)
54
if (!HFONT.
IsNull
)
113
if (hfont.
IsNull
)
120
Debug.Assert(!hfont.
IsNull
);
System.Windows.Forms.Primitives.Tests (1)
Interop\User32\LOGFONTWTests.cs (1)
38
Assert.False(handle.
IsNull
);
System.Windows.Forms.Tests (1)
System\Windows\Forms\FontCacheTests.cs (1)
34
Assert.False(hfont.Object.
IsNull
);