diff options
author | Jon Skeet <jonskeet@google.com> | 2015-08-08 07:24:28 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-08-08 07:24:28 +0100 |
commit | 6e16037c9933e175f62feb445ff8bd22d7727285 (patch) | |
tree | 0216a5c47c8844051002464cdbf5bd9f9cafefc7 /csharp/src/Google.Protobuf | |
parent | 5bdc57292f2a21706ff1dab21652fb8e1f058eb7 (diff) | |
download | protobuf-6e16037c9933e175f62feb445ff8bd22d7727285.tar.gz protobuf-6e16037c9933e175f62feb445ff8bd22d7727285.tar.bz2 protobuf-6e16037c9933e175f62feb445ff8bd22d7727285.zip |
Address review comments.
Diffstat (limited to 'csharp/src/Google.Protobuf')
-rw-r--r-- | csharp/src/Google.Protobuf/CodedInputStream.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csharp/src/Google.Protobuf/CodedInputStream.cs b/csharp/src/Google.Protobuf/CodedInputStream.cs index a37fefc1..dcd19e48 100644 --- a/csharp/src/Google.Protobuf/CodedInputStream.cs +++ b/csharp/src/Google.Protobuf/CodedInputStream.cs @@ -346,7 +346,7 @@ namespace Google.Protobuf switch (WireFormat.GetTagWireType(lastTag))
{
case WireFormat.WireType.StartGroup:
- ConsumeGroup();
+ SkipGroup();
break;
case WireFormat.WireType.EndGroup:
// Just ignore; there's no data following the tag.
@@ -367,7 +367,7 @@ namespace Google.Protobuf }
}
- private void ConsumeGroup()
+ private void SkipGroup()
{
// Note: Currently we expect this to be the way that groups are read. We could put the recursion
// depth changes into the ReadTag method instead, potentially...
|