C#: Avoid overlap in getCSharpType

This commit is contained in:
Tom Hvitved
2021-12-10 10:30:00 +01:00
parent f5a47126b1
commit 4a331814a2

View File

@@ -620,6 +620,7 @@ private predicate arrayRead(Expr e1, ArrayRead e2) { e1 = e2.getQualifier() }
private Type getCSharpType(DotNet::Type t) {
result = t
or
not t instanceof Type and
result.matchesHandle(t)
}