2 instantiations of EmptyException
xunit.assert (2)
Sdk\Exceptions\EmptyException.cs (2)
31
new
EmptyException
(
46
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)
203
/// <exception cref="
EmptyException
">Thrown when the collection is not empty</exception>
CollectionAsserts.cs (2)
445
/// <exception cref="
EmptyException
">Thrown when the collection is not empty</exception>
454
throw
EmptyException
.ForNonEmptyCollection(tracker.FormatStart());
Sdk\Exceptions\EmptyException.cs (4)
26
/// Creates a new instance of the <see cref="
EmptyException
"/> to be thrown
30
public static
EmptyException
ForNonEmptyCollection(string collection) =>
41
/// Creates a new instance of the <see cref="
EmptyException
"/> to be thrown
45
public static
EmptyException
ForNonEmptyString(string value) =>
StringAsserts.cs (2)
578
/// <exception cref="
EmptyException
">Thrown when the string is not empty</exception>
584
throw
EmptyException
.ForNonEmptyString(value);