3 instantiations of LimitArrayPoolWriteStream
System.Net.Http (3)
System\Net\Http\HttpClient.cs (2)
202
using var buffer = new HttpContent.
LimitArrayPoolWriteStream
(
278
using var buffer = new HttpContent.
LimitArrayPoolWriteStream
(
System\Net\Http\HttpContent.cs (1)
619
tempBuffer = new
LimitArrayPoolWriteStream
((int)maxBufferSize, contentLength, getFinalSizeFromPool: false);
8 references to LimitArrayPoolWriteStream
System.Net.Http (8)
System\Net\Http\HttpClient.cs (2)
202
using
var
buffer = new HttpContent.LimitArrayPoolWriteStream(
278
using
var
buffer = new HttpContent.LimitArrayPoolWriteStream(
System\Net\Http\HttpContent.cs (6)
19
private
LimitArrayPoolWriteStream
? _bufferedContent;
103
internal static string ReadBufferAsString(
LimitArrayPoolWriteStream
stream, HttpContentHeaders headers)
382
if (!CreateTemporaryBuffer(maxBufferSize, out
LimitArrayPoolWriteStream
? tempBuffer, out Exception? error))
470
if (!CreateTemporaryBuffer(maxBufferSize, out
LimitArrayPoolWriteStream
? tempBuffer, out Exception? error))
502
private async Task LoadIntoBufferAsyncCore(Task serializeToStreamTask,
LimitArrayPoolWriteStream
tempBuffer)
588
private bool CreateTemporaryBuffer(long maxBufferSize, out
LimitArrayPoolWriteStream
? tempBuffer, out Exception? error)