18 references to IsInterface
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
272|| rtOwner.IsGenericParameter || rtOwner.IsInterface)
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (3)
281if (IsInterface) 695if (IsInterface) 708if (constraint.IsInterface)
src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
36return rt.IsInterface;
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
173if (type.IsInterface)
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (2)
108if (!IsVirtual || m_declaringType.IsInterface) 326if (!IsVirtual || IsStatic || m_declaringType == null || m_declaringType.IsInterface)
src\System\Runtime\InteropServices\DynamicInterfaceCastableHelpers.cs (1)
33if (!implType.IsInterface)
src\System\RuntimeType.CoreCLR.cs (9)
589if (declaringType.IsInterface) 1008Debug.Assert(interfaceType.IsInterface); 1038if (constraint.IsInterface) 1123if (!declaringType.IsInterface) 1216if (!declaringType.IsInterface) 1268Debug.Assert((declaringType.IsInterface && isInterface && csPropertyInfos == null) || 1269(!declaringType.IsInterface && !isInterface && usedSlots.Length >= numVirtuals)); 2724Debug.Assert(!IsInterface); // VerifyInterfaceIsImplemented enforces this invariant 2756if (!reflectedType.IsInterface)