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/Any.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/Any.cs')
-rw-r--r-- | csharp/src/Google.Protobuf/WellKnownTypes/Any.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs b/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs index 9fc653b0..204b37cf 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/Any.cs @@ -150,10 +150,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 10: { TypeUrl = input.ReadString(); |