4 references to ToUtf8
System.Text.Json (4)
System\Text\Json\Document\JsonDocument.cs (1)
319
OperationStatus status = JsonWriterHelper.
ToUtf8
(otherText, otherUtf8Text, out int written);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Helpers.cs (1)
214
OperationStatus status = JsonWriterHelper.
ToUtf8
(escapedPropertyName, output.Slice(BytesPending), out int written);
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (2)
99
OperationStatus status = JsonWriterHelper.
ToUtf8
(value, output.Slice(BytesPending), out int written);
140
OperationStatus status = JsonWriterHelper.
ToUtf8
(value, output.Slice(BytesPending), out int written);