13 references to Equals
Microsoft.CodeAnalysis.CSharp (13)
Symbols\EventSymbol.cs (1)
346
return TypeSymbol.
Equals
(this.ContainingType, other.ContainingType, compareKind) && ReferenceEquals(this.OriginalDefinition, other.OriginalDefinition);
Symbols\FunctionTypeSymbol.cs (1)
222
return
Equals
(thisDelegateType, otherDelegateType, compareKind);
Symbols\NamedTypeSymbol.cs (1)
832
if (!
Equals
(thisOriginalDefinition, otherOriginalDefinition, comparison))
Symbols\PropertySymbol.cs (1)
474
return TypeSymbol.
Equals
(this.ContainingType, other.ContainingType, compareKind) && ReferenceEquals(this.OriginalDefinition, other.OriginalDefinition);
Symbols\SignatureOnlyParameterSymbol.cs (1)
118
TypeSymbol.
Equals
(_type.Type, other._type.Type, compareKind) &&
Symbols\Source\LambdaSymbol.cs (1)
399
&& TypeSymbol.
Equals
(lambda.ReturnType, this.ReturnType, compareKind)
Symbols\SubstitutedFieldSymbol.cs (1)
119
return (object)other != null && TypeSymbol.
Equals
(_containingType, other.ContainingType, compareKind) && OriginalDefinition == other.OriginalDefinition;
Symbols\SubstitutedMethodSymbol.cs (1)
438
if (!TypeSymbol.
Equals
(this.ContainingType, other.ContainingType, compareKind)) return false;
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (3)
439
TypeSymbol.
Equals
(_containingType, other._containingType, compareKind) &&
440
TypeSymbol.
Equals
(_returnType, other._returnType, compareKind))
444
if (!TypeSymbol.
Equals
(_parameters[i].Type, other._parameters[i].Type, compareKind))
Symbols\Tuples\TupleErrorFieldSymbol.cs (1)
190
TypeSymbol.
Equals
(ContainingType, other.ContainingType, compareKind);
Symbols\Tuples\TupleFieldSymbol.cs (1)
172
TypeSymbol.
Equals
(_containingTuple, other._containingTuple, compareKind);