internal static string ToDisplayName(this TypeSymbol type) { if (type.IsUnknown()) { return("<?>"); } if (type.IsMissing()) { return("<missing>"); } return(type.Name); }
public static bool IsError(this TypeSymbol type) { return(type.IsMissing() || type.IsUnknown()); }