• 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
Name
Last commit
Last update
..
Collections Loading commit data...
Compatibility Loading commit data...
Properties Loading commit data...
Reflection Loading commit data...
WellKnownTypes Loading commit data...
ByteArray.cs Loading commit data...
ByteString.cs Loading commit data...
CodedInputStream.cs Loading commit data...
CodedOutputStream.ComputeSize.cs Loading commit data...
CodedOutputStream.cs Loading commit data...
FieldCodec.cs Loading commit data...
FrameworkPortability.cs Loading commit data...
Google.Protobuf.csproj Loading commit data...
Google.Protobuf.nuspec Loading commit data...
IMessage.cs Loading commit data...
InvalidProtocolBufferException.cs Loading commit data...
JsonFormatter.cs Loading commit data...
LimitedInputStream.cs Loading commit data...
MessageExtensions.cs Loading commit data...
MessageParser.cs Loading commit data...
Preconditions.cs Loading commit data...
WireFormat.cs Loading commit data...