mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
C#: Include dup instructions in CIL ExprMissingType consistency test
This commit is contained in:
@@ -612,7 +612,7 @@ class ExprMissingType extends InstructionViolation {
|
||||
not instruction instanceof Opcodes::Ldvirtftn and
|
||||
not instruction instanceof Opcodes::Arglist and
|
||||
not instruction instanceof Opcodes::Refanytype and
|
||||
instruction.getPushCount() = 1 and
|
||||
instruction.getPushCount() >= 1 and
|
||||
count(instruction.getType()) != 1
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user