3 instantiations of LimitMemoryStream
System.Net.Http (3)
System\Net\Http\HttpClient.cs (1)
284new HttpContent.LimitMemoryStream(_maxResponseContentBufferSize, (int)contentLength.GetValueOrDefault()) :
System\Net\Http\HttpContent.cs (2)
670return new LimitMemoryStream((int)maxBufferSize, (int)contentLength); 674return new LimitMemoryStream((int)maxBufferSize, 0);
2 references to LimitMemoryStream
System.Net.Http (2)
System\Net\Http\HttpClient.cs (1)
299buffer is HttpContent.LimitMemoryStream lms ? lms.GetSizedBuffer() :
System\Net\Http\HttpContent.cs (1)
651private LimitMemoryStream? CreateMemoryStream(long maxBufferSize, out Exception? error)