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

CC0021 wrong suggestion #996

Open
paulomorgado opened this issue Sep 5, 2018 · 0 comments
Open

CC0021 wrong suggestion #996

paulomorgado opened this issue Sep 5, 2018 · 0 comments
Labels

Comments

@paulomorgado
Copy link

Code Cracker suggests a wrong usage of nameof.

For this code:

using (this.logger.BeginScope("Finalize"))

this substitution is being offered_

using (this.logger.BeginScope(nameof(TransactionManagerServiceManager)))

The class does have a finalizer (Finalize method), but the suggestion is wrong.

@carloscds carloscds added the bug label Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants