25 references to IsNull
System.Drawing.Common (1)
System\Drawing\Printing\PageSettings.cs (1)
379if (modeHandle.IsNull)
System.Private.Windows.Core (15)
System\IO\StreamExtensions.cs (3)
29if (!hglobal.IsNull) 32if (!freed.IsNull) 40if (hglobal.IsNull)
System\Private\Windows\Ole\Composition.ManagedToNativeAdapter.cs (2)
80if (pmedium->hGlobal.IsNull) 141catch (Exception) when (!pmedium->hGlobal.IsNull)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (4)
322if (medium.tymed == Com.TYMED.TYMED_HGLOBAL && !medium.hGlobal.IsNull && hr != HRESULT.COR_E_SERIALIZATION) 369if (medium.tymed != Com.TYMED.TYMED_ISTREAM || medium.hGlobal.IsNull) 381if (hglobal.IsNull) 394if (!hglobal.IsNull)
System\Private\Windows\Ole\DragDropFormat.cs (1)
75if (mediumDestination.hGlobal.IsNull)
System\Private\Windows\Ole\DragDropHelper.cs (2)
206if (medium.hGlobal.IsNull) 364if (medium.hGlobal.IsNull)
Windows\Win32\Foundation\GlobalBuffer.cs (3)
20if (hglobal.IsNull) 31if (_hglobal.IsNull) 55if (!_hglobal.IsNull)
System.Windows.Forms (7)
System\Windows\Forms\OLE\WinFormsOleServices.cs (1)
108&& !medium.hGlobal.IsNull
System\Windows\Forms\Printing\PrintDialog.cs (6)
260Debug.Assert(dialogSettings->hDevMode.IsNull && dialogSettings->hDevNames.IsNull); 374Debug.Assert(dialogSettings.hDevMode.IsNull && dialogSettings.hDevNames.IsNull); 451if (!dialogSettings.hDevMode.IsNull) 456if (dialogSettings.hDevNames.IsNull)
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataObjectTests.cs (1)
2928medium.hGlobal.IsNull.Should().BeTrue();
System\Windows\Forms\DragDropFormatTests.cs (1)
80Assert.True(dragDropFormat.Medium.hGlobal.IsNull);