25 references to IsComObject
mscorlib (4)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (4)
53if (target == null || Marshal.IsComObject(target)) 80if (target == null || Marshal.IsComObject(target)) 98if (target == null || Marshal.IsComObject(target)) 549Contract.Assert(target == null || Marshal.IsComObject(target), "Must be null or a RCW");
PresentationFramework (3)
src\Framework\MS\Internal\Controls\ConnectionPointCookie.cs (1)
64else if (sink == null || !eventInterface.IsInstanceOfType(sink) && !Marshal.IsComObject(sink))
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (1)
579if (result != null && Marshal.IsComObject(result))
src\Framework\System\Windows\Standard\Utilities.cs (1)
248Assert.IsTrue(Marshal.IsComObject(t));
System (1)
compmod\system\componentmodel\ReferenceConverter.cs (1)
115if (!Marshal.IsComObject(value) && value is IComponent) {
System.Core (2)
System\Runtime\InteropServices\ComAwareEventInfo.cs (2)
25if (Marshal.IsComObject(target)) { 47if (Marshal.IsComObject(target)) {
System.ServiceModel (1)
System\ServiceModel\ComIntegration\PersistStreamTypeWrapper.cs (1)
158if (Marshal.IsComObject(obj))
System.Windows.Forms (11)
winforms\Managed\System\WinForms\Application.cs (2)
2522if (msgFilterObj != null && Marshal.IsComObject(msgFilterObj)) { 3731if (Marshal.IsComObject(msocm)) {
winforms\Managed\System\WinForms\Clipboard.cs (1)
257if (dataObject is IDataObject && !Marshal.IsComObject(dataObject)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2AboutBoxPropertyDescriptor.cs (1)
161if (Marshal.IsComObject(component) && component is UnsafeNativeMethods.IDispatch) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
870if (component == null || !Marshal.IsComObject(component) || !(component is UnsafeNativeMethods.IDispatch)) 1218if (owner == null || !Marshal.IsComObject(owner) || !(owner is UnsafeNativeMethods.IDispatch)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
205if (obj == null || !Marshal.IsComObject(obj)) {
winforms\Managed\System\WinForms\DataObject.cs (1)
114if (data is IDataObject && !Marshal.IsComObject(data)) {
winforms\Managed\System\WinForms\Design\EventsTab.cs (1)
64return !Marshal.IsComObject(extendee);
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4644if (!Marshal.IsComObject(obj)) {
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
7516return Marshal.IsComObject(o);
UIAutomationClient (1)
MS\Internal\Automation\UiaCoreAPI.cs (1)
1139&& !Marshal.IsComObject(arr[1])
WindowsBase (2)
Base\MS\Internal\Utilities.cs (1)
77Debug.Assert(Marshal.IsComObject(t));
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (1)
1450if (Marshal.IsComObject(o))