axodox / AxoCover

Nice and free .Net code coverage support for Visual Studio with OpenCover.
https://marketplace.visualstudio.com/items?itemName=axodox1.AxoCover
MIT License
248 stars 60 forks source link

Sometimes AxoCover displays code coverage markers that do not match up with curly braces #171

Open NeilJustice opened 6 years ago

NeilJustice commented 6 years ago

Sometimes AxoCover displays code coverage markers that do not match up with curly braces. All three of these methods are unit tested yet the code coverage markers appear in red and at an offset.

image

The bug appears to be related to the bug that sometimes duplicates assemblies on the Report tab:

image

This is with AxoCover 1.1.6.14, NUnit 3.10.1, and the Merge by hash checkbox checked:

image

Cleaning Debug and Release then recovering Debug fixed the issue.