• 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
Name
Last commit
Last update
..
Collections Loading commit data...
Compatibility Loading commit data...
Reflection Loading commit data...
TestProtos Loading commit data...
WellKnownTypes Loading commit data...
ByteStringTest.cs Loading commit data...
CodedInputStreamExtensions.cs Loading commit data...
CodedInputStreamTest.cs Loading commit data...
CodedOutputStreamTest.cs Loading commit data...
DeprecatedMemberTest.cs Loading commit data...
EqualityTester.cs Loading commit data...
FieldCodecTest.cs Loading commit data...
GeneratedMessageTest.cs Loading commit data...
Google.Protobuf.Test.xproj Loading commit data...
IssuesTest.cs Loading commit data...
JsonFormatterTest.cs Loading commit data...
JsonParserTest.cs Loading commit data...
JsonTokenizerTest.cs Loading commit data...
SampleEnum.cs Loading commit data...
SampleMessages.cs Loading commit data...
TestCornerCases.cs Loading commit data...
project.json Loading commit data...