1 instantiation of DistinctException
xunit.assert (1)
Sdk\Exceptions\DistinctException.cs (1)
33 new DistinctException(
13 references to DistinctException
Microsoft.DotNet.XUnitAssert.Tests (6)
AsyncCollectionAssertsTests.cs (3)
411 Assert.IsType<DistinctException>(ex); 427 Assert.IsType<DistinctException>(ex); 452 Assert.IsType<DistinctException>(ex);
CollectionAssertsTests.cs (3)
445 Assert.IsType<DistinctException>(ex); 461 Assert.IsType<DistinctException>(ex); 486 Assert.IsType<DistinctException>(ex);
xunit.assert (7)
AsyncCollectionAsserts.cs (2)
144 /// <exception cref="DistinctException">Thrown when an object is present inside the collection more than once</exception> 154 /// <exception cref="DistinctException">Thrown when an object is present inside the collection more than once</exception>
CollectionAsserts.cs (3)
301 /// <exception cref="DistinctException">Thrown when an object is present inside the collection more than once</exception> 311 /// <exception cref="DistinctException">Thrown when an object is present inside the collection more than once</exception> 325 throw DistinctException.ForDuplicateItem(ArgumentFormatter.Format(item), tracker.FormatStart());
Sdk\Exceptions\DistinctException.cs (2)
25 /// Creates an instance of the <see cref="DistinctException"/> class that is thrown 30 public static DistinctException ForDuplicateItem(