ISymbol.Equals(ISymbol, SymbolEqualityComparer) 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 this symbol is equal to another, according to the rules of the provided SymbolEqualityComparer
public bool Equals (Microsoft.CodeAnalysis.ISymbol? other, Microsoft.CodeAnalysis.SymbolEqualityComparer equalityComparer);
public bool Equals (Microsoft.CodeAnalysis.ISymbol other, Microsoft.CodeAnalysis.SymbolEqualityComparer equalityComparer);
abstract member Equals : Microsoft.CodeAnalysis.ISymbol * Microsoft.CodeAnalysis.SymbolEqualityComparer -> bool
Public Function Equals (other As ISymbol, equalityComparer As SymbolEqualityComparer) As Boolean
Parameters
- other
- ISymbol
The other symbol to compare against
- equalityComparer
- SymbolEqualityComparer
The SymbolEqualityComparer to use when comparing symbols
Returns
True if the symbols are equivalent.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.