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 groups handling in C# #694

Merged
merged 3 commits into from Aug 8, 2015
Merged

Fix groups handling in C# #694

merged 3 commits into from Aug 8, 2015

Conversation

jskeet
Copy link
Contributor

@jskeet jskeet commented Aug 6, 2015

No description provided.

Now the generated code doesn't need to check for end group tags, as it will skip whole groups at a time.
Currently it will ignore extraneous end group tags, which may or may not be a good thing.
Renamed ConsumeLastField to SkipLastField as it felt more natural.
Removed WireFormat.IsEndGroupTag as it's no longer useful.

This mostly fixes issue 688.

(Generated code changes coming in next commit.)
@jskeet jskeet added the c# label Aug 6, 2015
@jskeet jskeet mentioned this pull request Aug 6, 2015
@jtattermusch
Copy link
Contributor

LGTM besides the two mine comments. Feel free to merge yourself.

jskeet added a commit that referenced this pull request Aug 8, 2015
Fix groups handling in C#
@jskeet jskeet merged commit cac4531 into protocolbuffers:master Aug 8, 2015
@jskeet jskeet deleted the groups branch August 10, 2015 11:45
bithium pushed a commit to bithium/protobuf that referenced this pull request Sep 4, 2023
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

3 participants