aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-10-05 21:22:06 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-10-12 14:43:19 +0200
commit05cccba2f14648704725498439078766631f58f0 (patch)
tree1637e3dd4421a094466534fa68db76feae8bf5e9 /src/compiler
parentcfcc0755a0c77180c3eaadea1c8d1103da2e8f36 (diff)
add comment for NewInstance override
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/csharp_generator.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/csharp_generator.cc b/src/compiler/csharp_generator.cc
index 591e5ae3d4..48157033db 100644
--- a/src/compiler/csharp_generator.cc
+++ b/src/compiler/csharp_generator.cc
@@ -495,6 +495,9 @@ void GenerateClientStub(Printer *out, const ServiceDescriptor *service) {
// override NewInstance method
out->Print(
+ "/// <summary>Creates a new instance of client from given "
+ "<c>ClientBaseConfiguration</c>.</summary>\n");
+ out->Print(
"protected override $name$ NewInstance(ClientBaseConfiguration "
"configuration)\n",
"name", GetClientClassName(service));