From: Jake Luciani Date: Thu, 20 Mar 2014 14:30:43 +0000 (-0400) Subject: THRIFT-2417: Make union types partial classes X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=2bf90780d451ca9c6f7a0e2082009a5f409932af;p=common%2Fthrift.git THRIFT-2417: Make union types partial classes Patch by Jake Luciani, Reviewed by Jake Farrell --- diff --git a/compiler/cpp/src/generate/t_csharp_generator.cc b/compiler/cpp/src/generate/t_csharp_generator.cc index d9659e46..5d6fb16f 100644 --- a/compiler/cpp/src/generate/t_csharp_generator.cc +++ b/compiler/cpp/src/generate/t_csharp_generator.cc @@ -1054,7 +1054,7 @@ void t_csharp_generator::generate_csharp_union_definition(std::ofstream& out, t_ // Let's define the class first start_csharp_namespace(out); - indent(out) << "public abstract class " << tunion->get_name() << " : TAbstractBase {" << endl; + indent(out) << "public abstract partial class " << tunion->get_name() << " : TAbstractBase {" << endl; indent_up();