We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faf69d6 commit fa2f345Copy full SHA for fa2f345
csharp/ql/src/semmle/code/cil/ConsistencyChecks.qll
@@ -83,7 +83,7 @@ class MissingCallTarget extends InstructionViolation {
83
exists(Call c | c = instruction |
84
count(c.getTarget()) != 1 and not c instanceof Opcodes::Calli
85
or
86
- count(c.(Opcodes::Calli).getTargetType()) != 1
+ count(c.(Opcodes::Calli).getTargetType()) != 1 and c instanceof Opcodes::Calli
87
)
88
}
89
0 commit comments