Skip to content

Commit 52171d6

Browse files
committed
update cs/unchecked-cast-in-equals to match java
1 parent ea11f74 commit 52171d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/src/Likely Bugs/UncheckedCastInEquals.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ where
3535
access = cast.getAChild() and
3636
access.getTarget().getDeclaringElement() = access.getEnclosingCallable() and
3737
nodeBeforeParameterAccess(access.getAControlFlowNode())
38-
select cast, "Missing type-check before casting parameter to 'Equals'."
38+
select cast, "Equals() method does not seem to check argument type."

0 commit comments

Comments
 (0)