1 instantiation of DistinctException
xunit.assert (1)
Sdk\Exceptions\DistinctException.cs (1)
38 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)
148 /// <exception cref="DistinctException">Thrown when an object is present inside the collection more than once</exception> 158 /// <exception cref="DistinctException">Thrown when an object is present inside the collection more than once</exception>
CollectionAsserts.cs (3)
314 /// <exception cref="DistinctException">Thrown when an object is present inside the collection more than once</exception> 324 /// <exception cref="DistinctException">Thrown when an object is present inside the collection more than once</exception> 338 throw DistinctException.ForDuplicateItem(ArgumentFormatter.Format(item), tracker.FormatStart());
Sdk\Exceptions\DistinctException.cs (2)
30 /// Creates an instance of the <see cref="DistinctException"/> class that is thrown 35 public static DistinctException ForDuplicateItem(