diff --git a/BinaryObjectScanner/BinaryObjectScanner.csproj b/BinaryObjectScanner/BinaryObjectScanner.csproj index c238a37f..2aaee168 100644 --- a/BinaryObjectScanner/BinaryObjectScanner.csproj +++ b/BinaryObjectScanner/BinaryObjectScanner.csproj @@ -72,7 +72,6 @@ - diff --git a/BinaryObjectScanner/FileType/Executable.cs b/BinaryObjectScanner/FileType/Executable.cs index 8b866d89..e7ef114c 100644 --- a/BinaryObjectScanner/FileType/Executable.cs +++ b/BinaryObjectScanner/FileType/Executable.cs @@ -47,7 +47,7 @@ namespace BinaryObjectScanner.FileType /// Ideally, we wouldn't need to circumvent the proper handling of file types just for Executable, /// but due to the complexity of scanning, this is not currently possible. /// - public ProtectionDictionary DetectDict(Stream stream, + internal ProtectionDictionary DetectDict(Stream stream, string file, Func? getProtections, bool includeDebug) diff --git a/BinaryObjectScanner/Func.cs b/BinaryObjectScanner/Func.cs new file mode 100644 index 00000000..b59a32e6 --- /dev/null +++ b/BinaryObjectScanner/Func.cs @@ -0,0 +1,8 @@ +#if NET20 + +namespace BinaryObjectScanner +{ + public delegate TResult Func(T arg); +} + +#endif