1 override of IsInterfaceType
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
290
public override bool
IsInterfaceType
=> OwningAggregate.IsInterface();
12 references to IsInterfaceType
Microsoft.CSharp (12)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (2)
659
if (typeSrc == null || typeDst == null || typeSrc.
IsInterfaceType
|| typeDst.
IsInterfaceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (4)
95
if (typeSrc.
IsInterfaceType
&& typeDst is TypeParameterType || typeSrc is TypeParameterType && typeDst.
IsInterfaceType
)
130
if (!arrSrc.IsSZArray || !typeDst.
IsInterfaceType
)
169
if (!arrayDest.IsSZArray || !typeSrc.
IsInterfaceType
|| aggtypeSrc.TypeArgsAll.Count != 1)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
544
if (typeSrc.
IsInterfaceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (2)
1006
if (type1.
IsInterfaceType
|| type1.IsPredefType(PredefinedType.PT_STRING)
1014
if (type2.
IsInterfaceType
|| type2.IsPredefType(PredefinedType.PT_STRING)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (2)
133
if (!pSource.IsSZArray || !pDest.
IsInterfaceType
)
302
if (!pBase.
IsInterfaceType
|| !(pDerived is AggregateType atsDer))
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (1)
257
Debug.Assert(typeBnd.
IsInterfaceType
);