7 overrides of Equals
Microsoft.CodeAnalysis.CSharp (7)
Symbols\ArrayTypeSymbol.cs (1)
341
internal override bool
Equals
(TypeSymbol? t2, TypeCompareKind comparison)
Symbols\DynamicTypeSymbol.cs (1)
195
internal override bool
Equals
(TypeSymbol? t2, TypeCompareKind comparison)
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
99
internal override bool
Equals
(TypeSymbol t2, TypeCompareKind compareKind)
Symbols\FunctionTypeSymbol.cs (1)
205
internal override bool
Equals
(TypeSymbol t2, TypeCompareKind compareKind)
Symbols\NamedTypeSymbol.cs (1)
789
internal override bool
Equals
(TypeSymbol t2, TypeCompareKind comparison)
Symbols\PointerTypeSymbol.cs (1)
228
internal override bool
Equals
(TypeSymbol? t2, TypeCompareKind comparison)
Symbols\TypeParameterSymbol.cs (1)
650
internal override bool
Equals
(TypeSymbol t2, TypeCompareKind comparison)
9 references to Equals
Microsoft.CodeAnalysis.CSharp (9)
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (4)
477
? source.
Equals
(target, ComparisonForUserDefinedOperators)
478
: source0.
Equals
(target0, ComparisonForUserDefinedOperators))
679
this.ReturnType.
Equals
(parameterType, ComparisonForUserDefinedOperators) :
698
return type.
Equals
(this.ContainingType, ComparisonForUserDefinedOperators);
Symbols\TypeSymbol.cs (4)
264
if (type.
Equals
(t, comparison))
280
return this.
Equals
(type, comparison) || this.IsDerivedFrom(type, comparison, ref useSiteInfo);
305
return this.
Equals
(t2, compareKind);
2453
return left.
Equals
(right, comparison);
Symbols\TypeWithAnnotations.cs (1)
544
return Type.
Equals
(other.Type, comparison);