aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-10-13 19:42:37 +0200
committerGravatar GitHub <noreply@github.com>2016-10-13 19:42:37 +0200
commit770137b01ded519a78126031cc00b2afc377bb39 (patch)
tree56e439f0fa4ffd1b1f6a754b24229264261d9b6a /src/compiler
parent0fd76ab55f7bc3cc96e7bd57ccb6a726c3fe7ac9 (diff)
parent10098d1819c39a5083131b821adf86b738568362 (diff)
Merge pull request #8297 from jtattermusch/add_newinstance_comment
Add comment to NewInstance override in the generated code
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));