3 writes to _firstSegment
Microsoft.AspNetCore.OutputCaching (3)
RecyclableSequenceBuilder.cs (3)
42
_firstSegment
= _currentSegment = null;
51
_firstSegment
= _currentSegment = null;
69
_currentSegment =
_firstSegment
= RecyclableReadOnlySequenceSegment.Create(_segmentSize, null);
6 references to _firstSegment
Microsoft.AspNetCore.OutputCaching (6)
RecyclableSequenceBuilder.cs (6)
31
if (
_firstSegment
is null)
35
if (ReferenceEquals(
_firstSegment
, _currentSegment))
38
ReadOnlyMemory<byte> memory =
_firstSegment
.Memory.Slice(0, _currentSegmentIndex);
40
RecyclableReadOnlySequenceSegment.RecycleChain(
_firstSegment
, recycleBuffers: false);
48
var payload = new ReadOnlySequence<byte>(
_firstSegment
, 0, _currentSegment!, _currentSegmentIndex);
67
if (
_firstSegment
is null)