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