-
Notifications
You must be signed in to change notification settings - Fork 29
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
Serilog003 gives false positive on my custom abstraction #19
Comments
My guess would be that its related to the way how i determine parameters: |
Indeed, looks that way. If I have time this easter weekend, I'll take a stab at it. You're accepting PRs, right? |
Of course 👍 much appreciated |
which just checks if the given parameter is "params", and in that case adds the argument to be checked, as well.
which just checks if the given parameter is "params", and in that case adds the argument to be checked, as well.
@Suchiman A coworker of mine ran into this issue again the other day, so it would be nice if this fix would be released. Are you planning a release by any chance? |
Sorry, i've been slacking lately. |
@tiesmaster I've just pushed https://github.com/Suchiman/SerilogAnalyzer/releases/tag/0.9.1 to nuget and visual studio gallery |
Awesome! I'll update my repos straight away tomorrow. Thanks man! |
Hi, awesome analyzer, btw. I really like it. Though, I'm getting a false postive on the following line:
Where
_log
is an instance of our own abstractionILogger
(it might not be too valuable, but that's a different discussion), which looks like this:And with that, it will give me:
If I have time, I'll see if I can reproduce this in a unit test, and sent you a PR, if you're accepting.
The text was updated successfully, but these errors were encountered: