6 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
);