7 overrides of Equals
Microsoft.CodeAnalysis.CSharp (7)
Symbols\ArrayTypeSymbol.cs (1)
341internal override bool Equals(TypeSymbol? t2, TypeCompareKind comparison)
Symbols\DynamicTypeSymbol.cs (1)
195internal override bool Equals(TypeSymbol? t2, TypeCompareKind comparison)
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
99internal override bool Equals(TypeSymbol t2, TypeCompareKind compareKind)
Symbols\FunctionTypeSymbol.cs (1)
205internal override bool Equals(TypeSymbol t2, TypeCompareKind compareKind)
Symbols\NamedTypeSymbol.cs (1)
784internal override bool Equals(TypeSymbol t2, TypeCompareKind comparison)
Symbols\PointerTypeSymbol.cs (1)
228internal override bool Equals(TypeSymbol? t2, TypeCompareKind comparison)
Symbols\TypeParameterSymbol.cs (1)
650internal 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)) 679this.ReturnType.Equals(parameterType, ComparisonForUserDefinedOperators) : 698return type.Equals(this.ContainingType, ComparisonForUserDefinedOperators);
Symbols\TypeSymbol.cs (4)
264if (type.Equals(t, comparison)) 280return this.Equals(type, comparison) || this.IsDerivedFrom(type, comparison, ref useSiteInfo); 305return this.Equals(t2, compareKind); 2453return left.Equals(right, comparison);
Symbols\TypeWithAnnotations.cs (1)
544return Type.Equals(other.Type, comparison);