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
))]
70
private bool IsBuffered =>
_bufferedContent
is not null;
84
return new MemoryStream(
_bufferedContent
.GetSingleBuffer(), 0, (int)
_bufferedContent
.Length, writable: false);
100
return ReadBufferAsString(
_bufferedContent
, Headers);
194
Debug.Assert(
_bufferedContent
!= null);
196
return
_bufferedContent
.CreateCopy();
318
stream.Write(
_bufferedContent
.GetSingleBuffer(), 0, (int)
_bufferedContent
.Length);
370
return stream.WriteAsync(
_bufferedContent
.GetSingleBuffer().AsMemory(0, (int)
_bufferedContent
.Length), cancellationToken);
568
return
_bufferedContent
.Length;
644
_bufferedContent
.Dispose();
777
/// before storing the stream in <see cref="
_bufferedContent
"/>.</para>