2 instantiations of AllException
xunit.assert (2)
Sdk\Exceptions\AllException.cs (2)
80
return new
AllException
(message);
90
new
AllException
(
30 references to AllException
Microsoft.DotNet.XUnitAssert.Tests (6)
Asserts\AsyncCollectionAssertsTests.cs (2)
40
Assert.IsType<
AllException
>(ex);
92
Assert.IsType<
AllException
>(ex);
Asserts\CollectionAssertsTests.cs (4)
44
Assert.IsType<
AllException
>(ex);
65
Assert.IsType<
AllException
>(ex);
117
Assert.IsType<
AllException
>(ex);
138
Assert.IsType<
AllException
>(ex);
xunit.assert (24)
AsyncCollectionAsserts.cs (4)
27
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
40
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
53
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
66
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
CollectionAsserts.cs (16)
36
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
55
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
56
/// <exception cref="
AllException
">Also thrown when collection is empty and <paramref name="throwIfEmpty"/> is set to true</exception>
75
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
94
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
95
/// <exception cref="
AllException
">Also thrown when collection is empty and <paramref name="throwIfEmpty"/> is set to true</exception>
122
throw
AllException
.ForEmptyCollection();
125
throw
AllException
.ForFailures(idx, errors);
135
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
154
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
155
/// <exception cref="
AllException
">Also thrown when collection is empty and <paramref name="throwIfEmpty"/> is set to true</exception>
174
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
193
/// <exception cref="
AllException
">Thrown when the collection contains at least one non-matching element</exception>
194
/// <exception cref="
AllException
">Also thrown when collection is empty and <paramref name="throwIfEmpty"/> is set to true</exception>
221
throw
AllException
.ForEmptyCollection();
224
throw
AllException
.ForFailures(idx, errors.ToArray());
Sdk\Exceptions\AllException.cs (4)
30
/// Creates a new instance of the <see cref="
AllException
"/> class to be thrown when one or
38
public static
AllException
ForFailures(
84
/// Creates a new instance of the <see cref="
AllException
"/> class to be thrown when
89
public static
AllException
ForEmptyCollection() =>