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