GetNiceName() static private method

static private GetNiceName ( PredefinedType type ) : string
type PredefinedType
return string
        ////////////////////////////////////////////////////////////////////////////////
        // Some of the predefined types have built-in names, like "int" or "string" or
        // "object". This return the nice name if one exists; otherwise null is
        // returned.

        public static string GetNiceName(PredefinedType pt)
        {
            return(PredefinedTypeFacts.GetNiceName(pt));
        }
Esempio n. 2
0
        ////////////////////////////////////////////////////////////////////////////////
        // Some of the predefined types have built-in names, like "int" or "string" or
        // "object". This return the nice name if one exists; otherwise null is
        // returned.

        private static string GetNiceName(PredefinedType pt) => PredefinedTypeFacts.GetNiceName(pt);