Esempio n. 1
0
 protected override void AppendTypeName(StringBuilder sb)
 {
     if (ResolvedType.IsValueTuple())
     {
         AppendValueTupleParameterName(sb, ResolvedType);
     }
     else
     {
         // Need to unwrap the first generic argument first.
         sb.Append(TypeNameHelper.GetTypeNameForGenericType(ResolvedType));
         sb.Append("<");
         AppendValueTupleParameterName(sb, ResolvedType.GetGenericArguments()[0]);
         sb.Append(">");
     }
 }