From 70ca6868aa9d9ab567456bcccc08e33e2e40fe88 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Thu, 3 Apr 2025 18:18:46 +0100 Subject: [PATCH] C#: Make a few more modules private. --- csharp/ql/lib/semmle/code/csharp/hashcons/HashCons.qll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/csharp/ql/lib/semmle/code/csharp/hashcons/HashCons.qll b/csharp/ql/lib/semmle/code/csharp/hashcons/HashCons.qll index f09a85526b3..a235f49ffd5 100644 --- a/csharp/ql/lib/semmle/code/csharp/hashcons/HashCons.qll +++ b/csharp/ql/lib/semmle/code/csharp/hashcons/HashCons.qll @@ -306,7 +306,7 @@ private module ListHashCons { } } -module CallHashConsInput implements ListHashConsInputSig { +private module CallHashConsInput implements ListHashConsInputSig { class List = Call; Expr getExpr(List l, int i) { result = l.getArgument(i) } @@ -351,7 +351,7 @@ private predicate objectCreationHashCons( CallHashCons::listHashCons(oc, args) } -module ArrayInitializerHashConsInput implements ListHashConsInputSig { +private module ArrayInitializerHashConsInput implements ListHashConsInputSig { class List extends ArrayInitializer { List() { // For performance reasons we restrict this to "small" array initializers. @@ -364,7 +364,7 @@ module ArrayInitializerHashConsInput implements ListHashConsInputSig { private module ArrayInitializerHashCons = ListHashCons; -module ArrayCreationHashConsInput implements ListHashConsInputSig { +private module ArrayCreationHashConsInput implements ListHashConsInputSig { class List = ArrayCreation; Expr getExpr(List l, int i) { result = l.getLengthArgument(i) }