15 references to ThrowsArgumentOutOfRange
Microsoft.AspNetCore.DataProtection.Tests (1)
SecretTests.cs (1)
100ExceptionAssert.ThrowsArgumentOutOfRange(
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
HostStringTest.cs (1)
17ExceptionAssert.ThrowsArgumentOutOfRange(() => new HostString("localhost", port), "port", "The value must be greater than zero.");
Microsoft.AspNetCore.InternalTesting.Tests (1)
ExceptionAssertTest.cs (1)
36ExceptionAssert.ThrowsArgumentOutOfRange(action, "foo", "exception message.", 10);
Microsoft.AspNetCore.Routing.Tests (7)
Constraints\LengthRouteConstraintTests.cs (4)
52ExceptionAssert.ThrowsArgumentOutOfRange( 66ExceptionAssert.ThrowsArgumentOutOfRange( 80ExceptionAssert.ThrowsArgumentOutOfRange( 95ExceptionAssert.ThrowsArgumentOutOfRange(
Constraints\MaxLengthRouteConstraintTests.cs (1)
35ExceptionAssert.ThrowsArgumentOutOfRange(
Constraints\MinLengthRouteConstraintTests.cs (1)
35ExceptionAssert.ThrowsArgumentOutOfRange(
Constraints\RangeRouteConstraintTests.cs (1)
40ExceptionAssert.ThrowsArgumentOutOfRange(
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (5)
TimeExpirationTests.cs (5)
28ExceptionAssert.ThrowsArgumentOutOfRange( 79ExceptionAssert.ThrowsArgumentOutOfRange(() => 95ExceptionAssert.ThrowsArgumentOutOfRange( 145ExceptionAssert.ThrowsArgumentOutOfRange(() => 158ExceptionAssert.ThrowsArgumentOutOfRange(