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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.