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

Fix handling of [DataMember] that appears on virtual and override properties #1083

Merged
merged 3 commits into from
Oct 24, 2020

Conversation

AArnott
Copy link
Collaborator

@AArnott AArnott commented Oct 17, 2020

Fixes #886

@AArnott AArnott added this to the v2.3 milestone Oct 17, 2020
@AArnott AArnott requested a review from neuecc October 17, 2020 19:34
@AArnott AArnott self-assigned this Oct 17, 2020
@AArnott AArnott modified the milestones: v2.3, v2.2 Oct 18, 2020
Copy link
Member

@neuecc neuecc left a comment

Choose a reason for hiding this comment

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

only for string key?

@AArnott
Copy link
Collaborator Author

AArnott commented Oct 22, 2020

Good catch. I've added tests and fixed the ordinal key case.

@neuecc
Copy link
Member

neuecc commented Oct 22, 2020

Thank you, it looks good.

@AArnott AArnott merged commit d73b895 into MessagePack-CSharp:master Oct 24, 2020
@AArnott AArnott deleted the fix886 branch October 24, 2020 16:11
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.

DataMember attribute for properties with inheritance
2 participants