4 types derived from FileBufferingReadStream
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
28 instantiations of FileBufferingReadStream
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
Microsoft.AspNetCore.WebUtilities.Tests (22)
FileBufferingReadStreamTests.cs (22)
24using var stream = new FileBufferingReadStream(inner, 1024, null, Directory.GetCurrentDirectory());
44using (var stream = new FileBufferingReadStream(inner, 1024 * 2, null, Directory.GetCurrentDirectory()))
77using (var stream = new FileBufferingReadStream(inner, 1024 * 3, null, Directory.GetCurrentDirectory()))
111using (var stream = new FileBufferingReadStream(inner, 1024, null, GetCurrentDirectory()))
149using (var stream = new FileBufferingReadStream(inner, 1024, 900, Directory.GetCurrentDirectory()))
172using (var stream = new FileBufferingReadStream(inner, 512, 1024, GetCurrentDirectory()))
206using (var stream = new FileBufferingReadStream(inner, 1024 * 2, null, Directory.GetCurrentDirectory()))
239using (var stream = new FileBufferingReadStream(inner, 1024 * 3, null, Directory.GetCurrentDirectory()))
273using (var stream = new FileBufferingReadStream(inner, 1024, null, GetCurrentDirectory()))
312using (var stream = new FileBufferingReadStream(inner, 1024, null, GetCurrentDirectory()))
352using (var stream = new FileBufferingReadStream(inner, 1024, 900, Directory.GetCurrentDirectory()))
375using (var stream = new FileBufferingReadStream(inner, 512, 1024, GetCurrentDirectory()))
414using (var stream = new FileBufferingReadStream(inner, 1024 * 1024 + 1, 2 * 1024 * 1024, GetCurrentDirectory(), arrayPool.Object))
443using (var stream = new FileBufferingReadStream(inner, 1024 * 1024 + 1, 2 * 1024 * 1024, GetCurrentDirectory(), arrayPool.Object))
470using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
494using var stream = new FileBufferingReadStream(inner, 100, bufferLimit: null, GetCurrentDirectory());
515using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
532using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
550using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
569using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
589using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
609using (var stream = new FileBufferingReadStream(inner, 1024, null, GetCurrentDirectory()))
31 references to FileBufferingReadStream
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
Microsoft.AspNetCore.WebUtilities (5)
Microsoft.AspNetCore.WebUtilities.Tests (22)
FileBufferingReadStreamTests.cs (22)
24using var stream = new FileBufferingReadStream(inner, 1024, null, Directory.GetCurrentDirectory());
44using (var stream = new FileBufferingReadStream(inner, 1024 * 2, null, Directory.GetCurrentDirectory()))
77using (var stream = new FileBufferingReadStream(inner, 1024 * 3, null, Directory.GetCurrentDirectory()))
111using (var stream = new FileBufferingReadStream(inner, 1024, null, GetCurrentDirectory()))
149using (var stream = new FileBufferingReadStream(inner, 1024, 900, Directory.GetCurrentDirectory()))
172using (var stream = new FileBufferingReadStream(inner, 512, 1024, GetCurrentDirectory()))
206using (var stream = new FileBufferingReadStream(inner, 1024 * 2, null, Directory.GetCurrentDirectory()))
239using (var stream = new FileBufferingReadStream(inner, 1024 * 3, null, Directory.GetCurrentDirectory()))
273using (var stream = new FileBufferingReadStream(inner, 1024, null, GetCurrentDirectory()))
312using (var stream = new FileBufferingReadStream(inner, 1024, null, GetCurrentDirectory()))
352using (var stream = new FileBufferingReadStream(inner, 1024, 900, Directory.GetCurrentDirectory()))
375using (var stream = new FileBufferingReadStream(inner, 512, 1024, GetCurrentDirectory()))
414using (var stream = new FileBufferingReadStream(inner, 1024 * 1024 + 1, 2 * 1024 * 1024, GetCurrentDirectory(), arrayPool.Object))
443using (var stream = new FileBufferingReadStream(inner, 1024 * 1024 + 1, 2 * 1024 * 1024, GetCurrentDirectory(), arrayPool.Object))
470using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
494using var stream = new FileBufferingReadStream(inner, 100, bufferLimit: null, GetCurrentDirectory());
515using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
532using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
550using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
569using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
589using var stream = new FileBufferingReadStream(inner, 1024 * 1024, bufferLimit: null, GetCurrentDirectory());
609using (var stream = new FileBufferingReadStream(inner, 1024, null, GetCurrentDirectory()))