Partilhar via


ISymbol.Equals(ISymbol, SymbolEqualityComparer) Método

Definição

Determina se esse símbolo é igual a outro, de acordo com as regras do fornecido 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

Parâmetros

other
ISymbol

O outro símbolo a ser comparado com

equalityComparer
SymbolEqualityComparer

O SymbolEqualityComparer para usar ao comparar símbolos

Retornos

True se os símbolos forem equivalentes.

Aplica-se a