1 write to _bufferSegmentPool
System.IO.Pipelines (1)
System\IO\Pipelines\StreamPipeWriter.cs (1)
61
_bufferSegmentPool
= new BufferSegmentStack(InitialSegmentPoolSize);
3 references to _bufferSegmentPool
System.IO.Pipelines (3)
System\IO\Pipelines\StreamPipeWriter.cs (3)
186
if (
_bufferSegmentPool
.TryPop(out BufferSegment? segment))
197
if (
_bufferSegmentPool
.Count < MaxSegmentPoolSize)
199
_bufferSegmentPool
.Push(segment);