27 references to IsInterface
System.Private.CoreLib (27)
Internal\Runtime\Augments\RuntimeAugments.cs (1)
377return type.ToMethodTable()->IsInterface;
Internal\Runtime\CompilerHelpers\RuntimeInteropData.cs (1)
78if (structureMT->IsInterface || structureMT->IsGeneric)
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\DispatchResolve.cs (1)
94if (!pItfType->IsInterface)
src\runtime\src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\MethodTable.Runtime.cs (1)
47return (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)
98Debug.Assert(pTargetType->IsInterface); 189Debug.Assert(!pTargetType->IsInterface, "IsInstanceOfClass called with interface MethodTable"); 307Debug.Assert(pTargetType->IsInterface); 394Debug.Assert(!pTargetType->IsInterface, "CheckCastClass called with interface MethodTable"); 411Debug.Assert(!pTargetType->IsInterface, "CheckCastClassSpecial called with interface MethodTable"); 481Debug.Assert(!pBaseType->IsInterface, "did not expect interface type"); 506Debug.Assert(pTargetType->IsInterface, "IsInstanceOfInterface called with non-interface MethodTable"); 1047if (result || !(pTargetType->IsInterface && pSourceType->IsIDynamicInterfaceCastable)) 1070if (pTargetType->IsInterface) 1085if (pSourceType->IsInterface) 1219else if (pTargetType->IsInterface) 1236if (!pSourceType->IsIDynamicInterfaceCastable || !pTargetType->IsInterface) 1257else if (pTargetType->IsInterface) 1275if (!pSourceType->IsIDynamicInterfaceCastable || !pTargetType->IsInterface)
System\Array.NativeAot.cs (2)
361if (destinationElementEEType->IsInterface) 365if (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)
29if (!implType->IsInterface)
System\Runtime\InteropServices\Marshal.NativeAot.cs (1)
101structureTypeHandle.ToMethodTable()->IsInterface ||
System\RuntimeType.NativeAot.cs (1)
235return pEEType->IsInterface;