From 29fae50f71d384615cda4178482bcb36f90dc14b Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Tue, 9 Sep 2025 09:20:29 +0200 Subject: [PATCH] REMOVE AGAIN: Example of empty blocks. --- csharp/ql/test/query-tests/EmptyBlock/EmptyBlock.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/csharp/ql/test/query-tests/EmptyBlock/EmptyBlock.cs b/csharp/ql/test/query-tests/EmptyBlock/EmptyBlock.cs index b3e0cff6ae30..de4e9c28a976 100644 --- a/csharp/ql/test/query-tests/EmptyBlock/EmptyBlock.cs +++ b/csharp/ql/test/query-tests/EmptyBlock/EmptyBlock.cs @@ -29,7 +29,6 @@ static void Method(string[] args) // OK - comment if (true) { - // comment } // OK - not empty @@ -47,5 +46,11 @@ static void Method(string[] args) for (int i = 0; i < 10;) { } + + // BAD + if (true) + { + // comment + } } }