• Jon Skeet's avatar
    Skip groups properly. · e7f88ff1
    Jon Skeet authored
    Now the generated code doesn't need to check for end group tags, as it will skip whole groups at a time.
    Currently it will ignore extraneous end group tags, which may or may not be a good thing.
    Renamed ConsumeLastField to SkipLastField as it felt more natural.
    Removed WireFormat.IsEndGroupTag as it's no longer useful.
    
    This mostly fixes issue 688.
    
    (Generated code changes coming in next commit.)
    e7f88ff1
FieldCodec.cs 20.6 KB