共用方式為


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比較符號時要使用的

傳回

如果符號相等,則為 True。

適用於