Exemple #1
0
        public override string ToString()
        {
            string fullName = Name;

            return(Name == "" ? "Unknown" : (NamespaceContext.NamespaceHierarchy.Length == 0 ? fullName : NamespaceContext.ToString() + '.' + fullName));
        }
Exemple #2
0
        public override string ToString()
        {
            string fullName = Name + '<' + string.Join(',', GenericParameters.GetEnumerator()) + '>';

            return(Name == "" ? "Unknown" : (NamespaceContext.NamespaceHierarchy.Length == 0 ? fullName : NamespaceContext.ToString() + '.' + fullName));
        }