3 references to ThrowArgumentException_InvalidUTF16
System.Text.Json (3)
System\Text\Json\Writer\JsonWriterHelper.Escaping.cs (1)
216ThrowHelper.ThrowArgumentException_InvalidUTF16(value[encoderCharsWritten]);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (2)
100ThrowHelper.ThrowArgumentException_InvalidUTF16(value[written]); 141ThrowHelper.ThrowArgumentException_InvalidUTF16(value[written]);