6 instantiations of RaisesException
xunit.assert (6)
EventAsserts.cs (6)
35 throw new RaisesException(typeof(T)); 38 throw new RaisesException(typeof(T), raisedEvent.Arguments.GetType()); 60 throw new RaisesException(typeof(T)); 82 throw new RaisesException(typeof(T)); 85 throw new RaisesException(typeof(T), raisedEvent.Arguments.GetType()); 107 throw new RaisesException(typeof(T));
18 references to RaisesException
Microsoft.DotNet.XUnitAssert.Tests (12)
EventAssertsTests.cs (12)
17 var exception = Assert.IsType<RaisesException>(recorded); 35 var exception = Assert.IsType<RaisesException>(recorded); 68 var exception = Assert.IsType<RaisesException>(recorded); 122 var exception = Assert.IsType<RaisesException>(recorded); 175 var exception = Assert.IsType<RaisesException>(recorded); 193 var exception = Assert.IsType<RaisesException>(recorded);
xunit.assert (6)
EventAsserts.cs (4)
26 /// <exception cref="RaisesException">Thrown when the expected event was not raised.</exception> 51 /// <exception cref="RaisesException">Thrown when the expected event was not raised.</exception> 73 /// <exception cref="RaisesException">Thrown when the expected event was not raised.</exception> 98 /// <exception cref="RaisesException">Thrown when the expected event was not raised.</exception>
Sdk\Exceptions\RaisesException.cs (2)
28 /// Creates a new instance of the <see cref="RaisesException" /> class. Call this constructor 40 /// Creates a new instance of the <see cref="RaisesException" /> class. Call this constructor