C#: Improve alert message for RedundantToStringCall.ql

This commit is contained in:
Tom Hvitved
2026-04-17 13:15:10 +02:00
parent 426962e348
commit 0235df8758
2 changed files with 6 additions and 6 deletions

View File

@@ -20,4 +20,4 @@ where
mc instanceof ImplicitToStringExpr and
mc.getTarget() instanceof ToStringMethod and
not mc.getQualifier() instanceof BaseAccess
select mc, "Redundant call to 'ToString' on a String object."
select mc, "Redundant call to 'ToString'."