aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf.Test/Reflection/CustomOptionsTest.cs
Commit message (Collapse)AuthorAgeFilesLines
* Add Oneof custom options testJie Luo2017-01-271-0/+4
|
* Support custom options in C#Jon Skeet2017-01-191-0/+267
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.