|
|
|
@ -82,11 +82,11 @@ bool GenerateDocCommentBodyImpl(grpc::protobuf::io::Printer* printer, |
|
|
|
|
printer->Print("///\n"); |
|
|
|
|
} |
|
|
|
|
last_was_empty = false; |
|
|
|
|
// If the comment has an extra slash at the start then this can cause the C# compiler
|
|
|
|
|
// to complain when generating the XML documentation
|
|
|
|
|
// Issue https://github.com/grpc/grpc/issues/35905
|
|
|
|
|
// If the comment has an extra slash at the start then this can cause the
|
|
|
|
|
// C# compiler to complain when generating the XML documentation Issue
|
|
|
|
|
// [https://github.com/grpc/grpc/issues/35905](https://www.google.com/url?q=https://github.com/grpc/grpc/issues/35905&sa=D)
|
|
|
|
|
if (line[0] == '/') { |
|
|
|
|
line.replace(0,1,"/"); |
|
|
|
|
line.replace(0, 1, "/"); |
|
|
|
|
} |
|
|
|
|
printer->Print("///$line$\n", "line", line); |
|
|
|
|
} |
|
|
|
|