System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (12)
224if (_memory.Length - BytesPending < maxRequired)
244JsonWriterHelper.WriteDateTimeTrimmed(output.Slice(BytesPending), value, out int bytesWritten);
257if (_memory.Length - BytesPending < maxRequired)
270escapedPropertyName.CopyTo(output.Slice(BytesPending));
278JsonWriterHelper.WriteDateTimeTrimmed(output.Slice(BytesPending), value, out int bytesWritten);
295if (_memory.Length - BytesPending < maxRequired)
314WriteIndentation(output.Slice(BytesPending), indent);
327JsonWriterHelper.WriteDateTimeTrimmed(output.Slice(BytesPending), value, out int bytesWritten);
343if (_memory.Length - BytesPending < maxRequired)
362WriteIndentation(output.Slice(BytesPending), indent);
367escapedPropertyName.CopyTo(output.Slice(BytesPending));
376JsonWriterHelper.WriteDateTimeTrimmed(output.Slice(BytesPending), value, out int bytesWritten);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (12)
223if (_memory.Length - BytesPending < maxRequired)
243JsonWriterHelper.WriteDateTimeOffsetTrimmed(output.Slice(BytesPending), value, out int bytesWritten);
256if (_memory.Length - BytesPending < maxRequired)
269escapedPropertyName.CopyTo(output.Slice(BytesPending));
277JsonWriterHelper.WriteDateTimeOffsetTrimmed(output.Slice(BytesPending), value, out int bytesWritten);
294if (_memory.Length - BytesPending < maxRequired)
313WriteIndentation(output.Slice(BytesPending), indent);
326JsonWriterHelper.WriteDateTimeOffsetTrimmed(output.Slice(BytesPending), value, out int bytesWritten);
342if (_memory.Length - BytesPending < maxRequired)
361WriteIndentation(output.Slice(BytesPending), indent);
366escapedPropertyName.CopyTo(output.Slice(BytesPending));
375JsonWriterHelper.WriteDateTimeOffsetTrimmed(output.Slice(BytesPending), value, out int bytesWritten);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (12)
223if (_memory.Length - BytesPending < maxRequired)
241bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
253if (_memory.Length - BytesPending < maxRequired)
266escapedPropertyName.CopyTo(output.Slice(BytesPending));
272bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
288if (_memory.Length - BytesPending < maxRequired)
307WriteIndentation(output.Slice(BytesPending), indent);
318bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
333if (_memory.Length - BytesPending < maxRequired)
352WriteIndentation(output.Slice(BytesPending), indent);
357escapedPropertyName.CopyTo(output.Slice(BytesPending));
364bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (12)
227if (_memory.Length - BytesPending < maxRequired)
245bool result = TryFormatDouble(value, output.Slice(BytesPending), out int bytesWritten);
257if (_memory.Length - BytesPending < maxRequired)
270escapedPropertyName.CopyTo(output.Slice(BytesPending));
276bool result = TryFormatDouble(value, output.Slice(BytesPending), out int bytesWritten);
292if (_memory.Length - BytesPending < maxRequired)
311WriteIndentation(output.Slice(BytesPending), indent);
322bool result = TryFormatDouble(value, output.Slice(BytesPending), out int bytesWritten);
337if (_memory.Length - BytesPending < maxRequired)
356WriteIndentation(output.Slice(BytesPending), indent);
361escapedPropertyName.CopyTo(output.Slice(BytesPending));
368bool result = TryFormatDouble(value, output.Slice(BytesPending), out int bytesWritten);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (12)
227if (_memory.Length - BytesPending < maxRequired)
245bool result = TryFormatSingle(value, output.Slice(BytesPending), out int bytesWritten);
257if (_memory.Length - BytesPending < maxRequired)
270escapedPropertyName.CopyTo(output.Slice(BytesPending));
276bool result = TryFormatSingle(value, output.Slice(BytesPending), out int bytesWritten);
292if (_memory.Length - BytesPending < maxRequired)
311WriteIndentation(output.Slice(BytesPending), indent);
322bool result = TryFormatSingle(value, output.Slice(BytesPending), out int bytesWritten);
337if (_memory.Length - BytesPending < maxRequired)
356WriteIndentation(output.Slice(BytesPending), indent);
361escapedPropertyName.CopyTo(output.Slice(BytesPending));
368bool result = TryFormatSingle(value, output.Slice(BytesPending), out int bytesWritten);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (12)
223if (_memory.Length - BytesPending < maxRequired)
243bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
257if (_memory.Length - BytesPending < maxRequired)
270escapedPropertyName.CopyTo(output.Slice(BytesPending));
278bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
296if (_memory.Length - BytesPending < maxRequired)
315WriteIndentation(output.Slice(BytesPending), indent);
328bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
345if (_memory.Length - BytesPending < maxRequired)
364WriteIndentation(output.Slice(BytesPending), indent);
369escapedPropertyName.CopyTo(output.Slice(BytesPending));
378bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (12)
299if (_memory.Length - BytesPending < maxRequired)
317bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
329if (_memory.Length - BytesPending < maxRequired)
342escapedPropertyName.CopyTo(output.Slice(BytesPending));
348bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
364if (_memory.Length - BytesPending < maxRequired)
383WriteIndentation(output.Slice(BytesPending), indent);
394bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
409if (_memory.Length - BytesPending < maxRequired)
428WriteIndentation(output.Slice(BytesPending), indent);
433escapedPropertyName.CopyTo(output.Slice(BytesPending));
440bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (12)
308if (_memory.Length - BytesPending < maxRequired)
326bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
338if (_memory.Length - BytesPending < maxRequired)
351escapedPropertyName.CopyTo(output.Slice(BytesPending));
357bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
373if (_memory.Length - BytesPending < maxRequired)
392WriteIndentation(output.Slice(BytesPending), indent);
403bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);
418if (_memory.Length - BytesPending < maxRequired)
437WriteIndentation(output.Slice(BytesPending), indent);
442escapedPropertyName.CopyTo(output.Slice(BytesPending));
449bool result = Utf8Formatter.TryFormat(value, output.Slice(BytesPending), out int bytesWritten);