示例#1
0
        internal static string ToDisplayName(this TypeSymbol type)
        {
            if (type.IsUnknown())
            {
                return("<?>");
            }

            if (type.IsMissing())
            {
                return("<missing>");
            }

            return(type.Name);
        }
示例#2
0
 public static bool IsError(this TypeSymbol type)
 {
     return(type.IsMissing() || type.IsUnknown());
 }