Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate Microsoft.Extensions.Logging extension methods such as LogInformation #220

Open
TessenR opened this issue Sep 3, 2021 · 0 comments
Assignees

Comments

@TessenR
Copy link
Contributor

TessenR commented Sep 3, 2021

There are lots of extension methods that do not allow null extension argument.
Currently they don't have neither NRT annotations nor extension annotations so it leads to missing warnings when you call them on nullable objects e.g.

image

Would be nice to have them annotated. Here's the source code with all the methods
https://github.com/aspnet/Logging/blob/master/src/Microsoft.Extensions.Logging.Abstractions/LoggerExtensions.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants