diff options
author | Jon Skeet <skeet@pobox.com> | 2015-08-05 09:11:25 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2015-08-05 09:11:25 +0100 |
commit | 607940321c8ceeb80ec1099d94add8eef86825e5 (patch) | |
tree | a9ccd19f451afbbba95814ff8ea5bf8b15fc841a /csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs | |
parent | d77d70d227b648ac8c36183ac9d85cf39f782978 (diff) | |
parent | c13a612dc473ff0678602892121c3101c6890abb (diff) | |
download | protobuf-607940321c8ceeb80ec1099d94add8eef86825e5.tar.gz protobuf-607940321c8ceeb80ec1099d94add8eef86825e5.tar.bz2 protobuf-607940321c8ceeb80ec1099d94add8eef86825e5.zip |
Merge pull request #689 from jskeet/fix-eof
C# conformance tests
Diffstat (limited to 'csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs')
-rw-r--r-- | csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs index 15dd6dcd..72bd16d4 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Struct.cs @@ -144,6 +144,7 @@ namespace Google.Protobuf.WellKnownTypes { if (pb::WireFormat.IsEndGroupTag(tag)) { return; } + input.ConsumeLastField(); break; case 10: { fields_.AddEntriesFrom(input, _map_fields_codec); @@ -398,6 +399,7 @@ namespace Google.Protobuf.WellKnownTypes { if (pb::WireFormat.IsEndGroupTag(tag)) { return; } + input.ConsumeLastField(); break; case 8: { kind_ = input.ReadEnum(); @@ -527,6 +529,7 @@ namespace Google.Protobuf.WellKnownTypes { if (pb::WireFormat.IsEndGroupTag(tag)) { return; } + input.ConsumeLastField(); break; case 10: { values_.AddEntriesFrom(input, _repeated_values_codec); |