File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
test/query-tests/Useless Code/RedundantToStringCall Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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'."
Original file line number Diff line number Diff line change 1- | RedundantToStringCall.cs:8:27:8:38 | call to method ToString | Redundant call to 'ToString' on a String object . |
2- | RedundantToStringCall.cs:11:37:11:48 | call to method ToString | Redundant call to 'ToString' on a String object . |
3- | RedundantToStringCall.cs:14:39:14:50 | call to method ToString | Redundant call to 'ToString' on a String object . |
4- | RedundantToStringCall.cs:18:19:18:30 | call to method ToString | Redundant call to 'ToString' on a String object . |
5- | RedundantToStringCallBad.cs:7:45:7:56 | call to method ToString | Redundant call to 'ToString' on a String object . |
1+ | RedundantToStringCall.cs:8:27:8:38 | call to method ToString | Redundant call to 'ToString'. |
2+ | RedundantToStringCall.cs:11:37:11:48 | call to method ToString | Redundant call to 'ToString'. |
3+ | RedundantToStringCall.cs:14:39:14:50 | call to method ToString | Redundant call to 'ToString'. |
4+ | RedundantToStringCall.cs:18:19:18:30 | call to method ToString | Redundant call to 'ToString'. |
5+ | RedundantToStringCallBad.cs:7:45:7:56 | call to method ToString | Redundant call to 'ToString'. |
You can’t perform that action at this time.
0 commit comments