From c32e8309f439b6ca8fd878a059516c3d1618d2cc Mon Sep 17 00:00:00 2001 From: Bryan Duxbury Date: Fri, 8 Apr 2011 18:31:52 +0000 Subject: [PATCH] THRIFT-1132. csharp: Deserialization error in TApplicationException C# MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add in a missing ReadStructBegin call. Patch: Wojciech Baćmaga git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090392 13f79535-47bb-0310-9956-ffa450edef68 --- lib/csharp/src/TApplicationException.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/csharp/src/TApplicationException.cs b/lib/csharp/src/TApplicationException.cs index cc29f0aa..57dd375a 100644 --- a/lib/csharp/src/TApplicationException.cs +++ b/lib/csharp/src/TApplicationException.cs @@ -52,6 +52,7 @@ namespace Thrift string message = null; ExceptionType type = ExceptionType.Unknown; + iprot.ReadStructBegin(); while (true) { field = iprot.ReadFieldBegin(); -- 2.17.1