ISymbol.Equals(ISymbol, SymbolEqualityComparer) 方法

定义

根据所提供的规则确定此符号是否等于另一个符号 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

参数

other
ISymbol

要与另一个符号进行比较

equalityComparer
SymbolEqualityComparer

SymbolEqualityComparer比较符号时要使用的

返回

如此 如果符号等效。

适用于