Skip to content

Commit baab759

Browse files
baywetmichaelnebel
andauthored
chore: applies review suggestion
Co-authored-by: Michael Nebel <michaelnebel@github.com>
1 parent 41a9a16 commit baab759

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

csharp/ql/src/Linq/MissedFirstOrDefaultOpportunity.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ import Linq.Helpers
1818
from ForeachStmtGenericEnumerable fes, IfStmt is, ReturnStmt ret, ReturnStmt defaultRet
1919
where missedFirstOrDefaultOpportunity(fes, is, ret, defaultRet)
2020
select fes,
21-
"This foreach loop $@ - consider finding the element explicitly using '.FirstOrDefault(...)'.",
22-
is.getCondition(), "returns the first sequence element satisfying a predicate"
21+
"This foreach loop returns the first sequence element satisfying a $@ - consider finding the element explicitly using '.FirstOrDefault(...)'.",
22+
is.getCondition(), "predicate"

0 commit comments

Comments
 (0)