4 writes to _currentSegment
Microsoft.AspNetCore.OutputCaching (4)
RecyclableSequenceBuilder.cs (4)
42
_firstSegment =
_currentSegment
= null;
51
_firstSegment =
_currentSegment
= null;
69
_currentSegment
= _firstSegment = RecyclableReadOnlySequenceSegment.Create(_segmentSize, null);
79
_currentSegment
= RecyclableReadOnlySequenceSegment.Create(_segmentSize, _currentSegment);
6 references to _currentSegment
Microsoft.AspNetCore.OutputCaching (6)
RecyclableSequenceBuilder.cs (6)
35
if (ReferenceEquals(_firstSegment,
_currentSegment
))
48
var payload = new ReadOnlySequence<byte>(_firstSegment, 0,
_currentSegment
!, _currentSegmentIndex);
73
Debug.Assert(
_currentSegment
is not null);
74
var current =
_currentSegment
.Memory;
79
_currentSegment = RecyclableReadOnlySequenceSegment.Create(_segmentSize,
_currentSegment
);
81
current =
_currentSegment
.Memory;