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)
632
if (typeSrc == null || typeDst == null || typeSrc.
IsInterfaceType
|| typeDst.
IsInterfaceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (4)
93
if (typeSrc.
IsInterfaceType
&& typeDst is TypeParameterType || typeSrc is TypeParameterType && typeDst.
IsInterfaceType
)
128
if (!arrSrc.IsSZArray || !typeDst.
IsInterfaceType
)
167
if (!arrayDest.IsSZArray || !typeSrc.
IsInterfaceType
|| aggtypeSrc.TypeArgsAll.Count != 1)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
543
if (typeSrc.
IsInterfaceType
)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (2)
983
if (type1.
IsInterfaceType
|| type1.IsPredefType(PredefinedType.PT_STRING)
991
if (type2.
IsInterfaceType
|| type2.IsPredefType(PredefinedType.PT_STRING)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (2)
125
if (!pSource.IsSZArray || !pDest.
IsInterfaceType
)
292
if (!pBase.
IsInterfaceType
|| !(pDerived is AggregateType atsDer))
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (1)
253
Debug.Assert(typeBnd.
IsInterfaceType
);