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))] 53StreamToStreamCopy.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. 79if (_content.CanSeek) 81length = _content.Length - _start; 95_content.Dispose(); 103return new ReadOnlyStream(_content); 110return Task.FromResult<Stream>(new ReadOnlyStream(_content)); 114GetType() == typeof(StreamContent) ? new ReadOnlyStream(_content) : // type check ensures we use possible derived type's CreateContentReadStreamAsync override 126if (_content.CanSeek) 128_content.Position = _start; 141if (_content.CanSeek) 143_content.Position = _start;