Skip to content

Commit 6009d71

Browse files
committed
C#: Add getAPrimaryQlClass override to UnknownExpr.
1 parent 71baf32 commit 6009d71

File tree

1 file changed

+2
-0
lines changed
  • csharp/ql/lib/semmle/code/csharp/exprs

1 file changed

+2
-0
lines changed

csharp/ql/lib/semmle/code/csharp/exprs/Expr.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,8 @@ class DiscardExpr extends Expr, @discard_expr {
10841084

10851085
private class UnknownExpr extends Expr, @unknown_expr {
10861086
override string toString() { result = "Expression" }
1087+
1088+
override string getAPrimaryQlClass() { result = "UnknownExpr" }
10871089
}
10881090

10891091
/**

0 commit comments

Comments
 (0)