Skip to content

Commit c945ca4

Browse files
committed
Make BOS compatible with RedumpLib
1 parent 6acf5cc commit c945ca4

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

BinaryObjectScanner/BinaryObjectScanner.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@
8282
<ItemGroup Condition="!$(TargetFramework.StartsWith(`net2`)) AND !$(TargetFramework.StartsWith(`net3`))">
8383
<PackageReference Include="OpenMcdf" Version="2.3.1" />
8484
</ItemGroup>
85+
<ItemGroup Condition="$(TargetFramework.StartsWith(`net2`)) OR $(TargetFramework.StartsWith(`net3`)) OR $(TargetFramework.StartsWith(`net40`))">
86+
<PackageReference Include="MinAsyncBridge" Version="0.12.4" />
87+
</ItemGroup>
8588
<ItemGroup Condition="!$(TargetFramework.StartsWith(`net2`)) AND !$(TargetFramework.StartsWith(`net3`)) AND !$(TargetFramework.StartsWith(`net40`)) AND !$(TargetFramework.StartsWith(`net452`))">
8689
<PackageReference Include="SharpCompress" Version="0.38.0" />
8790
<PackageReference Include="System.Text.Encoding.CodePages" Version="8.0.0" />

BinaryObjectScanner/Progress.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@
88

99
namespace System
1010
{
11-
/// <summary>Defines a provider for progress updates.</summary>
12-
/// <typeparam name="T">The type of progress update value.</typeparam>
13-
/// <see href="https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.CoreLib/src/System/IProgress.cs"/>
14-
public interface IProgress<in T>
15-
{
16-
/// <summary>Reports a progress update.</summary>
17-
/// <param name="value">The value of the updated progress.</param>
18-
void Report(T value);
19-
}
20-
2111
/// <summary>
2212
/// Provides an IProgress{T} that invokes callbacks for each reported progress value.
2313
/// </summary>

0 commit comments

Comments
 (0)