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)
602if (declaringType.IsInterface) 1019Debug.Assert(interfaceType.IsInterface); 1049if (constraint.IsInterface) 1134if (!declaringType.IsInterface) 1227if (!declaringType.IsInterface) 1287Debug.Assert((declaringType.IsInterface && isInterface && csPropertyInfos == null) || 1288(!declaringType.IsInterface && !isInterface && usedSlots.Length >= numVirtuals)); 2743Debug.Assert(!IsInterface); // VerifyInterfaceIsImplemented enforces this invariant 2775if (!reflectedType.IsInterface)