JetBrains / JetBrains/ExternalAnnotations

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

Open
#220 0 comments 0 reactions 1 assignee Claimed by @sirduke View on GitHub
Dominant language
Kotlin
Stars
84
Forks
46
Avg merge
6h 55m
Merged PRs (30d)
1

Description

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](https://user-images.githubusercontent.com/5566206/131991587-41504174-537e-4e5d-bd61-3414d2e10866.png)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.