12 references to Equals
Microsoft.CodeAnalysis.CSharp (12)
Symbols\AnonymousTypes\AnonymousTypeField.cs (1)
63return x.TypeWithAnnotations.Equals(y.TypeWithAnnotations, comparison)
Symbols\ArrayTypeSymbol.cs (1)
354!other.ElementTypeWithAnnotations.Equals(ElementTypeWithAnnotations, comparison))
Symbols\DiscardSymbol.cs (1)
38public override bool Equals(Symbol? obj, TypeCompareKind compareKind) => obj is DiscardSymbol other && this.TypeWithAnnotations.Equals(other.TypeWithAnnotations, compareKind);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
725|| !ReturnTypeWithAnnotations.Equals(other.ReturnTypeWithAnnotations, compareKind))
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
60&& TypeWithAnnotations.Equals(other.TypeWithAnnotations, compareKind);
Symbols\MemberSignatureComparer.cs (2)
601if (!returnType1.Equals(returnType2, typeComparison)) 780if (!type1.Equals(type2, typeComparison))
Symbols\NamedTypeSymbol.cs (1)
883if (!typeArgument.Equals(otherTypeArgument, comparison))
Symbols\PointerTypeSymbol.cs (1)
240if ((object?)other == null || !other._pointedAtType.Equals(_pointedAtType, comparison))
Symbols\SubstitutedMethodSymbol.cs (1)
455if (!this.TypeArgumentsWithAnnotations[i].Equals(other.TypeArgumentsWithAnnotations[i], compareKind))
Symbols\TypeWithAnnotations.cs (1)
417return x.Equals(y, _compareKind);
Symbols\UpdatedContainingSymbolLocal.cs (1)
69(TypeWithAnnotations.Equals(otherLocal.TypeWithAnnotations, compareKind) &&