C#: Add a primary ql class for UnknownType.

This commit is contained in:
Michael Nebel
2025-02-28 15:02:41 +01:00
parent 795a2e1175
commit 5551aebaa9

View File

@@ -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" }
}
/**