Fix WithSingleton
and WithSingletonProxy
API (#520)
#1346
Annotations
1 error and 10 warnings
dotnet test
Process completed with exit code 1.
|
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/Bugfix208Specs.cs#L92
The variable 'e' is declared but never used
|
dotnet build:
src/Akka.Hosting.Tests/Logging/SerilogLoggerEnd2EndSpecs.cs#L32
Cannot convert null literal to non-nullable reference type.
|
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/Bugfix208Specs.cs#L92
The variable 'e' is declared but never used
|
dotnet build:
src/Akka.Hosting.Tests/Logging/SerilogLoggerEnd2EndSpecs.cs#L32
Cannot convert null literal to non-nullable reference type.
|
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)
|
Loading