7 writes to CurrentSpan
System.Memory (7)
System\Buffers\SequenceReader.cs (6)
29
CurrentSpan
= first;
265
CurrentSpan
= default;
271
CurrentSpan
= memory.Span;
278
CurrentSpan
= default;
295
CurrentSpan
= memory.Span;
301
CurrentSpan
= default;
System\Buffers\SequenceReader.Search.cs (1)
752
CurrentSpan
= default;
33 references to CurrentSpan
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\runtime\Http3\Helpers\VariableLengthIntegerHelper.cs (1)
101
ReadOnlySpan<byte> span = reader.
CurrentSpan
;
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\runtime\Http3\Helpers\VariableLengthIntegerHelper.cs (1)
101
ReadOnlySpan<byte> span = reader.
CurrentSpan
;
System.Memory (30)
System\Buffers\SequenceReader.cs (13)
69
/// The index in the <see cref="
CurrentSpan
"/>.
74
/// The unread portion of the <see cref="
CurrentSpan
"/>.
79
get =>
CurrentSpan
.Slice(CurrentSpanIndex);
118
value =
CurrentSpan
[CurrentSpanIndex];
151
if ((CurrentSpanIndex + offset) <=
CurrentSpan
.Length - 1)
155
value =
CurrentSpan
[CurrentSpanIndex + (int)offset];
160
long remainingOffset = offset - (
CurrentSpan
.Length - CurrentSpanIndex);
200
value =
CurrentSpan
[CurrentSpanIndex];
204
if (CurrentSpanIndex >=
CurrentSpan
.Length)
317
if ((count & TooBigOrNegative) == 0 &&
CurrentSpan
.Length - CurrentSpanIndex > (int)count)
339
if (CurrentSpanIndex >=
CurrentSpan
.Length)
355
Debug.Assert(CurrentSpanIndex <
CurrentSpan
.Length);
368
int remaining =
CurrentSpan
.Length - CurrentSpanIndex;
System\Buffers\SequenceReader.Search.cs (17)
35
if (!TryReadToInternal(out ReadOnlySequence<T> sequence, delimiter, advancePastDelimiter,
CurrentSpan
.Length - CurrentSpanIndex))
169
remaining =
CurrentSpan
;
221
remaining =
CurrentSpan
;
311
remaining =
CurrentSpan
;
347
if (!TryReadToAnyInternal(out ReadOnlySequence<T> sequence, delimiters, advancePastDelimiter,
CurrentSpan
.Length - CurrentSpanIndex))
399
remaining =
CurrentSpan
;
581
for (i = CurrentSpanIndex; i <
CurrentSpan
.Length &&
CurrentSpan
[i].Equals(value); i++)
613
for (i = CurrentSpanIndex; i <
CurrentSpan
.Length && values.IndexOf(
CurrentSpan
[i]) != -1; i++)
645
for (i = CurrentSpanIndex; i <
CurrentSpan
.Length; i++)
647
T value =
CurrentSpan
[i];
682
for (i = CurrentSpanIndex; i <
CurrentSpan
.Length; i++)
684
T value =
CurrentSpan
[i];
719
for (i = CurrentSpanIndex; i <
CurrentSpan
.Length; i++)
721
T value =
CurrentSpan
[i];
771
if (
CurrentSpan
[CurrentSpanIndex].Equals(next))
System.Net.Http (1)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\Helpers\VariableLengthIntegerHelper.cs (1)
101
ReadOnlySpan<byte> span = reader.
CurrentSpan
;