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)
281
if (
IsInterface
)
695
if (
IsInterface
)
708
if (constraint.
IsInterface
)
src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
36
return rt.
IsInterface
;
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
173
if (type.
IsInterface
)
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (2)
108
if (!IsVirtual || m_declaringType.
IsInterface
)
326
if (!IsVirtual || IsStatic || m_declaringType == null || m_declaringType.
IsInterface
)
src\System\Runtime\InteropServices\DynamicInterfaceCastableHelpers.cs (1)
33
if (!implType.
IsInterface
)
src\System\RuntimeType.CoreCLR.cs (9)
602
if (declaringType.
IsInterface
)
1019
Debug.Assert(interfaceType.
IsInterface
);
1049
if (constraint.
IsInterface
)
1134
if (!declaringType.
IsInterface
)
1227
if (!declaringType.
IsInterface
)
1287
Debug.Assert((declaringType.
IsInterface
&& isInterface && csPropertyInfos == null) ||
1288
(!declaringType.
IsInterface
&& !isInterface && usedSlots.Length >= numVirtuals));
2743
Debug.Assert(!
IsInterface
); // VerifyInterfaceIsImplemented enforces this invariant
2775
if (!reflectedType.
IsInterface
)