From f5903eaf2d54808a9a01a415afbdc122ed05dd24 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Tue, 13 May 2025 14:46:29 +0200 Subject: [PATCH 1/2] C#: Add cs/call-to-gc to the code quality suite. --- csharp/ql/src/API Abuse/CallToGCCollect.ql | 1 + 1 file changed, 1 insertion(+) diff --git a/csharp/ql/src/API Abuse/CallToGCCollect.ql b/csharp/ql/src/API Abuse/CallToGCCollect.ql index 6a42c4e71f6a..1757336d32af 100644 --- a/csharp/ql/src/API Abuse/CallToGCCollect.ql +++ b/csharp/ql/src/API Abuse/CallToGCCollect.ql @@ -7,6 +7,7 @@ * @id cs/call-to-gc * @tags efficiency * maintainability + * quality */ import csharp From b8f85b3f29c02716924b1cfa51e56efd26a35559 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Tue, 13 May 2025 14:50:23 +0200 Subject: [PATCH 2/2] C#: Update integration test expected output. --- .../posix/query-suite/csharp-code-quality.qls.expected | 1 + 1 file changed, 1 insertion(+) 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 dc3791621c3e..d1b40bd013e7 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 @@ -1,3 +1,4 @@ +ql/csharp/ql/src/API Abuse/CallToGCCollect.ql ql/csharp/ql/src/API Abuse/FormatInvalid.ql ql/csharp/ql/src/API Abuse/NoDisposeCallOnLocalIDisposable.ql ql/csharp/ql/src/Bad Practices/Control-Flow/ConstantCondition.ql