public override string ToString() { StringBuilder s = new StringBuilder(StringUtil.TypeToString(Type) + "." + MethodName); if (TypeArguments != null) { s.Append("<"); StringUtil.AppendTypes(s, TypeArguments); s.Append(">"); } else if (TypeParameterCount > 0) { s.Append("<"); for (int i = 1; i < TypeParameterCount; i++) { s.Append(","); } s.Append(">"); } if (ParameterTypes != null) { s.Append("("); StringUtil.AppendTypes(s, ParameterTypes); s.Append(")"); } return(s.ToString()); }