diff options
author | csharptest <roger@csharptest.net> | 2011-05-31 17:58:32 -0500 |
---|---|---|
committer | rogerk <devnull@localhost> | 2011-05-31 17:58:32 -0500 |
commit | efed509b55a1ab6d18b8ef960d799973e7e74544 (patch) | |
tree | c27ce1323fd03b0f9a7b9016226d6870062aec75 /src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs | |
parent | da4989c4ed04c92f71553dd6a73abb3d25869d7a (diff) | |
download | protobuf-efed509b55a1ab6d18b8ef960d799973e7e74544.tar.gz protobuf-efed509b55a1ab6d18b8ef960d799973e7e74544.tar.bz2 protobuf-efed509b55a1ab6d18b8ef960d799973e7e74544.zip |
Fixed two errors caused by incorrect merge of the rpc interface generator
Diffstat (limited to 'src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs')
-rw-r--r-- | src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs b/src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs index 8731f930..030e31d3 100644 --- a/src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs +++ b/src/ProtocolBuffers.Test/TestProtos/UnitTestRpcInterop.cs @@ -1208,8 +1208,8 @@ namespace Google.ProtocolBuffers.TestProtos { }
public TMessage CallMethod<TMessage, TBuilder>(string methodName, pb::IMessageLite request, pb::IBuilderLite<TMessage, TBuilder> response)
- where TMessage : IMessageLite<TMessage, TBuilder>
- where TBuilder : IBuilderLite<TMessage, TBuilder> {
+ where TMessage : pb::IMessageLite<TMessage, TBuilder>
+ where TBuilder : pb::IBuilderLite<TMessage, TBuilder> {
switch(methodName) {
case "Search": return response.MergeFrom(implementation.Search((global::Google.ProtocolBuffers.TestProtos.SearchRequest)request)).Build();
case "RefineSearch": return response.MergeFrom(implementation.RefineSearch((global::Google.ProtocolBuffers.TestProtos.RefineSearchRequest)request)).Build();
|