Skip to content

Commit 1fa1bd5

Browse files
committed
C#: fix compilation error in IR
1 parent b4a947d commit 1fa1bd5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

csharp/ql/src/semmle/code/csharp/ir/internal/TempVariableTag.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ newtype TTempVariableTag =
88
ForeachEnumTempVar() or
99
LockedVarTemp() or
1010
LockWasTakenTemp() or
11-
EllipsisTempVar()
11+
EllipsisTempVar() or
12+
ThisTempVar()
1213

1314
string getTempVariableTagId(TTempVariableTag tag) {
1415
tag = ConditionValueTempVar() and result = "CondVal"
@@ -26,4 +27,6 @@ string getTempVariableTagId(TTempVariableTag tag) {
2627
tag = LockWasTakenTemp() and result = "LockWasTakenTemp"
2728
or
2829
tag = EllipsisTempVar() and result = "Ellipsis"
30+
or
31+
tag = ThisTempVar() and result = "This"
2932
}

0 commit comments

Comments
 (0)