message: Write double as string when is NaN or +Infinity or -Infinity
diff: case int @int:
  writer.Write(@int);
  break;
  - case double @double:
  + case double @double when !double.IsNaN(@double) && !double.IsPositiveInfinity(@double) && !double.IsNegativeInfinity(@double):
  writer.Write(@double);
  break;
  case decimal @decimal:
  