12 references to Equals
Microsoft.CodeAnalysis.CSharp (12)
Symbols\AnonymousTypes\AnonymousTypeField.cs (1)
63
return x.TypeWithAnnotations.
Equals
(y.TypeWithAnnotations, comparison)
Symbols\ArrayTypeSymbol.cs (1)
354
!other.ElementTypeWithAnnotations.
Equals
(ElementTypeWithAnnotations, comparison))
Symbols\DiscardSymbol.cs (1)
38
public 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)
601
if (!returnType1.
Equals
(returnType2, typeComparison))
780
if (!type1.
Equals
(type2, typeComparison))
Symbols\NamedTypeSymbol.cs (1)
883
if (!typeArgument.
Equals
(otherTypeArgument, comparison))
Symbols\PointerTypeSymbol.cs (1)
240
if ((object?)other == null || !other._pointedAtType.
Equals
(_pointedAtType, comparison))
Symbols\SubstitutedMethodSymbol.cs (1)
455
if (!this.TypeArgumentsWithAnnotations[i].
Equals
(other.TypeArgumentsWithAnnotations[i], compareKind))
Symbols\TypeWithAnnotations.cs (1)
417
return x.
Equals
(y, _compareKind);
Symbols\UpdatedContainingSymbolLocal.cs (1)
69
(TypeWithAnnotations.
Equals
(otherLocal.TypeWithAnnotations, compareKind) &&