SymbolEqualityComparer.Equals(ISymbol, ISymbol) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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