• Jon Skeet's avatar
    Support custom options in C# · 047575f2
    Jon Skeet authored
    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.
    047575f2
generate_protos.sh 2.49 KB