1 override of IsInterfaceType
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
290public override bool IsInterfaceType => OwningAggregate.IsInterface();
12 references to IsInterfaceType
Microsoft.CSharp (12)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (2)
632if (typeSrc == null || typeDst == null || typeSrc.IsInterfaceType || typeDst.IsInterfaceType)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversions.cs (4)
93if (typeSrc.IsInterfaceType && typeDst is TypeParameterType || typeSrc is TypeParameterType && typeDst.IsInterfaceType) 128if (!arrSrc.IsSZArray || !typeDst.IsInterfaceType) 167if (!arrayDest.IsSZArray || !typeSrc.IsInterfaceType || aggtypeSrc.TypeArgsAll.Count != 1)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
543if (typeSrc.IsInterfaceType)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (2)
983if (type1.IsInterfaceType || type1.IsPredefType(PredefinedType.PT_STRING) 991if (type2.IsInterfaceType || type2.IsPredefType(PredefinedType.PT_STRING)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (2)
125if (!pSource.IsSZArray || !pDest.IsInterfaceType) 292if (!pBase.IsInterfaceType || !(pDerived is AggregateType atsDer))
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (1)
253Debug.Assert(typeBnd.IsInterfaceType);