aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2015-08-05 09:11:25 +0100
committerJon Skeet <skeet@pobox.com>2015-08-05 09:11:25 +0100
commit607940321c8ceeb80ec1099d94add8eef86825e5 (patch)
treea9ccd19f451afbbba95814ff8ea5bf8b15fc841a /csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
parentd77d70d227b648ac8c36183ac9d85cf39f782978 (diff)
parentc13a612dc473ff0678602892121c3101c6890abb (diff)
downloadprotobuf-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/Duration.cs')
-rw-r--r--csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
index 26c8d2b6..1ca33dce 100644
--- a/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
+++ b/csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs
@@ -156,6 +156,7 @@ namespace Google.Protobuf.WellKnownTypes {
if (pb::WireFormat.IsEndGroupTag(tag)) {
return;
}
+ input.ConsumeLastField();
break;
case 8: {
Seconds = input.ReadInt64();