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

fixing issue with backing field naming and serialization failing #1785

Merged
merged 2 commits into from
Mar 31, 2024

Conversation

epitka
Copy link

@epitka epitka commented Mar 8, 2024

Fix for #1776

@AArnott AArnott requested a review from neuecc March 14, 2024 12:44
Copy link
Collaborator

@AArnott AArnott left a comment

Choose a reason for hiding this comment

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

@neuecc I'm not familiar with the changed code. Would you mind taking a look?

@epitka
Copy link
Author

epitka commented Mar 14, 2024

I can give some context too. It seems that original intent was to determine if there were more than 1 candidate for property. This would be the case when property is overridden with a "new" keyword. Since it collects members ignoring case, this falsely flags case when backing field matches property name such as myProp/MyProp.

@epitka
Copy link
Author

epitka commented Mar 21, 2024

Any chance of somebody taking a look at it?

Copy link
Collaborator

@AArnott AArnott 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 the added explanation. I'll take it.

@AArnott AArnott enabled auto-merge March 31, 2024 22:19
@AArnott AArnott merged commit 43f1b1c into MessagePack-CSharp:master Mar 31, 2024
5 of 6 checks passed
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.

None yet

3 participants