5 references to testCode
Microsoft.DotNet.XUnitAssert.Tests (5)
ExceptionAssertsTests.cs (5)
252
var ex = Record.Exception(() => Assert.Throws<Exception>(
testCode
));
263
var ex = Record.Exception(() => Assert.Throws<ArgumentException>(
testCode
));
279
Assert.Throws<ArgumentException>(
testCode
);
288
var ex = Record.Exception(() => Assert.Throws<ArgumentException>(
testCode
));
306
var ex = Record.Exception(() => Assert.Throws<ArgumentException>(
testCode
));