2 instantiations of CollectionException
xunit.assert (2)
Sdk\Exceptions\CollectionException.cs (2)
79 return new CollectionException(message); 93 new CollectionException(
24 references to CollectionException
Microsoft.DotNet.XUnitAssert.Tests (16)
AsyncCollectionAssertsTests.cs (8)
143 var collEx = Assert.IsType<CollectionException>(ex); 177 var collEx = Assert.IsType<CollectionException>(ex); 214 var collEx = Assert.IsType<CollectionException>(ex); 264 var collEx = Assert.IsType<CollectionException>(ex);
CollectionAssertsTests.cs (8)
141 var collEx = Assert.IsType<CollectionException>(ex); 176 var collEx = Assert.IsType<CollectionException>(ex); 214 var collEx = Assert.IsType<CollectionException>(ex); 264 var collEx = Assert.IsType<CollectionException>(ex);
xunit.assert (8)
CollectionAsserts.cs (4)
165 throw CollectionException.ForMismatchedItem(ex, index, pointerIndent, formattedCollection); 172 throw CollectionException.ForMismatchedItemCount(elementInspectors.Length, tracker.IterationCount, tracker.FormatStart()); 206 throw CollectionException.ForMismatchedItem(ex, index, pointerIndent, formattedCollection); 213 throw CollectionException.ForMismatchedItemCount(elementInspectors.Length, tracker.IterationCount, tracker.FormatStart());
Sdk\Exceptions\CollectionException.cs (4)
57 /// Creates an instance of the <see cref="CollectionException"/> class to be thrown 64 public static CollectionException ForMismatchedItem( 83 /// Creates an instance of the <see cref="CollectionException"/> class to be thrown 89 public static CollectionException ForMismatchedItemCount(