JetBrains/ExternalAnnotations

Annotate `Microsoft.Extensions.Logging` extension methods such as `LogInformation`

TessenR opened this issue · 0 comments

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