aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf.Test/TestProtos/UnittestCustomOptionsProto3.cs
Commit message (Collapse)AuthorAgeFilesLines
* Cherrypick for csharp, including:Jie Luo2017-12-191-44/+298
| | | | | | Add preserve UnknownFields Compare floating point values bitwise Add auto-generated header to C# generated files
* Add Oneof custom options testJie Luo2017-01-271-110/+108
|
* Support custom options in C#Jon Skeet2017-01-191-0/+2627
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.