aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/csharp_generator.cc
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2016-11-03 11:07:42 -0700
committerGravatar Alexander Polcyn <apolcyn@google.com>2016-11-03 11:07:42 -0700
commit333658177dad958fd3b4402d2b351b3a4c4b170f (patch)
treefe08e3e7c23c68afbee47caafe11f7e42fcdf811 /src/compiler/csharp_generator.cc
parentc75fdea628ce942fadd857b46f1bd9a92d5cc10e (diff)
generate server base class as partial too
Diffstat (limited to 'src/compiler/csharp_generator.cc')
-rw-r--r--src/compiler/csharp_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/csharp_generator.cc b/src/compiler/csharp_generator.cc
index 3d4a8cb9c2..977600ffb2 100644
--- a/src/compiler/csharp_generator.cc
+++ b/src/compiler/csharp_generator.cc
@@ -297,7 +297,7 @@ void GenerateServiceDescriptorProperty(Printer* out, const ServiceDescriptor *se
void GenerateServerClass(Printer* out, const ServiceDescriptor *service) {
out->Print("/// <summary>Base class for server-side implementations of $servicename$</summary>\n",
"servicename", GetServiceClassName(service));
- out->Print("public abstract class $name$\n", "name",
+ out->Print("public abstract partial class $name$\n", "name",
GetServerClassName(service));
out->Print("{\n");
out->Indent();