2 writes to _span
Microsoft.AspNetCore.Http.Abstractions (2)
src\Shared\ValueStringBuilder\ValueListBuilder.cs (2)
21
_span
= initialSpan;
95
_span
= _arrayFromPool = array;
10 references to _span
Microsoft.AspNetCore.Http.Abstractions (10)
src\Shared\ValueStringBuilder\ValueListBuilder.cs (10)
32
Span<T> span =
_span
;
47
Debug.Assert(_pos ==
_span
.Length);
50
_span
[pos] = item;
54
public ReadOnlySpan<T> AsSpan() =>
_span
.Slice(0, _pos);
78
int nextCapacity = Math.Max(
_span
.Length != 0 ?
_span
.Length * 2 : 4,
_span
.Length + additionalCapacityRequired);
88
nextCapacity = Math.Max(Math.Max(
_span
.Length + 1, ArrayMaxLength),
_span
.Length);
92
_span
.CopyTo(array);