24 overrides of Equals
Microsoft.CodeAnalysis.CSharp (24)
FlowAnalysis\NullableWalker.PlaceholderLocal.cs (1)
37
public override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\AliasSymbol.cs (1)
243
public override bool
Equals
(Symbol? obj, TypeCompareKind compareKind)
Symbols\DiscardSymbol.cs (1)
38
public override bool
Equals
(Symbol? obj, TypeCompareKind compareKind) => obj is DiscardSymbol other && this.TypeWithAnnotations.Equals(other.TypeWithAnnotations, compareKind);
Symbols\EventSymbol.cs (1)
330
public override bool
Equals
(Symbol? obj, TypeCompareKind compareKind)
Symbols\FieldSymbol.cs (1)
513
public override bool
Equals
(Symbol other, TypeCompareKind compareKind)
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
37
public override bool
Equals
(Symbol other, TypeCompareKind compareKind)
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1179
public sealed override bool
Equals
(Symbol other, TypeCompareKind compareKind)
Symbols\MethodSymbol.cs (1)
1248
public override bool
Equals
(Symbol other, TypeCompareKind compareKind)
Symbols\MissingAssemblySymbol.cs (1)
96
public override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\MissingModuleSymbol.cs (1)
110
public override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\MissingNamespaceSymbol.cs (1)
82
public override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\NativeIntegerTypeSymbol.cs (1)
435
public override bool
Equals
(Symbol? other, TypeCompareKind comparison) => NativeIntegerTypeSymbol.EqualsHelper(this, other, comparison, symbol => symbol._underlyingParameter);
Symbols\PropertySymbol.cs (1)
453
public override bool
Equals
(Symbol symbol, TypeCompareKind compareKind)
Symbols\RangeVariableSymbol.cs (1)
158
public override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\ReducedExtensionMethodSymbol.cs (1)
679
public sealed override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\SignatureOnlyParameterSymbol.cs (1)
109
public override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\Source\SourceLabelSymbol.cs (1)
146
public override bool
Equals
(Symbol? obj, TypeCompareKind compareKind)
Symbols\Source\SourceLocalSymbol.cs (1)
485
public sealed override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\Source\SourceParameterSymbolBase.cs (1)
29
public sealed override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\SubstitutedParameterSymbol.cs (1)
101
public sealed override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
476
public override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\SynthesizedNamespaceSymbol.cs (1)
36
public override bool
Equals
(Symbol obj, TypeCompareKind compareKind)
Symbols\TypeSymbol.cs (1)
298
public sealed override bool
Equals
(Symbol other, TypeCompareKind compareKind)
Symbols\UpdatedContainingSymbolLocal.cs (1)
43
public override bool
Equals
(Symbol other, TypeCompareKind compareKind)
18 references to Equals
Microsoft.CodeAnalysis.CSharp (18)
Symbols\FieldSymbol.cs (1)
520
return base.
Equals
(other, compareKind);
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1183
base.
Equals
(other, compareKind);
Symbols\MethodSymbol.cs (1)
1260
return base.
Equals
(other, compareKind);
Symbols\MissingModuleSymbol.cs (2)
119
return (object)other != null && assembly.
Equals
(other.assembly, compareKind);
241
return (object)other != null && assembly.
Equals
(other.assembly, compareKind) && string.Equals(_name, other._name, StringComparison.OrdinalIgnoreCase);
Symbols\MissingNamespaceSymbol.cs (1)
91
return (object)other != null && _name.Equals(other._name) && _containingSymbol.
Equals
(other._containingSymbol, compareKind);
Symbols\NativeIntegerTypeSymbol.cs (1)
256
if (!getUnderlyingSymbol(symbol).
Equals
(other, comparison))
Symbols\RangeVariableSymbol.cs (1)
174
&& _containingSymbol.
Equals
(symbol.ContainingSymbol, compareKind);
Symbols\ReducedExtensionMethodSymbol.cs (1)
694
this.ContainingSymbol.
Equals
(other.ContainingSymbol, compareKind);
Symbols\Source\LambdaSymbol.cs (1)
402
&& lambda.ContainingSymbol.
Equals
(ContainingSymbol, compareKind);
Symbols\Source\SourceLocalSymbol.cs (1)
501
&& symbol._containingSymbol.
Equals
(_containingSymbol, compareKind);
Symbols\Source\SourceParameterSymbolBase.cs (1)
44
&& symbol._containingSymbol.
Equals
(_containingSymbol, compareKind);
Symbols\SubstitutedParameterSymbol.cs (1)
116
this.ContainingSymbol.
Equals
(other.ContainingSymbol, compareKind);
Symbols\Symbol.cs (2)
818
return this.
Equals
(other as Symbol, compareKind);
840
return first.
Equals
(second, compareKind);
Symbols\SymbolEqualityComparer.cs (1)
50
return x is null ? y is null : x.
Equals
(y, _comparison);
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
490
return Ordinal == other.Ordinal && ContainingSymbol.
Equals
(other.ContainingSymbol, compareKind);
Symbols\UpdatedContainingSymbolLocal.cs (1)
70
ContainingSymbol.
Equals
(otherLocal.ContainingSymbol, compareKind));