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