Taking the most optimistic line result in the event there are multiple results for the same line of a class. This can happen when using files from one project in another as linked files.
This prevents the error but probably does not address the root cause well enough. Files that are linked in a project should probably be excluded from being reported on to begin with, so long as they are already being reported on by another project. I think that would mean substantial changes and definitely a discussion before proceeding with that effort. For now this should at least take the best result possible and prevent the error.
https://github.com/the-dext/RunCoverletReport/issues/10
Taking the most optimistic line result in the event there are multiple results for the same line of a class. This can happen when using files from one project in another as linked files.
This prevents the error but probably does not address the root cause well enough. Files that are linked in a project should probably be excluded from being reported on to begin with, so long as they are already being reported on by another project. I think that would mean substantial changes and definitely a discussion before proceeding with that effort. For now this should at least take the best result possible and prevent the error.