Skip to content

Commit b5f3cd7

Browse files
committed
update cs/useless-tostring-call to match java
1 parent 49a3e20 commit b5f3cd7

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
@@ -18,4 +18,4 @@ from MethodCall mc
1818
where
1919
mc instanceof ImplicitToStringExpr and
2020
mc.getTarget() instanceof ToStringMethod
21-
select mc, "Redundant call to 'ToString'."
21+
select mc, "Redundant call to 'ToString' on a String object."

0 commit comments

Comments
 (0)