diff --git a/src/Akka.Hosting.TestKit/Internals/XUnitLogger.cs b/src/Akka.Hosting.TestKit/Internals/XUnitLogger.cs index 476511e5..1cbe5f3b 100644 --- a/src/Akka.Hosting.TestKit/Internals/XUnitLogger.cs +++ b/src/Akka.Hosting.TestKit/Internals/XUnitLogger.cs @@ -73,7 +73,7 @@ public bool IsEnabled(LogLevel logLevel) }; } - public IDisposable BeginScope(TState state) where TState : notnull + public IDisposable BeginScope(TState state) { return NullScope.Instance; }