API Browser

Method

Equals

abstract virtual func Equals(other: ISymbol?, comparer: SymbolEqualityComparer) -> bool

Declaring type: ISymbol
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: ISymbol.cs

Defined by ISymbol.Equals · Required implementation (no default).

Interface implementation: Required implementation (no default).

Determines whether this symbol is equal to another symbol using the specified symbol equality comparer.

Parameters

Name Type Description
other ISymbol? The other symbol to compare with.
comparer SymbolEqualityComparer The comparer to use for symbol equality.

Return value

Boolean

true if the symbols are considered equal; otherwise, false.