6 writes to _arrayBufferWriter
System.Text.Json (6)
System\Text\Json\Writer\Utf8JsonWriter.cs (6)
251_arrayBufferWriter = new ArrayBufferWriter<byte>(); 313_arrayBufferWriter = new ArrayBufferWriter<byte>(); 344_arrayBufferWriter = null; 354_arrayBufferWriter = null; 471_arrayBufferWriter = null; 502_arrayBufferWriter = null;
18 references to _arrayBufferWriter
System.Text.Json (18)
System\Text\Json\Writer\Utf8JsonWriter.cs (18)
283_arrayBufferWriter?.Clear(); 311if (_arrayBufferWriter == null) 317_arrayBufferWriter.Clear(); 360Debug.Assert(_output is null && _stream is null && _arrayBufferWriter is null); 415Debug.Assert(_arrayBufferWriter != null); 418_arrayBufferWriter.Advance(BytesPending); 422_stream.Write(_arrayBufferWriter.WrittenSpan); 427BytesCommitted += _arrayBufferWriter.WrittenCount; 428_arrayBufferWriter.Clear(); 524Debug.Assert(_arrayBufferWriter != null); 527_arrayBufferWriter.Advance(BytesPending); 530await _stream.WriteAsync(_arrayBufferWriter.WrittenMemory, cancellationToken).ConfigureAwait(false); 532BytesCommitted += _arrayBufferWriter.WrittenCount; 533_arrayBufferWriter.Clear(); 1187Debug.Assert(_arrayBufferWriter != null); 1192_memory = _arrayBufferWriter.GetMemory(needed); 1222Debug.Assert(_arrayBufferWriter != null); 1223_memory = _arrayBufferWriter.GetMemory(sizeHint);