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 9b35bad commit 0d6f76eCopy full SHA for 0d6f76e
src/coverlet.core/Symbols/CecilSymbolHelper.cs
@@ -994,10 +994,7 @@ public IReadOnlyList<BranchPoint> GetBranchPoints(MethodDefinition methodDefinit
994
bool skipFirstBranch = IsMoveNextInsideEnumerator(methodDefinition);
995
bool skipSecondBranch = false;
996
997
- var branchInstructions =
998
- instructions.Where(instruction => instruction.OpCode.FlowControl == FlowControl.Cond_Branch);
999
-
1000
- foreach (Instruction instruction in branchInstructions)
+ foreach (Instruction instruction in instructions.Where(instruction => instruction.OpCode.FlowControl == FlowControl.Cond_Branch))
1001
{
1002
try
1003
0 commit comments