29 references to IsCOMObject
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (1)
479
if (target.LimitType.
IsCOMObject
)
Microsoft.VisualBasic.Core (13)
Microsoft\VisualBasic\CompilerServices\LateBinding.vb (12)
90
If objType.
IsCOMObject
Then
135
If objType.
IsCOMObject
() OrElse ((Not args Is Nothing) AndAlso (args.Length > 0)) Then
147
If Not objType.
IsCOMObject
() Then
288
If objType.
IsCOMObject
() Then
429
If Not objType.
IsCOMObject
() Then
482
If Not objType.
IsCOMObject
OrElse objType.FullName = "System.__ComObject" Then
560
If Not objType.
IsCOMObject
() Then
610
If objType.
IsCOMObject
() Then
807
If objType.
IsCOMObject
() Then
859
If objType.
IsCOMObject
Then
968
If objType.
IsCOMObject
Then
978
If Not objType.
IsCOMObject
Then
Microsoft\VisualBasic\CompilerServices\Symbols.vb (1)
828
Return _type.
IsCOMObject
System.ComponentModel.TypeConverter (3)
System\ComponentModel\Design\ServiceContainer.cs (2)
83
if (!(serviceInstance is ServiceCreatorCallback) && !serviceInstance.GetType().
IsCOMObject
&& !serviceType.IsInstanceOfType(serviceInstance))
193
if (service != null && !service.GetType().
IsCOMObject
&& !serviceType!.IsInstanceOfType(service))
System\ComponentModel\TypeDescriptor.cs (1)
1744
if (type.
IsCOMObject
)
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (2)
233
if (Marshal.IsBuiltInComSupported && argTypes[index].
IsCOMObject
)
269
if (Marshal.IsBuiltInComSupported && argTypes[j].
IsCOMObject
)
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
179
protected override bool IsCOMObjectImpl() => _unmodifiedType.
IsCOMObject
;
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
151
protected override bool IsCOMObjectImpl() => typeImpl.
IsCOMObject
;
src\System\Delegate.CoreCLR.cs (1)
205
|| _target.GetType().
IsCOMObject
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
433
return _typeInfo.
IsCOMObject
;
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
966
if (classesSame && (oldType != newType || (oldType.
IsCOMObject
&& newType.
IsCOMObject
)))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
98
if (componentType is not null && componentType.
IsCOMObject
)
System.Windows.Forms.Tests (3)
System\Windows\Forms\HtmlDocumentTests.cs (1)
564
Assert.True(domDocument.GetType().
IsCOMObject
);
System\Windows\Forms\HtmlElementTests.cs (1)
168
Assert.True(domElement.GetType().
IsCOMObject
);
System\Windows\Forms\HtmlWindowTests.cs (1)
59
domWindow.GetType().
IsCOMObject
.Should().BeTrue();