5 instantiations of SegmentWriteStream
Microsoft.AspNetCore.Shared.Tests (5)
SegmentWriteStreamTests.cs (5)
18Assert.Throws<ArgumentOutOfRangeException>(() => new SegmentWriteStream(segmentSize)); 24var stream = new SegmentWriteStream(1); 34var stream = new SegmentWriteStream(1); 47var stream = new SegmentWriteStream(segmentSize); 80var stream = new SegmentWriteStream(segmentSize);
6 references to SegmentWriteStream
Microsoft.AspNetCore.Shared.Tests (6)
SegmentWriteStreamTests.cs (4)
24var stream = new SegmentWriteStream(1); 34var stream = new SegmentWriteStream(1); 47var stream = new SegmentWriteStream(segmentSize); 80var stream = new SegmentWriteStream(segmentSize);
src\Shared\SegmentWriteStream.cs (2)
127throw new ObjectDisposedException(nameof(SegmentWriteStream), "The stream has been closed for writing."); 167throw new ObjectDisposedException(nameof(SegmentWriteStream), "The stream has been closed for writing.");