From 37eea8761b761c94b74e0dc34ed4bbc8d701c91a Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Wed, 4 Mar 2026 10:29:51 -0800 Subject: [PATCH] suppress S1192: guard clause exception messages are inline by convention --- .github/sonar-suppressions.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/sonar-suppressions.json b/.github/sonar-suppressions.json index acf418c3..403946d1 100644 --- a/.github/sonar-suppressions.json +++ b/.github/sonar-suppressions.json @@ -10,6 +10,10 @@ "id": "S1144", "reason": "Unused private types or members should be removed - false positives on reflection/serialization patterns" }, + { + "id": "S1192", + "reason": "String literals should not be duplicated - guard clause exception messages are inline by .NET convention, not localizable strings" + }, { "id": "S1244", "reason": "Floating point numbers should not be tested for equality - intentional exact comparisons in financial calculations"