15 references to GetCurrentDirectory
Microsoft.AspNetCore.WebUtilities.Tests (15)
FileBufferingReadStreamTests.cs (15)
111using (var stream = new FileBufferingReadStream(inner, 1024, null, GetCurrentDirectory())) 172using (var stream = new FileBufferingReadStream(inner, 512, 1024, GetCurrentDirectory())) 273using (var stream = new FileBufferingReadStream(inner, 1024, null, GetCurrentDirectory())) 312using (var stream = new FileBufferingReadStream(inner, 1024, null, 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()))