2 instantiations of EmptyException
xunit.assert (2)
Sdk\Exceptions\EmptyException.cs (2)
36
new
EmptyException
(
51
new
EmptyException
(
12 references to EmptyException
Microsoft.DotNet.XUnitAssert.Tests (3)
AsyncCollectionAssertsTests.cs (1)
596
Assert.IsType<
EmptyException
>(ex);
CollectionAssertsTests.cs (1)
674
Assert.IsType<
EmptyException
>(ex);
StringAssertsTests.cs (1)
417
Assert.IsType<
EmptyException
>(ex);
xunit.assert (9)
AsyncCollectionAsserts.cs (1)
207
/// <exception cref="
EmptyException
">Thrown when the collection is not empty</exception>
CollectionAsserts.cs (2)
458
/// <exception cref="
EmptyException
">Thrown when the collection is not empty</exception>
467
throw
EmptyException
.ForNonEmptyCollection(tracker.FormatStart());
Sdk\Exceptions\EmptyException.cs (4)
31
/// Creates a new instance of the <see cref="
EmptyException
"/> to be thrown
35
public static
EmptyException
ForNonEmptyCollection(string collection) =>
46
/// Creates a new instance of the <see cref="
EmptyException
"/> to be thrown
50
public static
EmptyException
ForNonEmptyString(string value) =>
StringAsserts.cs (2)
586
/// <exception cref="
EmptyException
">Thrown when the string is not empty</exception>
592
throw
EmptyException
.ForNonEmptyString(value);