aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers.Test/TestProtos/UnitTestCustomOptionsProtoFile.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/UnitTestCustomOptionsProtoFile.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/UnitTestCustomOptionsProtoFile.cs')
-rw-r--r--src/ProtocolBuffers.Test/TestProtos/UnitTestCustomOptionsProtoFile.cs34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/ProtocolBuffers.Test/TestProtos/UnitTestCustomOptionsProtoFile.cs b/src/ProtocolBuffers.Test/TestProtos/UnitTestCustomOptionsProtoFile.cs
index c300e209..73a17812 100644
--- a/src/ProtocolBuffers.Test/TestProtos/UnitTestCustomOptionsProtoFile.cs
+++ b/src/ProtocolBuffers.Test/TestProtos/UnitTestCustomOptionsProtoFile.cs
@@ -581,7 +581,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)) {
@@ -787,7 +787,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)) {
@@ -970,7 +970,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)) {
@@ -1168,7 +1168,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)) {
@@ -1351,7 +1351,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)) {
@@ -1534,7 +1534,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)) {
@@ -1717,7 +1717,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)) {
@@ -1900,7 +1900,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)) {
@@ -2083,7 +2083,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)) {
@@ -2266,7 +2266,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)) {
@@ -2511,7 +2511,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)) {
@@ -2811,7 +2811,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)) {
@@ -3059,7 +3059,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)) {
@@ -3403,7 +3403,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)) {
@@ -3624,7 +3624,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)) {
@@ -3893,7 +3893,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)) {
@@ -4098,7 +4098,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)) {