2 instantiations of CollectionException
xunit.assert (2)
Sdk\Exceptions\CollectionException.cs (2)
82 return new CollectionException(message); 96 new CollectionException(
24 references to CollectionException
Microsoft.DotNet.XUnitAssert.Tests (16)
Asserts\AsyncCollectionAssertsTests.cs (8)
144 var collEx = Assert.IsType<CollectionException>(ex); 178 var collEx = Assert.IsType<CollectionException>(ex); 217 var collEx = Assert.IsType<CollectionException>(ex); 267 var collEx = Assert.IsType<CollectionException>(ex);
Asserts\CollectionAssertsTests.cs (8)
183 var collEx = Assert.IsType<CollectionException>(ex); 217 var collEx = Assert.IsType<CollectionException>(ex); 256 var collEx = Assert.IsType<CollectionException>(ex); 306 var collEx = Assert.IsType<CollectionException>(ex);
xunit.assert (8)
CollectionAsserts.cs (4)
256 throw CollectionException.ForMismatchedItem(ex, index, pointerIndent, formattedCollection); 263 throw CollectionException.ForMismatchedItemCount(elementInspectors.Length, tracker.IterationCount, tracker.FormatStart()); 296 throw CollectionException.ForMismatchedItem(ex, index, pointerIndent, formattedCollection); 303 throw CollectionException.ForMismatchedItemCount(elementInspectors.Length, tracker.IterationCount, tracker.FormatStart());
Sdk\Exceptions\CollectionException.cs (4)
60 /// Creates an instance of the <see cref="CollectionException"/> class to be thrown 67 public static CollectionException ForMismatchedItem( 86 /// Creates an instance of the <see cref="CollectionException"/> class to be thrown 92 public static CollectionException ForMismatchedItemCount(