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