mirror of
https://github.com/github/codeql.git
synced 2026-06-26 23:27:06 +02:00
C#: Improve alert message for RedundantToStringCall.ql
This commit is contained in:
@@ -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'."
|
||||
|
||||
Reference in New Issue
Block a user