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