Skip to content

Fix C# optional field reflection when there are regular fields too - #7705

Merged
jskeet merged 1 commit into
protocolbuffers:masterfrom
jskeet:fix-oneof-descriptor
Jul 14, 2020
Merged

Fix C# optional field reflection when there are regular fields too#7705
jskeet merged 1 commit into
protocolbuffers:masterfrom
jskeet:fix-oneof-descriptor

Conversation

@jskeet

@jskeet jskeet commented Jul 14, 2020

Copy link
Copy Markdown
Contributor

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

jskeet commented Jul 14, 2020

Copy link
Copy Markdown
Contributor Author

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.

4 participants