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