Share via


SymbolEqualityComparer.Equals(ISymbol, ISymbol) Method

Definition

Determines if two ISymbol instances are equal according to the rules of this comparer

public bool Equals (Microsoft.CodeAnalysis.ISymbol? x, Microsoft.CodeAnalysis.ISymbol? y);
public bool Equals (Microsoft.CodeAnalysis.ISymbol x, Microsoft.CodeAnalysis.ISymbol y);
override this.Equals : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.ISymbol -> bool
Public Function Equals (x As ISymbol, y As ISymbol) As Boolean

Parameters

x
ISymbol

The first symbol to compare

y
ISymbol

The second symbol to compare

Returns

True if the symbols are equivalent

Implements

Applies to