Aracılığıyla paylaş


SymbolEqualityComparer.Default Field

Definition

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

public static readonly Microsoft.CodeAnalysis.SymbolEqualityComparer Default;
 staticval mutable Default : Microsoft.CodeAnalysis.SymbolEqualityComparer
Public Shared ReadOnly Default As SymbolEqualityComparer 

Field Value

Remarks

Comparing string and string? will return equal. Use IncludeNullability if you don't want them to be considered equal.

Applies to