1 instantiation of RaisesAnyException
xunit.assert (1)
Sdk\Exceptions\RaisesAnyException.cs (1)
35
new
RaisesAnyException
(
14 references to RaisesAnyException
Microsoft.DotNet.XUnitAssert.Tests (6)
EventAssertsTests.cs (6)
190
Assert.IsType<
RaisesAnyException
>(ex);
249
Assert.IsType<
RaisesAnyException
>(ex);
271
Assert.IsType<
RaisesAnyException
>(ex);
364
Assert.IsType<
RaisesAnyException
>(ex);
423
Assert.IsType<
RaisesAnyException
>(ex);
445
Assert.IsType<
RaisesAnyException
>(ex);
xunit.assert (8)
EventAsserts.cs (6)
148
throw
RaisesAnyException
.ForNoEvent(typeof(EventArgs));
170
throw
RaisesAnyException
.ForNoEvent(typeof(T));
192
throw
RaisesAnyException
.ForNoEvent(typeof(T));
213
throw
RaisesAnyException
.ForNoEvent(typeof(EventArgs));
235
throw
RaisesAnyException
.ForNoEvent(typeof(T));
257
throw
RaisesAnyException
.ForNoEvent(typeof(T));
Sdk\Exceptions\RaisesAnyException.cs (2)
30
/// Creates a new instance of the <see cref="
RaisesAnyException
" /> class to be thrown when
34
public static
RaisesAnyException
ForNoEvent(Type expected) =>