27 references to IsInterface
System.Private.CoreLib (27)
Internal\Runtime\Augments\RuntimeAugments.cs (1)
377
return type.ToMethodTable()->
IsInterface
;
Internal\Runtime\CompilerHelpers\RuntimeInteropData.cs (1)
78
if (structureMT->
IsInterface
|| structureMT->IsGeneric)
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\DispatchResolve.cs (1)
94
if (!pItfType->
IsInterface
)
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\MethodTable.Runtime.cs (1)
47
return (pEEType->NonArrayBaseType == null) && !pEEType->
IsInterface
;
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\RuntimeExports.cs (1)
30
!pEEType->
IsInterface
&&
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\TypeCast.cs (14)
98
Debug.Assert(pTargetType->
IsInterface
);
189
Debug.Assert(!pTargetType->
IsInterface
, "IsInstanceOfClass called with interface MethodTable");
307
Debug.Assert(pTargetType->
IsInterface
);
394
Debug.Assert(!pTargetType->
IsInterface
, "CheckCastClass called with interface MethodTable");
411
Debug.Assert(!pTargetType->
IsInterface
, "CheckCastClassSpecial called with interface MethodTable");
481
Debug.Assert(!pBaseType->
IsInterface
, "did not expect interface type");
506
Debug.Assert(pTargetType->
IsInterface
, "IsInstanceOfInterface called with non-interface MethodTable");
1047
if (result || !(pTargetType->
IsInterface
&& pSourceType->IsIDynamicInterfaceCastable))
1070
if (pTargetType->
IsInterface
)
1085
if (pSourceType->
IsInterface
)
1219
else if (pTargetType->
IsInterface
)
1236
if (!pSourceType->IsIDynamicInterfaceCastable || !pTargetType->
IsInterface
)
1257
else if (pTargetType->
IsInterface
)
1275
if (!pSourceType->IsIDynamicInterfaceCastable || !pTargetType->
IsInterface
)
System\Array.NativeAot.cs (2)
361
if (destinationElementEEType->
IsInterface
)
365
if (sourceElementEEType->
IsInterface
)
System\InvokeUtils.cs (1)
115
(dstEEType->
IsInterface
&& srcObject is Runtime.InteropServices.IDynamicInterfaceCastable castable
System\Reflection\DynamicInvokeInfo.cs (2)
635
(dstEEType->
IsInterface
&& arg is System.Runtime.InteropServices.IDynamicInterfaceCastable castable
731
(dstEEType->
IsInterface
&& arg is System.Runtime.InteropServices.IDynamicInterfaceCastable castable
System\Runtime\InteropServices\IDynamicInterfaceCastable.cs (1)
29
if (!implType->
IsInterface
)
System\Runtime\InteropServices\Marshal.NativeAot.cs (1)
101
structureTypeHandle.ToMethodTable()->
IsInterface
||
System\RuntimeType.NativeAot.cs (1)
235
return pEEType->
IsInterface
;