1 instantiation of NotInRangeException
xunit.assert (1)
RangeAsserts.cs (1)
87
throw new
NotInRangeException
(actual, low, high);
7 references to NotInRangeException
Microsoft.DotNet.XUnitAssert.Tests (4)
RangeAssertsTests.cs (4)
78
Assert.Throws<
NotInRangeException
>(() => Assert.NotInRange(1.0, .75, 1.25));
90
Assert.Throws<
NotInRangeException
>(() => Assert.NotInRange(2, 1, 3));
102
Assert.Throws<
NotInRangeException
>(() => Assert.NotInRange("bob", "adam", "scott"));
111
Assert.Throws<
NotInRangeException
>(() => Assert.NotInRange(400.0, .75, 1.25, new DoubleComparer(-1)));
xunit.assert (3)
RangeAsserts.cs (2)
61
/// <exception cref="
NotInRangeException
">Thrown when the value is in the given range</exception>
77
/// <exception cref="
NotInRangeException
">Thrown when the value is in the given range</exception>
Sdk\Exceptions\NotInRangeException.cs (1)
20
/// Creates a new instance of the <see cref="
NotInRangeException
"/> class.