-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Core] Enforce CA1507 - use nameof() where possible #21962
Conversation
Hey there @symbiogenesis! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
src/Compatibility/ControlGallery/src/Issues.Shared/Bugzilla31330.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am also thinking that this should actually also only happen in the library code. We have tests that should be fine, but I would rather not change the tests in the same PR that changes the library.
Removed the changes to the tests, and now this is only impacting Core. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/rebase |
/azp run |
4a01a9a
to
ba87cec
Compare
Azure Pipelines successfully started running 3 pipeline(s). |
Enforces CA1507
This will allow potential future bugs to be discovered at compile-time, rather than at runtime.
I used a roslyn refactoring to accomplish this, but I sanity checked all of the individual changes.