12 references to ArrayPool
Microsoft.AspNetCore.Components.Tests (12)
Rendering\ArrayBuilderTest.cs (12)
213
var returnedBuffer = Assert.Single(
ArrayPool
.ReturnedBuffers);
230
var returnedBuffer = Assert.Single(
ArrayPool
.ReturnedBuffers);
244
Assert.Empty(
ArrayPool
.ReturnedBuffers);
259
Assert.Single(
ArrayPool
.ReturnedBuffers);
260
var returnedBuffer = Assert.Single(
ArrayPool
.ReturnedBuffers);
278
Assert.Single(
ArrayPool
.ReturnedBuffers);
279
var returnedBuffer = Assert.Single(
ArrayPool
.ReturnedBuffers);
292
Assert.Single(
ArrayPool
.ReturnedBuffers);
312
ArrayPool
.ReturnedBuffers,
318
ArrayPool
.ReturnedBuffers.Clear();
323
Assert.Same(buffer, Assert.Single(
ArrayPool
.ReturnedBuffers));
328
return new ArrayBuilder<int>(capacity,
ArrayPool
);