Skip to content

Commit 5551aeb

Browse files
committed
C#: Add a primary ql class for UnknownType.
1 parent 795a2e1 commit 5551aeb

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

csharp/ql/lib/semmle/code/csharp/Type.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,6 +1214,8 @@ class ArglistType extends Type, @arglist_type {
12141214
class UnknownType extends Type, @unknown_type {
12151215
/** Holds if this is the canonical unknown type, and not a type that failed to extract properly. */
12161216
predicate isCanonical() { types(this, _, "<unknown type>") }
1217+
1218+
override string getAPrimaryQlClass() { result = "UnknownType" }
12171219
}
12181220

12191221
/**

0 commit comments

Comments
 (0)