Merge pull request #18894 from michaelnebel/csharp/garbagetypes

C#: Handle some BMN garbage types.
This commit is contained in:
Michael Nebel
2025-03-07 09:19:48 +01:00
committed by GitHub
12 changed files with 120 additions and 7 deletions

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