SymbolEqualityComparer.IncludeNullability Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.