1 write to _content
System.Net.Http (1)
System\Net\Http\StreamContent.cs (1)
39
_content
= content;
15 references to _content
System.Net.Http (15)
System\Net\Http\StreamContent.cs (15)
36
[MemberNotNull(nameof(
_content
))]
53
StreamToStreamCopy.Copy(
_content
, stream, _bufferSize, !
_content
.CanSeek);
70
_content
,
73
!
_content
.CanSeek, // If the stream can't be re-read, make sure that it gets disposed once it is consumed.
79
if (
_content
.CanSeek)
81
length =
_content
.Length - _start;
95
_content
.Dispose();
103
return new ReadOnlyStream(
_content
);
110
return Task.FromResult<Stream>(new ReadOnlyStream(
_content
));
114
GetType() == typeof(StreamContent) ? new ReadOnlyStream(
_content
) : // type check ensures we use possible derived type's CreateContentReadStreamAsync override
126
if (
_content
.CanSeek)
128
_content
.Position = _start;
141
if (
_content
.CanSeek)
143
_content
.Position = _start;