7 references to MergeEquivalentTypes
Microsoft.CodeAnalysis.CSharp (7)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
3437TypeWithAnnotations merged = latest.MergeEquivalentTypes(newCandidate, variance);
Symbols\ArrayTypeSymbol.cs (1)
414TypeWithAnnotations elementType = ElementTypeWithAnnotations.MergeEquivalentTypes(((ArrayTypeSymbol)other).ElementTypeWithAnnotations, variance);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
352var mergedReturnType = ReturnTypeWithAnnotations.MergeEquivalentTypes(signature.ReturnTypeWithAnnotations, returnVariance); 371var mergedParameterType = thisParam.TypeWithAnnotations.MergeEquivalentTypes(otherParam.TypeWithAnnotations, paramVariance);
Symbols\NamedTypeSymbol.cs (1)
1053TypeWithAnnotations merged = typeArgumentA.MergeEquivalentTypes(typeArgumentB, typeArgumentVariance);
Symbols\PointerTypeSymbol.cs (1)
276TypeWithAnnotations pointedAtType = PointedAtTypeWithAnnotations.MergeEquivalentTypes(((PointerTypeSymbol)other).PointedAtTypeWithAnnotations, VarianceKind.None);
Symbols\Source\SourceNamedTypeSymbol.cs (1)
610mergedConstraintTypes[index1] = constraintType1.MergeEquivalentTypes(constraintType2, VarianceKind.None);