5 references to testCode
Microsoft.DotNet.XUnitAssert.Tests (5)
ExceptionAssertsTests.cs (5)
335
var ex = Record.Exception(() => Assert.Throws<ArgumentException>("paramName",
testCode
));
351
Assert.Throws<ArgumentException>("paramName",
testCode
);
359
var ex = Record.Exception(() => Assert.Throws<ArgumentException>("paramName2",
testCode
));
377
var ex = Record.Exception(() => Assert.Throws<ArgumentException>("paramName",
testCode
));
395
var ex = Record.Exception(() => Assert.Throws<ArgumentException>("paramName",
testCode
));