From e9c1e9b7e71f69476e5b70feaa591a9ca4d8ead2 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sat, 6 Sep 2025 09:03:35 -0400 Subject: [PATCH] Make these private static --- BinaryObjectScanner/FileType/Executable.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BinaryObjectScanner/FileType/Executable.cs b/BinaryObjectScanner/FileType/Executable.cs index 66523f48..8fd3eb2c 100644 --- a/BinaryObjectScanner/FileType/Executable.cs +++ b/BinaryObjectScanner/FileType/Executable.cs @@ -149,7 +149,7 @@ namespace BinaryObjectScanner.FileType /// Stream to scan the contents of /// True to include debug data, false otherwise /// Set of protections in file, empty on error - public IDictionary RunContentChecks(string? file, Stream stream, bool includeDebug) + private static IDictionary RunContentChecks(string? file, Stream stream, bool includeDebug) { // Create the output dictionary var protections = new CheckDictionary(); @@ -202,7 +202,7 @@ namespace BinaryObjectScanner.FileType /// Scanner for handling recursive protections /// True to include debug data, false otherwise /// Set of protections in file, empty on error - public IDictionary RunExecutableChecks(string file, T exe, List checks, bool includeDebug) + private static IDictionary RunExecutableChecks(string file, T exe, List checks, bool includeDebug) where T : WrapperBase where U : IExecutableCheck {