12 references to ThrowsImpl
xunit.assert (12)
ExceptionAsserts.cs (12)
31 ThrowsImpl(exceptionType, RecordException(testCode));
49 ThrowsImpl(exceptionType, RecordException(testCode), inspector);
65 ThrowsImpl(exceptionType, RecordException(testCode, nameof(ThrowsAsync)));
85 ThrowsImpl(exceptionType, RecordException(testCode, nameof(ThrowsAsync)), inspector);
120 (T)ThrowsImpl(typeof(T), RecordException(testCode));
138 (T)ThrowsImpl(typeof(T), RecordException(testCode), ex => inspector((T)ex));
153 (T)ThrowsImpl(typeof(T), RecordException(testCode, nameof(ThrowsAsync)));
173 (T)ThrowsImpl(typeof(T), RecordException(testCode, nameof(ThrowsAsync)), ex => inspector((T)ex));
387 ThrowsImpl(exceptionType, await RecordExceptionAsync(testCode));
405 ThrowsImpl(exceptionType, await RecordExceptionAsync(testCode), inspector);
415 (T)ThrowsImpl(typeof(T), await RecordExceptionAsync(testCode));
433 (T)ThrowsImpl(typeof(T), await RecordExceptionAsync(testCode), ex => inspector((T)ex));