suppress S1192: guard clause exception messages are inline by convention

This commit is contained in:
Miha Kralj
2026-03-04 10:29:51 -08:00
parent ef330e527c
commit 37eea8761b
+4
View File
@@ -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"