1 write to _bufferSegmentPool
System.IO.Pipelines (1)
System\IO\Pipelines\StreamPipeReader.cs (1)
52
_bufferSegmentPool
= new BufferSegmentStack(InitialSegmentPoolSize);
3 references to _bufferSegmentPool
System.IO.Pipelines (3)
System\IO\Pipelines\StreamPipeReader.cs (3)
545
if (
_bufferSegmentPool
.TryPop(out BufferSegment? segment))
560
if (
_bufferSegmentPool
.Count < MaxSegmentPoolSize)
562
_bufferSegmentPool
.Push(segment);