SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 35 C++

Support custom options in C#

This consists of:
- Changing the codegen for the fixed set of options protos, to parse unknown fields instead of skipping them
- Add a new CustomOptions type in the C# support library
- Expose CustomOptions properties from the immutable proto wrappers in the support library

Only single-value options are currently supported, and fetching options values requires getting the type right
and knowing the field number. Both of these can be addressed at a later time.

Fixes #2143, at least as a first pass.
J
Jon Skeet committed
047575f20cbdee8fb2f88d78a317ffe6133b93e6
Parent: eed9951
Committed by Jon Skeet <skeet@pobox.com> on 1/19/2017, 6:46:04 AM