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

Add analyzer and fix provider RCS1265: Remove redundant catch statement #1364

Merged
merged 10 commits into from Jan 21, 2024

Conversation

jakubreznak
Copy link
Contributor

fixes #1025

@jakubreznak
Copy link
Contributor Author

I have revised the code based on your comments, thank you for them, I hope it is better now.

@josefpihrt
Copy link
Collaborator

@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.

@jakubreznak
Copy link
Contributor Author

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.

@josefpihrt josefpihrt closed this Jan 19, 2024
@josefpihrt josefpihrt reopened this Jan 19, 2024
Copy link
Collaborator

@josefpihrt josefpihrt left a 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"

@josefpihrt josefpihrt merged commit 2ed4a08 into dotnet:main Jan 21, 2024
17 checks passed
@josefpihrt
Copy link
Collaborator

@jakubreznak Thanks for the contribution!

@jakubreznak jakubreznak deleted the feature/RCS1265 branch February 15, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactoring request: Remove redundant catch statement
2 participants