Skip to content

Commit 002ec0e

Browse files
committed
Upgrade version of some packages needing system.memory, so they use the same vesion (4:0:1:2) than System.Hashing.IO
System.Hashing.IO can not be downgraded for old .net because first version with XxHash3 use system.memory 4:0:1:2
1 parent 49d6326 commit 002ec0e

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

Directory.Packages.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22
<ItemGroup>
33
<!-- Packages we depend on for StackExchange.Redis, upgrades can create binding redirect pain! -->
4-
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
5-
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
6-
<PackageVersion Include="Pipelines.Sockets.Unofficial" Version="2.2.8" />
4+
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.14" />
5+
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.3" />
6+
<PackageVersion Include="Pipelines.Sockets.Unofficial" Version="2.2.16" />
77
<PackageVersion Include="System.Diagnostics.PerformanceCounter" Version="5.0.0" />
88
<PackageVersion Include="System.Threading.Channels" Version="5.0.0" />
99
<PackageVersion Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />

src/StackExchange.Redis/TextWriterLogger.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ public TextWriterLogger(TextWriter writer, ILogger? wrapped)
1717
_wrapped = wrapped;
1818
}
1919

20-
#if NET8_0_OR_GREATER
2120
public IDisposable? BeginScope<TState>(TState state) where TState : notnull => NothingDisposable.Instance;
22-
#else
23-
public IDisposable BeginScope<TState>(TState state) => NothingDisposable.Instance;
24-
#endif
2521

2622
public bool IsEnabled(LogLevel logLevel) => _writer is not null || _wrapped is not null;
2723
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)

0 commit comments

Comments
 (0)