-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
Add analyzer and fix provider RCS1265: Remove redundant catch statement #1364
Conversation
src/Analyzers/CSharp/Analysis/RemoveRedundantCatchBlockAnalyzer.cs
Outdated
Show resolved
Hide resolved
src/Analyzers/CSharp/Analysis/RemoveRedundantCatchBlockAnalyzer.cs
Outdated
Show resolved
Hide resolved
I have revised the code based on your comments, thank you for them, I hope it is better now. |
src/Analyzers.CodeFixes/CSharp/CodeFixes/RemoveRedundantCatchBlockCodeFixProvider.cs
Outdated
Show resolved
Hide resolved
@jakubreznak I'm glad that you took the initiative and implement the analyzer by yourself. I added some more comments and I think that after this iteration the PR could be merged. |
Now i understand and it is better starting analysis from try statement so i did it that way. Again thanks for your code review and your comments. |
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.
Please fix typo in file name "RCS1265RemoveRedundantCantchBlockTests.cs"
@jakubreznak Thanks for the contribution! |
fixes #1025