From 541686c89f0080e7420ff1c1fc2a130c60f21053 Mon Sep 17 00:00:00 2001 From: csharptest Date: Thu, 14 Jul 2011 13:48:52 -0500 Subject: [PATCH] Removed left-over commented code --- src/ProtoGen/MessageGenerator.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/ProtoGen/MessageGenerator.cs b/src/ProtoGen/MessageGenerator.cs index 8f3a5939e7..8d41cde1d9 100644 --- a/src/ProtoGen/MessageGenerator.cs +++ b/src/ProtoGen/MessageGenerator.cs @@ -704,13 +704,6 @@ namespace Google.ProtocolBuffers.ProtoGen writer.WriteLine("switch (tag) {"); writer.Indent(); writer.WriteLine("case 0: {"); // 0 signals EOF / limit reached - //if (!UseLiteRuntime) - //{ - // writer.WriteLine(" if (unknownFields != null) {"); - // writer.WriteLine(" this.UnknownFields = unknownFields.Build();"); - // writer.WriteLine(" }"); - //} - //writer.WriteLine(" return this;"); writer.WriteLine(" throw pb::InvalidProtocolBufferException.InvalidTag();"); writer.WriteLine("}"); writer.WriteLine("default: {");