diff options
author | csharptest <roger@csharptest.net> | 2011-06-03 14:51:06 -0500 |
---|---|---|
committer | rogerk <devnull@localhost> | 2011-06-03 14:51:06 -0500 |
commit | 9928441649bde7a5e3bb84808821f1a5bef0bba6 (patch) | |
tree | 9914eaa108d1a5817c8ccac79aa4694c0b86bebd /src/ProtoGen | |
parent | 123e534914df3dbdcd918ec4f8d79c47a3bf85e5 (diff) | |
download | protobuf-9928441649bde7a5e3bb84808821f1a5bef0bba6.tar.gz protobuf-9928441649bde7a5e3bb84808821f1a5bef0bba6.tar.bz2 protobuf-9928441649bde7a5e3bb84808821f1a5bef0bba6.zip |
Canged CodedInputStream.ReadTag to use boolean result with out params to
support reading a field name rather than a field tag.
Diffstat (limited to 'src/ProtoGen')
-rw-r--r-- | src/ProtoGen/MessageGenerator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProtoGen/MessageGenerator.cs b/src/ProtoGen/MessageGenerator.cs index ece0bb4d..94008fb0 100644 --- a/src/ProtoGen/MessageGenerator.cs +++ b/src/ProtoGen/MessageGenerator.cs @@ -629,7 +629,7 @@ namespace Google.ProtocolBuffers.ProtoGen // writer.WriteLine(" }");
//}
//writer.WriteLine(" return this;");
- writer.WriteLine(" throw InvalidProtocolBufferException.InvalidTag();");
+ writer.WriteLine(" throw pb::InvalidProtocolBufferException.InvalidTag();");
writer.WriteLine("}");
writer.WriteLine("default: {");
writer.WriteLine(" if (pb::WireFormat.IsEndGroupTag(tag)) {");
|