7 overrides of MergeEquivalentTypes
Microsoft.CodeAnalysis.CSharp (7)
Symbols\ArrayTypeSymbol.cs (1)
411internal override TypeSymbol MergeEquivalentTypes(TypeSymbol other, VarianceKind variance)
Symbols\DynamicTypeSymbol.cs (1)
231internal override TypeSymbol MergeEquivalentTypes(TypeSymbol other, VarianceKind variance)
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
160internal override TypeSymbol MergeEquivalentTypes(TypeSymbol other, VarianceKind variance)
Symbols\FunctionTypeSymbol.cs (1)
160internal override TypeSymbol MergeEquivalentTypes(TypeSymbol other, VarianceKind variance)
Symbols\NamedTypeSymbol.cs (1)
988internal override TypeSymbol MergeEquivalentTypes(TypeSymbol other, VarianceKind variance)
Symbols\PointerTypeSymbol.cs (1)
273internal override TypeSymbol MergeEquivalentTypes(TypeSymbol other, VarianceKind variance)
Symbols\TypeParameterSymbol.cs (1)
696internal override TypeSymbol MergeEquivalentTypes(TypeSymbol other, VarianceKind variance)
4 references to MergeEquivalentTypes
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Patterns.cs (1)
1833return bestSoFar.MergeEquivalentTypes(possiblyLessSpecificCandidate, VarianceKind.Out);
Binder\Semantics\BestTypeInferrer.cs (1)
297return type1.MergeEquivalentTypes(type2, VarianceKind.Out);
FlowAnalysis\NullableWalker.cs (1)
5979refResultType = consequenceRValue.Type!.MergeEquivalentTypes(alternativeRValue.Type, VarianceKind.None);
Symbols\TypeWithAnnotations.cs (1)
245TypeSymbol type = Type.MergeEquivalentTypes(typeSymbol, variance);