Replies: 1 comment
-
Thanks for that suggestion. That deeper analysis of the references for refactoring is probably a bit out of scope of what CodeMaid currently handles. It sounds like this may be available as a code fix according to https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1507 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
eg:
In my codebase i have a ton of OnPropertyChanged("Property") which should be changed to OnPropertyChanged(nameof(Property))
The same applies to DependencyProperty.Register("PropertyName".....)
The conversion should be intelligent, by checking if the property actually exists to not cause bugs.
Beta Was this translation helpful? Give feedback.
All reactions