diff options
author | Jon Skeet <jonskeet@google.com> | 2015-08-06 11:40:43 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-08-06 11:40:43 +0100 |
commit | 5bdc57292f2a21706ff1dab21652fb8e1f058eb7 (patch) | |
tree | c313720a0b955c6d24f68a3a3d770c0a3eb0f556 /csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs | |
parent | e7f88ff1294ada0fca19334ed2c844cdb98ea2f6 (diff) | |
download | protobuf-5bdc57292f2a21706ff1dab21652fb8e1f058eb7.tar.gz protobuf-5bdc57292f2a21706ff1dab21652fb8e1f058eb7.tar.bz2 protobuf-5bdc57292f2a21706ff1dab21652fb8e1f058eb7.zip |
Generated code for previous commit.
Diffstat (limited to 'csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs')
-rw-r--r-- | csharp/src/Google.Protobuf/WellKnownTypes/Timestamp.cs | 5 |
1 files changed, 1 insertions, 4 deletions
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(); |