From: Bryan Duxbury Date: Fri, 8 Apr 2011 18:31:52 +0000 (+0000) Subject: THRIFT-1132. csharp: Deserialization error in TApplicationException C# X-Git-Tag: 0.7.0~123 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=c32e8309f439b6ca8fd878a059516c3d1618d2cc;p=common%2Fthrift.git THRIFT-1132. csharp: Deserialization error in TApplicationException C# 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 --- 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();