6 writes to _arrayBufferWriter
System.Text.Json (6)
System\Text\Json\Writer\Utf8JsonWriter.cs (6)
145_arrayBufferWriter = new ArrayBufferWriter<byte>(); 207_arrayBufferWriter = new ArrayBufferWriter<byte>(); 238_arrayBufferWriter = null; 248_arrayBufferWriter = null; 367_arrayBufferWriter = null; 398_arrayBufferWriter = null;
18 references to _arrayBufferWriter
System.Text.Json (18)
System\Text\Json\Writer\Utf8JsonWriter.cs (18)
177_arrayBufferWriter?.Clear(); 205if (_arrayBufferWriter == null) 211_arrayBufferWriter.Clear(); 254Debug.Assert(_output is null && _stream is null && _arrayBufferWriter is null); 306Debug.Assert(_arrayBufferWriter != null); 309_arrayBufferWriter.Advance(BytesPending); 313_stream.Write(_arrayBufferWriter.WrittenSpan); 323BytesCommitted += _arrayBufferWriter.WrittenCount; 324_arrayBufferWriter.Clear(); 420Debug.Assert(_arrayBufferWriter != null); 423_arrayBufferWriter.Advance(BytesPending); 427await _stream.WriteAsync(_arrayBufferWriter.WrittenMemory, cancellationToken).ConfigureAwait(false); 437BytesCommitted += _arrayBufferWriter.WrittenCount; 438_arrayBufferWriter.Clear(); 1075Debug.Assert(_arrayBufferWriter != null); 1080_memory = _arrayBufferWriter.GetMemory(needed); 1110Debug.Assert(_arrayBufferWriter != null); 1111_memory = _arrayBufferWriter.GetMemory(sizeHint);