From 9785ce49364355bec17f37029621c18a344a0d35 Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Fri, 9 Feb 2024 12:29:56 +0100 Subject: [PATCH] C#: Actually cache module `Cached` --- .../semmle/code/csharp/dataflow/internal/DataFlowDispatch.qll | 1 + 1 file changed, 1 insertion(+) diff --git a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowDispatch.qll b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowDispatch.qll index e97823157119..3616a6cbce6d 100644 --- a/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowDispatch.qll +++ b/csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowDispatch.qll @@ -89,6 +89,7 @@ class DataFlowSummarizedCallable instanceof FlowSummary::SummarizedCallable { string toString() { result = super.toString() } } +cached private module Cached { /** * The following heuristic is used to rank when to use source code or when to use summaries for DataFlowCallables.