5 writes to _currentSegmentIndex
Microsoft.AspNetCore.OutputCaching (5)
RecyclableSequenceBuilder.cs (5)
43
_currentSegmentIndex
= 0;
52
_currentSegmentIndex
= 0;
70
_currentSegmentIndex
= 0;
80
_currentSegmentIndex
= 0;
115
_currentSegmentIndex
+= count;
6 references to _currentSegmentIndex
Microsoft.AspNetCore.OutputCaching (6)
RecyclableSequenceBuilder.cs (6)
38
ReadOnlyMemory<byte> memory = _firstSegment.Memory.Slice(0,
_currentSegmentIndex
);
48
var payload = new ReadOnlySequence<byte>(_firstSegment, 0, _currentSegment!,
_currentSegmentIndex
);
75
Debug.Assert(
_currentSegmentIndex
>= 0 &&
_currentSegmentIndex
<= current.Length);
77
if (
_currentSegmentIndex
== current.Length)
85
return MemoryMarshal.AsMemory(current).Span.Slice(
_currentSegmentIndex
);