From 92541ffdd88dbe48daeaf2fdd47d3161bd71553c Mon Sep 17 00:00:00 2001 From: Tamas Vajk Date: Tue, 3 Jun 2025 10:51:35 +0200 Subject: [PATCH] Add `cs/string-concatenation-in-loop` to the quality suite --- .../posix/query-suite/csharp-code-quality.qls.expected | 1 + csharp/ql/src/Performance/StringConcatenationInLoop.ql | 1 + 2 files changed, 2 insertions(+) diff --git a/csharp/ql/integration-tests/posix/query-suite/csharp-code-quality.qls.expected b/csharp/ql/integration-tests/posix/query-suite/csharp-code-quality.qls.expected index 14934899e0d8..35a390da4069 100644 --- a/csharp/ql/integration-tests/posix/query-suite/csharp-code-quality.qls.expected +++ b/csharp/ql/integration-tests/posix/query-suite/csharp-code-quality.qls.expected @@ -11,6 +11,7 @@ ql/csharp/ql/src/Likely Bugs/EqualityCheckOnFloats.ql ql/csharp/ql/src/Likely Bugs/ReferenceEqualsOnValueTypes.ql ql/csharp/ql/src/Likely Bugs/SelfAssignment.ql ql/csharp/ql/src/Likely Bugs/UncheckedCastInEquals.ql +ql/csharp/ql/src/Performance/StringConcatenationInLoop.ql ql/csharp/ql/src/Performance/UseTryGetValue.ql ql/csharp/ql/src/Useless code/DefaultToString.ql ql/csharp/ql/src/Useless code/IntGetHashCode.ql diff --git a/csharp/ql/src/Performance/StringConcatenationInLoop.ql b/csharp/ql/src/Performance/StringConcatenationInLoop.ql index aba7d3b74368..b1b420434e94 100644 --- a/csharp/ql/src/Performance/StringConcatenationInLoop.ql +++ b/csharp/ql/src/Performance/StringConcatenationInLoop.ql @@ -7,6 +7,7 @@ * @id cs/string-concatenation-in-loop * @tags efficiency * maintainability + * quality */ import csharp