Skip to content

Commit 3a1cd3f

Browse files
committed
C#: Add cs/missed-readonly-modifier to the code-quality suite.
1 parent 5941b30 commit 3a1cd3f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

csharp/ql/integration-tests/posix/query-suite/csharp-code-quality.qls.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ql/csharp/ql/src/API Abuse/FormatInvalid.ql
33
ql/csharp/ql/src/API Abuse/NoDisposeCallOnLocalIDisposable.ql
44
ql/csharp/ql/src/Bad Practices/Control-Flow/ConstantCondition.ql
55
ql/csharp/ql/src/Dead Code/DeadStoreOfLocal.ql
6+
ql/csharp/ql/src/Language Abuse/MissedReadonlyOpportunity.ql
67
ql/csharp/ql/src/Likely Bugs/Collections/ContainerLengthCmpOffByOne.ql
78
ql/csharp/ql/src/Likely Bugs/Collections/ContainerSizeCmpZero.ql
89
ql/csharp/ql/src/Likely Bugs/DangerousNonShortCircuitLogic.ql

csharp/ql/src/Language Abuse/MissedReadonlyOpportunity.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @id cs/missed-readonly-modifier
99
* @tags maintainability
1010
* language-features
11+
* quality
1112
*/
1213

1314
import csharp

0 commit comments

Comments
 (0)