aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers.Test/TestProtos/UnitTestImportLiteProtoFile.cs
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2011-06-03 14:51:06 -0500
committerrogerk <devnull@localhost>2011-06-03 14:51:06 -0500
commit9928441649bde7a5e3bb84808821f1a5bef0bba6 (patch)
tree9914eaa108d1a5817c8ccac79aa4694c0b86bebd /src/ProtocolBuffers.Test/TestProtos/UnitTestImportLiteProtoFile.cs
parent123e534914df3dbdcd918ec4f8d79c47a3bf85e5 (diff)
downloadprotobuf-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/ProtocolBuffers.Test/TestProtos/UnitTestImportLiteProtoFile.cs')
-rw-r--r--src/ProtocolBuffers.Test/TestProtos/UnitTestImportLiteProtoFile.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProtocolBuffers.Test/TestProtos/UnitTestImportLiteProtoFile.cs b/src/ProtocolBuffers.Test/TestProtos/UnitTestImportLiteProtoFile.cs
index db26d728..26eb96a0 100644
--- a/src/ProtocolBuffers.Test/TestProtos/UnitTestImportLiteProtoFile.cs
+++ b/src/ProtocolBuffers.Test/TestProtos/UnitTestImportLiteProtoFile.cs
@@ -212,7 +212,7 @@ namespace Google.ProtocolBuffers.TestProtos {
while (input.ReadTag(out tag, out field_name)) {
switch (tag) {
case 0: {
- throw InvalidProtocolBufferException.InvalidTag();
+ throw pb::InvalidProtocolBufferException.InvalidTag();
}
default: {
if (pb::WireFormat.IsEndGroupTag(tag)) {