We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code
var newItem = 42; _logger.LogError("Answer is {newItem}", newItem);
emits a warning about property naming (false positive)
Property name 'newItem' does not naming rules'. Suggested name is 'NewItem'.
The warning disappears if plugin is deactivated.
The text was updated successfully, but these errors were encountered:
Well, this is a new rule implemented in the latest version. https://github.com/olsh/resharper-structured-logging/blob/master/rules/InconsistentLogPropertyNaming.md
By default suggested property name should be PacalCase. The naming may be configured in the extension settings (only in R# at the moment).
Sadly I have no time to implement it in Rider. PR is welcome. :)
The only workaround for you is to configure the rule in R# and save to Team Shared settings or disable the rule solution-wide.
Sorry, something went wrong.
Oh, seems it's not a false positive! :) Log property vs class property. Thank you for explanation. I will set the rule for my needs using R# for now.
No branches or pull requests
The following code
emits a warning about property naming (false positive)
The warning disappears if plugin is deactivated.
The text was updated successfully, but these errors were encountered: