5 references to First
Microsoft.AspNetCore.Razor.Utilities.Shared.UnitTests (5)
PooledObjects\PooledArrayBuilderTests.cs (5)
225
var exception1 = Assert.Throws<InvalidOperationException>(() => builder.
First
(IsOdd));
237
Assert.Equal(19, builder.
First
(IsOdd));
244
Assert.Equal(19, builder.
First
(IsOdd));
249
var exception3 = Assert.Throws<InvalidOperationException>(() => builder.
First
(IsEven));
261
Assert.Equal(42, builder.
First
(IsEven));