/// <inheritdoc/> public int GetHashCode(ISymbol obj) { if (obj is ITypeSymbol typeSymbol) { return(TypeSymbolComparer.GetHashCode(typeSymbol)); } return(obj?.MetadataName.GetHashCode() ?? 0); }
/// <inheritdoc/> public int GetHashCode(INamedTypeSymbol obj) => TypeSymbolComparer.GetHashCode(obj);