aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-03 09:25:38 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-08 00:40:07 -0700
commit7db46138d5fd835a38c1aabf79c961ef63ed13d6 (patch)
tree845a79742cd07d3a0d00c57ee5defc143dae0a72
parent28526319e0dd6e575d349f05dcf06abdb69899f3 (diff)
progress
-rw-r--r--src/csharp/Grpc.Examples/MathGrpc.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/csharp/Grpc.Examples/MathGrpc.cs b/src/csharp/Grpc.Examples/MathGrpc.cs
index f008a0d7f2..1395a80010 100644
--- a/src/csharp/Grpc.Examples/MathGrpc.cs
+++ b/src/csharp/Grpc.Examples/MathGrpc.cs
@@ -5,7 +5,6 @@
using System;
using System.Threading;
using System.Threading.Tasks;
-using Google.Protobuf;
using Grpc.Core;
namespace Math {
@@ -13,7 +12,7 @@ namespace Math {
{
static readonly string __ServiceName = "math.Math";
- static readonly Marshaller<global::Math.DivArgs> __Marshaller_DivArgs = Marshallers.Create((arg) => arg.ToByteArray(), global::Math.DivArgs.Parser.ParseFrom);
+ static readonly Marshaller<global::Math.DivArgs> __Marshaller_DivArgs = Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Math.DivArgs.Parser.ParseFrom);
static readonly Marshaller<global::Math.DivReply> __Marshaller_DivReply = Marshallers.Create((arg) => arg.ToByteArray(), global::Math.DivReply.Parser.ParseFrom);
static readonly Marshaller<global::Math.FibArgs> __Marshaller_FibArgs = Marshallers.Create((arg) => arg.ToByteArray(), global::Math.FibArgs.Parser.ParseFrom);
static readonly Marshaller<global::Math.Num> __Marshaller_Num = Marshallers.Create((arg) => arg.ToByteArray(), global::Math.Num.Parser.ParseFrom);