İngilizce dilinde oku

Aracılığıyla paylaş


SymbolEqualityComparer Class

Definition

Allows for the comparison of two ISymbol instances

C#
public sealed class SymbolEqualityComparer : System.Collections.Generic.IEqualityComparer<Microsoft.CodeAnalysis.ISymbol>
Inheritance
SymbolEqualityComparer
Implements

Fields

Default

Compares two ISymbol instances based on the default comparison rules, equivalent to calling Equals(T).

IncludeNullability

Compares two ISymbol instances, considering that a reference type and the same nullable reference type are not equal.

Methods

Equals(ISymbol, ISymbol)

Determines if two ISymbol instances are equal according to the rules of this comparer

GetHashCode(ISymbol)

Applies to

Ürün Sürümler
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0