2 writes to _bufferedContent
System.Net.Http (2)
System\Net\Http\HttpContent.cs (2)
428_bufferedContent = tempBuffer; 517_bufferedContent = tempBuffer;
14 references to _bufferedContent
System.Net.Http (14)
System\Net\Http\HttpContent.cs (14)
69[MemberNotNullWhen(true, nameof(_bufferedContent))] 70private bool IsBuffered => _bufferedContent is not null; 84return new MemoryStream(_bufferedContent.GetSingleBuffer(), 0, (int)_bufferedContent.Length, writable: false); 100return ReadBufferAsString(_bufferedContent, Headers); 194Debug.Assert(_bufferedContent != null); 196return _bufferedContent.CreateCopy(); 318stream.Write(_bufferedContent.GetSingleBuffer(), 0, (int)_bufferedContent.Length); 370return stream.WriteAsync(_bufferedContent.GetSingleBuffer().AsMemory(0, (int)_bufferedContent.Length), cancellationToken); 568return _bufferedContent.Length; 644_bufferedContent.Dispose(); 777/// before storing the stream in <see cref="_bufferedContent"/>.</para>