5 references to testCode
Microsoft.DotNet.XUnitAssert.Tests (5)
ExceptionAssertsTests.cs (5)
768
var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>("paramName",
testCode
));
784
await Assert.ThrowsAsync<ArgumentException>("paramName",
testCode
);
792
var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>("paramName2",
testCode
));
810
var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>("paramName",
testCode
));
828
var ex = await Record.ExceptionAsync(() => Assert.ThrowsAsync<ArgumentException>("paramName",
testCode
));