示例#1
0
 public override string ToString()
 {
     if (typeArguments.Count == 0)
     {
         return(identifier);
     }
     else
     {
         return(identifier + "<" + DotNet35Compat.StringJoin(",", typeArguments) + ">");
     }
 }
示例#2
0
        public override string ToString()
        {
            StringBuilder b = new StringBuilder(this.Identifier);

            if (this.TypeArguments.Any())
            {
                b.Append('<');
                b.Append(DotNet35Compat.StringJoin(", ", this.TypeArguments));
                b.Append('>');
            }
            return(b.ToString());
        }
示例#3
0
        public override string ToString()
        {
            StringBuilder b = new StringBuilder();

            b.Append(this.Target);
            if (IsDoubleColon)
            {
                b.Append("::");
            }
            else
            {
                b.Append('.');
            }
            b.Append(this.MemberName);
            if (this.TypeArguments.Any())
            {
                b.Append('<');
                b.Append(DotNet35Compat.StringJoin(", ", this.TypeArguments));
                b.Append('>');
            }
            return(b.ToString());
        }