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/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs | |
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/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs')
-rw-r--r-- | src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs b/src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs index 3e9c35c0..b4f7a512 100644 --- a/src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs +++ b/src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs @@ -257,7 +257,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)) {
@@ -541,7 +541,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)) {
@@ -773,7 +773,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)) {
@@ -1048,7 +1048,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)) {
|