2 writes to Count
Microsoft.AspNetCore.Components.Endpoints (2)
FormMapping\Converters\CollectionAdapters\ArrayPoolBufferAdapter.cs (2)
12
public static PooledBuffer CreateBuffer() => new() { Data = ArrayPool<TElement>.Shared.Rent(16),
Count
= 0 };
24
buffer.Data[buffer.
Count
++] = element;
2 references to Count
Microsoft.AspNetCore.Components.Endpoints (2)
FormMapping\Converters\CollectionAdapters\ArrayPoolBufferAdapter.cs (2)
16
if (buffer.
Count
>= buffer.Data.Length)
30
var result = TCollectionFactory.ToResultCore(buffer.Data, buffer.
Count
);