Skip to content

Commit 0d6f76e

Browse files
committed
nit
1 parent 9b35bad commit 0d6f76e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/coverlet.core/Symbols/CecilSymbolHelper.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -994,10 +994,7 @@ public IReadOnlyList<BranchPoint> GetBranchPoints(MethodDefinition methodDefinit
994994
bool skipFirstBranch = IsMoveNextInsideEnumerator(methodDefinition);
995995
bool skipSecondBranch = false;
996996

997-
var branchInstructions =
998-
instructions.Where(instruction => instruction.OpCode.FlowControl == FlowControl.Cond_Branch);
999-
1000-
foreach (Instruction instruction in branchInstructions)
997+
foreach (Instruction instruction in instructions.Where(instruction => instruction.OpCode.FlowControl == FlowControl.Cond_Branch))
1001998
{
1002999
try
10031000
{

0 commit comments

Comments
 (0)