Skip to content

v3.7.2

Choose a tag to compare

@linkdotnet linkdotnet released this 04 Oct 09:21
eab9c83

Fixed

  • AsSpan(int startIndex, int length) and ToString(int startIndex, int length) throw an ArgumentOutOfRangeException when the requested range ends after Length, instead of returning characters from the unused part of the buffer.
  • The indexer throws an IndexOutOfRangeException for an index at or after Length, instead of giving access to the unused part of the buffer.
  • Append/AppendLine with an interpolated string could return the rented array to the ArrayPool twice when an interpolation hole threw after the buffer grew. Reported by @dhhoang in #324