diff options
author | Jon Skeet <jonskeet@google.com> | 2018-01-03 09:57:58 +0000 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2018-01-15 02:53:45 -0500 |
commit | 47b7d2c7cadf74ceec90fc5042232819cd0dd557 (patch) | |
tree | 1ca71757c1550c134fa0fd55952b4d0ff63df3ed /cmake | |
parent | 9f80df026933901883da1d556b38292e14836612 (diff) | |
download | protobuf-47b7d2c7cadf74ceec90fc5042232819cd0dd557.tar.gz protobuf-47b7d2c7cadf74ceec90fc5042232819cd0dd557.tar.bz2 protobuf-47b7d2c7cadf74ceec90fc5042232819cd0dd557.zip |
Add DiscardUnknownFields support for C#
By default, unknown fields are preserved when parsing. To discard
them, use a parser configured to do so:
var parser = MyMessage.Parser.WithDiscardUnknownFields(true);
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions