mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-20 15:55:15 +00:00
Remove Net35.Actions requirement
This commit is contained in:
@@ -72,7 +72,6 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MinAsyncBridge" Version="0.12.4" Condition="$(TargetFramework.StartsWith(`net2`)) OR $(TargetFramework.StartsWith(`net3`)) OR $(TargetFramework.StartsWith(`net40`))" />
|
||||
<PackageReference Include="Net35.Actions" Version="1.4.0" Condition="$(TargetFramework.StartsWith(`net2`))" />
|
||||
<PackageReference Include="SabreTools.Compression" Version="0.6.3" />
|
||||
<PackageReference Include="SabreTools.Hashing" Version="1.4.2" />
|
||||
<PackageReference Include="SabreTools.IO" Version="1.6.3" />
|
||||
|
||||
@@ -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.
|
||||
/// </remarks>
|
||||
public ProtectionDictionary DetectDict(Stream stream,
|
||||
internal ProtectionDictionary DetectDict(Stream stream,
|
||||
string file,
|
||||
Func<string, ProtectionDictionary>? getProtections,
|
||||
bool includeDebug)
|
||||
|
||||
8
BinaryObjectScanner/Func.cs
Normal file
8
BinaryObjectScanner/Func.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
#if NET20
|
||||
|
||||
namespace BinaryObjectScanner
|
||||
{
|
||||
public delegate TResult Func<in T, out TResult>(T arg);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user