From 5bdc57292f2a21706ff1dab21652fb8e1f058eb7 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Thu, 6 Aug 2015 11:40:43 +0100 Subject: Generated code for previous commit. --- csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs') diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs index 89355bdc..d7c0954f 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs @@ -151,10 +151,7 @@ namespace Google.Protobuf.WellKnownTypes { while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - if (pb::WireFormat.IsEndGroupTag(tag)) { - return; - } - input.ConsumeLastField(); + input.SkipLastField(); break; case 8: { Seconds = input.ReadInt64(); -- cgit v1.2.3