Sdílet prostřednictvím


SymbolEqualityComparer.IncludeNullability Field

Definition

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

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

Field Value

Remarks

Comparing string and string? will not return equal. Use Default if you want them to be considered equal.

Applies to