We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f735e9 commit 748784dCopy full SHA for 748784d
src/Report.cs
@@ -66,8 +66,8 @@ public static Report Parse(string coverage) {
66
if (data.Length < 2) throw new FormatException($"Invalid function data at line #{offset}.");
67
if (sourceFile.Functions is not null) {
68
var items = sourceFile.Functions.Data;
69
- for (var i = 0; i < items.Count; i++) if (items[i].FunctionName == data[1]) {
70
- items[i] = items[i] with { ExecutionCount = int.Parse(data[0]) };
+ for (var index = 0; index < items.Count; index++) if (items[index].FunctionName == data[1]) {
+ items[index] = items[index] with { ExecutionCount = int.Parse(data[0]) };
71
break;
72
}
73
0 commit comments