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 C# optional field reflection when there are regular fields too #7705

Merged
merged 1 commit into from Jul 14, 2020

Conversation

jskeet
Copy link
Contributor

@jskeet jskeet commented Jul 14, 2020

Previous tests didn't spot this as each message was either "all
optional" or "all non-optional", at which point there isn't a problem.

Previous tests didn't spot this as each message was either "all
optional" or "all non-optional", at which point there isn't a problem.
@jskeet
Copy link
Contributor Author

jskeet commented Jul 14, 2020

Note that almost all of this PR is adding the test - the production code change is just in OneofDescriptor.cs

@jskeet jskeet requested a review from haberman July 14, 2020 04:54
@jskeet jskeet merged commit d4ec70f into protocolbuffers:master Jul 14, 2020
@jskeet jskeet deleted the fix-oneof-descriptor branch July 14, 2020 07:01
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.

None yet

4 participants