4 instantiations of ThrowsException
xunit.assert (4)
ExceptionAsserts.cs (4)
230 throw new ThrowsException(exceptionType); 233 throw new ThrowsException(exceptionType, exception); 249 throw new ThrowsException(exceptionType); 252 throw new ThrowsException(exceptionType, exception);
23 references to ThrowsException
Microsoft.DotNet.XUnitAssert.Tests (9)
ExceptionAssertsTests.cs (9)
661 var throwsEx = Assert.IsType<ThrowsException>(ex); 672 Assert.IsType<ThrowsException>(ex); 742 var throwsEx = Assert.IsType<ThrowsException>(ex); 753 Assert.IsType<ThrowsException>(ex); 883 var throwsEx = Assert.IsType<ThrowsException>(ex); 894 Assert.IsType<ThrowsException>(ex);
xunit.assert (14)
ExceptionAsserts.cs (12)
26 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 38 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 73 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 97 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 109 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 124 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 148 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 161 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 199 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 264 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 286 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception> 341 /// <exception cref="ThrowsException">Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown</exception>
Sdk\Exceptions\ThrowsException.cs (2)
26 /// Creates a new instance of the <see cref="ThrowsException"/> class. Call this constructor 35 /// Creates a new instance of the <see cref="ThrowsException"/> class. Call this constructor