Skip to content

Commit 8988182

Browse files
committed
C#: Improve alert message for RedundantToStringCall.ql
1 parent 426962e commit 8988182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/src/Useless code/RedundantToStringCall.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ where
2020
mc instanceof ImplicitToStringExpr and
2121
mc.getTarget() instanceof ToStringMethod and
2222
not mc.getQualifier() instanceof BaseAccess
23-
select mc, "Redundant call to 'ToString' on a String object."
23+
select mc, "Redundant call to 'ToString'."

0 commit comments

Comments
 (0)