• Jon Skeet's avatar
    Add DiscardUnknownFields support for C# · 47b7d2c7
    Jon Skeet authored
    By default, unknown fields are preserved when parsing. To discard
    them, use a parser configured to do so:
    
    var parser = MyMessage.Parser.WithDiscardUnknownFields(true);
    47b7d2c7
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.csproj Loading commit data...
IssuesTest.cs Loading commit data...
JsonFormatterTest.cs Loading commit data...
JsonParserTest.cs Loading commit data...
JsonTokenizerTest.cs Loading commit data...
Program.cs Loading commit data...
SampleEnum.cs Loading commit data...
SampleMessages.cs Loading commit data...
SampleNaNs.cs Loading commit data...
TestCornerCases.cs Loading commit data...
UnknownFieldSetTest.cs Loading commit data...