Do not count empty lines after exceptions as uncovered
Assert.Throws<Exception>(delegate
{
ThrowsAnException();
});
If the method ThrowsAnException throws an exception, the last line "})" is marked as uncovered.
3
votes
Alex
shared this idea