Skip to content

Commit 73db2f6

Browse files
committed
fix visit count attribute in SequencePoint opencover xml tag
1 parent cb49ff8 commit 73db2f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coverlet.core/Reporters/OpenCoverReporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public string Format(CoverageResult result)
109109
foreach (var lines in meth.Value)
110110
{
111111
XmlElement sequencePoint = xml.CreateElement("SequencePoint");
112-
sequencePoint.SetAttribute("vc", lines.Value.ToString());
112+
sequencePoint.SetAttribute("vc", lines.Value.Hits.ToString());
113113
sequencePoint.SetAttribute("upsid", lines.Key.ToString());
114114
sequencePoint.SetAttribute("ordinal", k.ToString());
115115
sequencePoint.SetAttribute("sl", lines.Key.ToString());

0 commit comments

Comments
 (0)