From 3cbbe443845aa034b0b0db811a31b0e156f5e3ae Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Wed, 9 Aug 2017 08:45:49 +0200 Subject: [PATCH] Disable XML comment warnings in generated stubs --- src/compiler/csharp_generator.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/csharp_generator.cc b/src/compiler/csharp_generator.cc index ab4a8a6aa3d..bc3b0f24cdd 100644 --- a/src/compiler/csharp_generator.cc +++ b/src/compiler/csharp_generator.cc @@ -670,6 +670,7 @@ grpc::string GetServices(const FileDescriptor *file, bool generate_client, out.Print(leading_comments.c_str()); } + out.Print("#pragma warning disable 1591\n"); out.Print("#region Designer generated code\n"); out.Print("\n"); out.Print("using System;\n");