mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
C#: Add a primary ql class for UnknownType.
This commit is contained in:
@@ -1214,6 +1214,8 @@ class ArglistType extends Type, @arglist_type {
|
||||
class UnknownType extends Type, @unknown_type {
|
||||
/** Holds if this is the canonical unknown type, and not a type that failed to extract properly. */
|
||||
predicate isCanonical() { types(this, _, "<unknown type>") }
|
||||
|
||||
override string getAPrimaryQlClass() { result = "UnknownType" }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user