9 references to LoadIntoBufferAsync
Microsoft.AspNetCore.ResponseCompression.Tests (2)
ResponseCompressionMiddlewareTest.cs (2)
659await response.Content.LoadIntoBufferAsync(); 704await response.Content.LoadIntoBufferAsync();
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
Listener\ResponseBodyTests.cs (2)
204await Assert.ThrowsAsync<HttpRequestException>(() => response.Content.LoadIntoBufferAsync()); 226await Assert.ThrowsAsync<HttpRequestException>(() => response.Content.LoadIntoBufferAsync());
ResponseSendFileTests.cs (2)
617var bufferTask = response.Content.LoadIntoBufferAsync(); 666var bufferTask = response.Content.LoadIntoBufferAsync();
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
LoggingHandler.cs (1)
37await response.Content.LoadIntoBufferAsync();
System.Net.Http (2)
System\Net\Http\HttpContent.cs (2)
542return WaitAndReturnAsync(LoadIntoBufferAsync(), this, static s => (Stream)s.CreateMemoryStreamFromBufferedContent()); 776/// the execution path we control. In practice this means <see cref="LoadIntoBufferAsync()"/> must call <see cref="ReturnAllPooledBuffers"/>