2 references to ThrowArgumentException_InvalidUTF8
System.Text.Json (2)
System\Text\Json\Writer\JsonWriterHelper.Escaping.cs (1)
93ThrowHelper.ThrowArgumentException_InvalidUTF8(value.Slice(encoderBytesWritten));
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (1)
174ThrowHelper.ThrowArgumentException_InvalidUTF8(utf8Value);