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

[API Compat] Fix attribute comparison in type members #7376

Merged
merged 1 commit into from
May 12, 2021

Conversation

safern
Copy link
Member

@safern safern commented May 11, 2021

When adding support to diff attributes on parameters and type parameters: 45a923c I regressed the attribute checking on type members (methods, properties, fields, etc).

This fixes that issue and adds a test to cover that scenario.

This was found as many PRs that expected to be failing didn't fail, i.e: dotnet/runtime#50894

Once this is merged I will get this flowing to dotnet/runtime and fix whatever issues were introduced in that 2 month gap.

cc: @tlakollo @vitek-karas @ericstj @eerhardt @joperezr

Copy link

@tlakollo tlakollo left a comment

Choose a reason for hiding this comment

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

Thanks for debugging this Santiago!

@safern
Copy link
Member Author

safern commented May 12, 2021

@missymessa FYI this will be breaking dotnet/runtime. I will be putting a PR to fix the break on dotnet/runtime.

@safern safern merged commit 86ff873 into dotnet:main May 12, 2021
@safern safern deleted the FixApiCompatAttributeMembers branch May 12, 2021 01:18
Copy link
Member

@joperezr joperezr left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for fixing!

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.

3 participants