15 references to EffectiveBaseClass
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Lookup.cs (1)
1183LookupMembersInClass(current, typeParameter.EffectiveBaseClass(ref useSiteInfo), name, arity, basesBeingResolved, options, originalBinder, diagnose, ref useSiteInfo);
Binder\Binder_WithExpression.cs (1)
42cloneMethod = SynthesizedRecordClone.FindValidCloneMethod(receiverType is TypeParameterSymbol typeParameter ? typeParameter.EffectiveBaseClass(ref useSiteInfo) : receiverType, ref useSiteInfo);
Binder\ForEachLoopBinder.cs (1)
1798var allInterfaces = typeParameter.EffectiveBaseClass(ref useSiteInfo).AllInterfacesWithDefinitionUseSiteDiagnostics(ref useSiteInfo)
Binder\Semantics\Conversions\ConversionsBase.cs (3)
2919var effectiveBaseClass = source.EffectiveBaseClass(ref useSiteInfo); 3551for (var type = t.EffectiveBaseClass(ref useSiteInfo); (object)type != null; type = type.BaseTypeWithDefinitionUseSiteDiagnostics(ref useSiteInfo)) 3603for (var type = t.EffectiveBaseClass(ref useSiteInfo); (object)type != null; type = type.BaseTypeWithDefinitionUseSiteDiagnostics(ref useSiteInfo))
Binder\Semantics\Conversions\UserDefinedConversions.cs (1)
94NamedTypeSymbol effectiveBaseClass = typeParameter.EffectiveBaseClass(ref useSiteInfo);
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (1)
895current = ((TypeParameterSymbol)type0).EffectiveBaseClass(ref useSiteInfo);
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (1)
399current = ((TypeParameterSymbol)type0).EffectiveBaseClass(ref useSiteInfo);
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
2258sourceBase = ((TypeParameterSymbol)source).EffectiveBaseClass(ref useSiteInfo); 2302allInterfaces = typeParameter.EffectiveBaseClass(ref useSiteInfo).
Compilation\BuiltInOperators.cs (2)
885leftType = ((TypeParameterSymbol)leftType).EffectiveBaseClass(ref useSiteInfo); 896rightType = ((TypeParameterSymbol)rightType).EffectiveBaseClass(ref useSiteInfo);
Symbols\TypeParameterSymbol.cs (1)
364/// Called by <see cref="ConstraintTypesNoUseSiteDiagnostics"/>, <see cref="InterfacesNoUseSiteDiagnostics"/>, <see cref="EffectiveBaseClass"/>, and <see cref="DeducedBaseType"/>.
Symbols\TypeSymbol.cs (1)
245return this.IsTypeParameter() ? ((TypeParameterSymbol)this).EffectiveBaseClass(ref useSiteInfo) : this;