2 writes to Data
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Binding\FormDataMapperTests.cs (2)
2339
public static PooledBuffer CreateBuffer() => new() {
Data
= Rent(16), Count = 0 };
2348
buffer.
Data
= newBuffer;
8 references to Data
Microsoft.AspNetCore.Components.Endpoints.Tests (8)
Binding\FormDataMapperTests.cs (8)
2343
if (buffer.Count >= buffer.
Data
.Length)
2345
var newBuffer = Rent(buffer.
Data
.Length * 2);
2346
Array.Copy(buffer.
Data
, newBuffer, buffer.
Data
.Length);
2347
Return(buffer.
Data
);
2351
buffer.
Data
[buffer.Count++] = element;
2358
Array.Copy(buffer.
Data
, result, buffer.Count);
2359
Return(buffer.
Data
);