Fix .WithShardedDaemonProcess<T>()
throws NullReferenceException (#…
#1352
Annotations
11 warnings
dotnet build:
src/Akka.Hosting.TestKit/Internals/XUnitLogger.cs#L61
Nullability in constraints for type parameter 'TState' of method 'XUnitLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
|
dotnet build:
src/Akka.Hosting.Tests/Logging/TestLogger.cs#L39
Nullability of reference types in type of parameter 'exception' of 'void TestLogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)' doesn't match implicitly implemented member 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' (possibly because of nullability attributes).
|
dotnet build:
src/Akka.Hosting.Tests/Logging/SerilogLoggerEnd2EndSpecs.cs#L32
Cannot convert null literal to non-nullable reference type.
|
dotnet build:
src/Akka.Hosting.Tests/Bugfix208Specs.cs#L92
The variable 'e' is declared but never used
|
dotnet build:
src/Akka.Hosting.TestKit.Tests/TestKitBaseTests/ReceiveTests.cs#L182
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
|
dotnet build:
src/Akka.Hosting.TestKit/Internals/XUnitLogger.cs#L61
Nullability in constraints for type parameter 'TState' of method 'XUnitLogger.BeginScope<TState>(TState)' doesn't match the constraints for type parameter 'TState' of interface method 'ILogger.BeginScope<TState>(TState)'. Consider using an explicit interface implementation instead.
|
dotnet build:
src/Akka.Hosting.Tests/Logging/TestLogger.cs#L39
Nullability of reference types in type of parameter 'exception' of 'void TestLogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)' doesn't match implicitly implemented member 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' (possibly because of nullability attributes).
|
dotnet build:
src/Akka.Hosting.Tests/Logging/SerilogLoggerEnd2EndSpecs.cs#L32
Cannot convert null literal to non-nullable reference type.
|
dotnet build:
src/Akka.Hosting.Tests/Bugfix208Specs.cs#L92
The variable 'e' is declared but never used
|
dotnet build:
src/Akka.Hosting.TestKit.Tests/TestKitBaseTests/ReceiveTests.cs#L182
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
|
dotnet pack
File 'D:\a\Akka.Hosting\Akka.Hosting\README.md' is not added because the package already contains file '\README.md'
|
Loading