5 references to testCode
Microsoft.DotNet.XUnitAssert.Tests (5)
ExceptionAssertsTests.cs (5)
421
var ex = Record.Exception(() => Assert.Throws<ArgumentException>("paramName",
testCode
));
437
Assert.Throws<ArgumentException>("paramName",
testCode
);
445
var ex = Record.Exception(() => Assert.Throws<ArgumentException>("paramName2",
testCode
));
463
var ex = Record.Exception(() => Assert.Throws<ArgumentException>("paramName",
testCode
));
481
var ex = Record.Exception(() => Assert.Throws<ArgumentException>("paramName",
testCode
));