Skip to content

Commit dc42a4c

Browse files
baywetCopilot
andauthored
docs: rewording
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 41ad940 commit dc42a4c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎csharp/ql/src/Linq/MissedWhereOpportunity.qhelp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ testing the variable each iteration to determine whether or not it is even. This
1010
using either <code>if(!condition(var)) continue;</code> as the initial statement in the loop, or by
1111
enclosing the entire loop body with <code>if(condition(var))</code>.</p>
1212

13-
<p>This recommendation does not apply when the matching branch exits the loop by exiting the current
14-
method or iterator, such as with a full <code>return</code>, <code>yield break</code>, or
15-
<code>throw</code>. In those cases the loop is searching for a terminal condition rather than
16-
filtering the remaining loop body.</p>
13+
<p>This recommendation does not apply when the matching branch exits the loop without continuing to
14+
later iterations, such as with <code>return</code>, <code>yield break</code>, or <code>throw</code>.
15+
In those cases the loop is searching for a terminal condition rather than filtering the remaining
16+
loop body.</p>
1717

1818
</overview>
1919
<recommendation>

0 commit comments

Comments
 (0)