41 references to IsNull
System.Private.Windows.Core (3)
System\Private\Windows\Ole\ClipboardCore.cs (1)
283
Debug.Assert(proxyDataObject.
IsNull
);
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (2)
675
Debug.Assert(!nativeDataObject.
IsNull
, "You must have an innerData on all DataObjects");
680
if (enumFORMATETC.
IsNull
)
System.Windows.Forms (37)
System\Windows\Forms\Accessibility\AccessibleObject.cs (2)
1836
return child.
IsNull
? null : ComHelpers.GetObjectForIUnknown(child);
2243
return dispatch.
IsNull
? null : ComHelpers.GetObjectForIUnknown(dispatch);
System\Windows\Forms\ActiveX\AxHost.cs (3)
1691
if (activeObject.
IsNull
)
2819
if (!storage.
IsNull
)
2832
if (!propBag.
IsNull
)
System\Windows\Forms\Application.ComponentThreadContext.cs (3)
93
if (PInvoke.CoRegisterMessageFilter(null, messageFilter).Failed || messageFilter.
IsNull
)
114
if (serviceProvider.Value->QueryService(&sid, &iid, serviceHandle).Failed || serviceHandle.
IsNull
)
121
if (hr.Succeeded && !componentManager.
IsNull
)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
881
if (hr.Succeeded && hr != HRESULT.S_FALSE && !errorInfo.
IsNull
)
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
359
if (refTypeInfo.
IsNull
)
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
84
if (typeInfo.
IsNull
)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (3)
146
if (htmlLocation.
IsNull
)
482
if (dispatch.
IsNull
)
507
if (hr.Failed || scriptDispatch.
IsNull
)
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (5)
67
return !dispatch.
IsNull
&& dispatch.Value->QueryInterface(IID.Get<IHTMLElementCollection>(), (void**)&htmlElementCollection).Succeeded
81
return !dispatch.
IsNull
&& dispatch.Value->QueryInterface(IID.Get<IHTMLElementCollection>(), (void**)&htmlElementCollection).Succeeded
123
if (dispatch.
IsNull
)
175
if (!child.
IsNull
)
291
if (!sibling.
IsNull
)
System\Windows\Forms\Controls\WebBrowser\HtmlElementCollection.cs (2)
60
return !dispatch.
IsNull
&& dispatch.Value->QueryInterface(IID.Get<IHTMLElement>(), (void**)&htmlElement).Succeeded
80
return !dispatch.
IsNull
&& dispatch.Value->QueryInterface(IID.Get<IHTMLElement>(), (void**)&htmlElement).Succeeded
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (4)
76
if (htmlDoc2.
IsNull
)
150
return !dispatch.
IsNull
&& dispatch.Value->QueryInterface(IID.Get<IHTMLWindow2>(), (void**)&htmlWindow2).Succeeded
229
if (location.
IsNull
)
249
return !htmlFrameBase.
IsNull
&& htmlFrameBase.Value->QueryInterface(IID.Get<IHTMLElement>(), (void**)&htmlElement).Succeeded
System\Windows\Forms\Controls\WebBrowser\HtmlWindowCollection.cs (2)
44
return !dispatch.
IsNull
&& dispatch.Value->QueryInterface(IID.Get<IHTMLWindow2>(), (void**)&htmlWindow2).Succeeded
62
if (!dispatch.
IsNull
)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (4)
222
if (!dispatch.
IsNull
)
230
if (!htmlLocation.
IsNull
)
356
Debug.Assert(!htmlDocument2.
IsNull
, "The HtmlDocument object must implement IHTMLDocument2.");
381
Debug.Assert(!htmlDocument2.
IsNull
, "The HtmlDocument object must implement IHTMLDocument2.");
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (2)
27
if (dialog.
IsNull
)
65
if (!initialDirectory.
IsNull
)
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (3)
358
if (!initialDirectory.
IsNull
)
414
if (!item.
IsNull
)
428
if (!item.
IsNull
)
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (1)
161
return item.
IsNull
? [] : [GetFilePathFromShellItem(item)];
System.Windows.Forms.Primitives (1)
System\Windows\Forms\FileDialogCustomPlacesCollection.cs (1)
16
if (!shellItem.
IsNull
)