34 references to IsNull
PresentationCore (1)
System\Windows\Ole\WpfOleServices.cs (1)
66return hbitmap.IsNull ? HBITMAP.Null : hbitmap.CreateCompatibleBitmap(width, height);
System.Drawing.Common (10)
System\Drawing\BufferedGraphicsContext.cs (4)
410if (hbitmap.IsNull) 424if (!_oldBitmap.IsNull && !_compatDC.IsNull) 444if (!_dib.IsNull) 446Debug.Assert(_oldBitmap.IsNull);
System\Drawing\Icon.cs (6)
204if (!info.hbmColor.IsNull) 214else if (!info.hbmMask.IsNull) 224if (!info.hbmMask.IsNull) 669if (!info.hbmColor.IsNull) 716if (!info.hbmColor.IsNull) 721if (!info.hbmMask.IsNull)
System.Private.Windows.Core (5)
Windows\Win32\Graphics\Gdi\CreateBitmapScope.cs (2)
40public bool IsNull => HBITMAP.IsNull; 44if (!HBITMAP.IsNull)
Windows\Win32\Graphics\Gdi\HBITMAP.cs (1)
10if (!IsNull)
Windows\Win32\UI\WindowsAndMessaging\ICONINFO.cs (2)
10if (!hbmMask.IsNull) 16if (!hbmColor.IsNull)
System.Windows.Forms (10)
System\Windows\Forms\Control.MetafileDCWrapper.cs (3)
55if (HDC.IsNull || _hMetafileDC.IsNull || _hBitmap.IsNull) 92if (hNullBitmap.IsNull) 100if (hBitmap.IsNull)
System\Windows\Forms\Controls\ToolStrips\CachedItemHdcInfo.cs (1)
54if (!_cachedItemBitmap.IsNull)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
672if (!info.hbmpItem.IsNull && (int)info.hbmpItem > (int)HBITMAP.HBMMENU_POPUP_MINIMIZE)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (2)
71!hbitmapTemp.IsNull, 74if (!hbitmapTemp.IsNull)
System\Windows\Forms\Input\Cursor.cs (2)
380if (!info.hbmColor.IsNull) 385else if (!info.hbmMask.IsNull)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
230if (hbitmap.IsNull)
System.Windows.Forms.Tests (8)
SerializableTypesTests.cs (1)
100Assert.False(imageInfo.hbmImage.IsNull);
System\Windows\Forms\ControlPaintTests.cs (7)
39Assert.False(hBitmap.IsNull); 64Assert.False(hBitmap.IsNull); 110Assert.False(hBitmap.IsNull); 142Assert.False(hBitmap.IsNull); 175Assert.False(hBitmap.IsNull); 218Assert.False(hBitmap.IsNull); 243Assert.False(hBitmap.IsNull);