Skip to content

Commit 06e5124

Browse files
committed
Remove Net35.Actions requirement
1 parent 251bf9c commit 06e5124

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

BinaryObjectScanner/BinaryObjectScanner.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272

7373
<ItemGroup>
7474
<PackageReference Include="MinAsyncBridge" Version="0.12.4" Condition="$(TargetFramework.StartsWith(`net2`)) OR $(TargetFramework.StartsWith(`net3`)) OR $(TargetFramework.StartsWith(`net40`))" />
75-
<PackageReference Include="Net35.Actions" Version="1.4.0" Condition="$(TargetFramework.StartsWith(`net2`))" />
7675
<PackageReference Include="SabreTools.Compression" Version="0.6.3" />
7776
<PackageReference Include="SabreTools.Hashing" Version="1.4.2" />
7877
<PackageReference Include="SabreTools.IO" Version="1.6.3" />

BinaryObjectScanner/FileType/Executable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class Executable : IDetectable
4747
/// Ideally, we wouldn't need to circumvent the proper handling of file types just for Executable,
4848
/// but due to the complexity of scanning, this is not currently possible.
4949
/// </remarks>
50-
public ProtectionDictionary DetectDict(Stream stream,
50+
internal ProtectionDictionary DetectDict(Stream stream,
5151
string file,
5252
Func<string, ProtectionDictionary>? getProtections,
5353
bool includeDebug)

BinaryObjectScanner/Func.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#if NET20
2+
3+
namespace BinaryObjectScanner
4+
{
5+
public delegate TResult Func<in T, out TResult>(T arg);
6+
}
7+
8+
#endif

0 commit comments

Comments
 (0)