• 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
MessageExtensions.cs 9.22 KB