Skip to content

Commit 67d29e3

Browse files
committed
C#: Sync identical files
1 parent c1091a0 commit 67d29e3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

csharp/ql/src/semmle/code/csharp/ir/implementation/raw/Instruction.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,10 @@ class ConvertInstruction extends UnaryInstruction {
947947
ConvertInstruction() { getOpcode() instanceof Opcode::Convert }
948948
}
949949

950+
class CheckedConvertOrNullInstruction extends UnaryInstruction {
951+
CheckedConvertOrNullInstruction() { getOpcode() instanceof Opcode::CheckedConvertOrNull }
952+
}
953+
950954
/**
951955
* Represents an instruction that converts between two addresses
952956
* related by inheritance.

csharp/ql/src/semmle/code/csharp/ir/implementation/unaliased_ssa/Instruction.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,10 @@ class ConvertInstruction extends UnaryInstruction {
947947
ConvertInstruction() { getOpcode() instanceof Opcode::Convert }
948948
}
949949

950+
class CheckedConvertOrNullInstruction extends UnaryInstruction {
951+
CheckedConvertOrNullInstruction() { getOpcode() instanceof Opcode::CheckedConvertOrNull }
952+
}
953+
950954
/**
951955
* Represents an instruction that converts between two addresses
952956
* related by inheritance.

0 commit comments

Comments
 (0)