Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Fix nullability annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveSandersonMS committed Jul 29, 2022
1 parent 9c898ac commit 70ad183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wasi.AspNetCore.Server.Native/WasiLoggingProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public MinimalLogger(string categoryName)
this.categoryName = categoryName;
}

public IDisposable BeginScope<TState>(TState state)
public IDisposable? BeginScope<TState>(TState state) where TState : notnull
=> new MyScope();

public bool IsEnabled(LogLevel logLevel)
Expand Down

0 comments on commit 70ad183

Please sign in to comment.