2 writes to _array
System.Text.RegularExpressions (2)
System\Text\StructListBuilder.cs (2)
52
_array
= null!;
66
T[] newArray =
_array
= ArrayPool<T>.Shared.Rent(newSize);
6 references to _array
System.Text.RegularExpressions (6)
System\Text\StructListBuilder.cs (6)
16
/// <summary>The number of items in <see cref="
_array
"/>, and thus also the next position in the array to be filled.</summary>
27
public Span<T> AsSpan() =>
_array
.AsSpan(0, _count);
33
T[] array =
_array
;
49
if (
_array
!= null)
51
ArrayPool<T>.Shared.Return(
_array
, clearArray: RuntimeHelpers.IsReferenceOrContainsReferences<T>());
60
T[] array =
_array
;