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