2 instantiations of CollectionException
xunit.assert (2)
Sdk\Exceptions\CollectionException.cs (2)
85
return new
CollectionException
(message);
99
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)
178
throw
CollectionException
.ForMismatchedItem(ex, index, pointerIndent, formattedCollection);
185
throw
CollectionException
.ForMismatchedItemCount(elementInspectors.Length, tracker.IterationCount, tracker.FormatStart());
219
throw
CollectionException
.ForMismatchedItem(ex, index, pointerIndent, formattedCollection);
226
throw
CollectionException
.ForMismatchedItemCount(elementInspectors.Length, tracker.IterationCount, tracker.FormatStart());
Sdk\Exceptions\CollectionException.cs (4)
63
/// Creates an instance of the <see cref="
CollectionException
"/> class to be thrown
70
public static
CollectionException
ForMismatchedItem(
89
/// Creates an instance of the <see cref="
CollectionException
"/> class to be thrown
95
public static
CollectionException
ForMismatchedItemCount(