From 1c5da67cd8fa67ff45f3d48a1bdb0f08a606f6ed Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Wed, 27 May 2020 15:26:03 +0200 Subject: [PATCH] C#: Fix performance issue in unification library --- csharp/ql/src/semmle/code/csharp/Unification.qll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/csharp/ql/src/semmle/code/csharp/Unification.qll b/csharp/ql/src/semmle/code/csharp/Unification.qll index 77aeae0813a4..48256a59a29c 100644 --- a/csharp/ql/src/semmle/code/csharp/Unification.qll +++ b/csharp/ql/src/semmle/code/csharp/Unification.qll @@ -474,7 +474,8 @@ module Gvn { sourceDecl = any(GenericType t).getSourceDeclaration() and not sourceDecl instanceof PointerType and not sourceDecl instanceof NullableType and - not sourceDecl instanceof ArrayType + not sourceDecl instanceof ArrayType and + not sourceDecl instanceof TupleType } cached