Skip to content

C# Exclude dynamic casts from useless casts check #8152

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

Merged
merged 3 commits into from
Feb 28, 2022

Conversation

tamasvajk
Copy link
Contributor

@tamasvajk tamasvajk commented Feb 21, 2022

This PR removes all casts to dynamic from the useless upcast check. The issue was reported in #8069.

@github-actions github-actions bot added the C# label Feb 21, 2022
@tamasvajk tamasvajk marked this pull request as ready for review February 28, 2022 13:17
@tamasvajk tamasvajk requested a review from a team as a code owner February 28, 2022 13:17
michaelnebel
michaelnebel previously approved these changes Feb 28, 2022
Copy link
Contributor

@michaelnebel michaelnebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks plausible to me!

Copy link
Contributor

@michaelnebel michaelnebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@tamasvajk tamasvajk merged commit d3e3603 into github:main Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants