2 instantiations of EmptyException
xunit.assert (2)
Sdk\Exceptions\EmptyException.cs (2)
34 new EmptyException( 49 new EmptyException(
12 references to EmptyException
Microsoft.DotNet.XUnitAssert.Tests (3)
Asserts\AsyncCollectionAssertsTests.cs (1)
603 Assert.IsType<EmptyException>(ex);
Asserts\CollectionAssertsTests.cs (1)
722 Assert.IsType<EmptyException>(ex);
Asserts\StringAssertsTests.cs (1)
394 Assert.IsType<EmptyException>(ex);
xunit.assert (9)
AsyncCollectionAsserts.cs (1)
200 /// <exception cref="EmptyException">Thrown when the collection is not empty</exception>
CollectionAsserts.cs (2)
529 /// <exception cref="EmptyException">Thrown when the collection is not empty</exception> 538 throw EmptyException.ForNonEmptyCollection(tracker.FormatStart());
Sdk\Exceptions\EmptyException.cs (4)
29 /// Creates a new instance of the <see cref="EmptyException"/> to be thrown 33 public static EmptyException ForNonEmptyCollection(string collection) => 44 /// Creates a new instance of the <see cref="EmptyException"/> to be thrown 48 public static EmptyException ForNonEmptyString(string value) =>
StringAsserts.cs (2)
566 /// <exception cref="EmptyException">Thrown when the string is not empty</exception> 572 throw EmptyException.ForNonEmptyString(value);