dont use nameof

pull/18484/head
Jan Tattermusch 6 years ago
parent 31ce7a32bb
commit aa61b5361b
  1. 2
      src/compiler/csharp_generator.cc

@ -384,7 +384,7 @@ void GenerateServerClass(Printer* out, const ServiceDescriptor* service) {
"servicename", GetServiceClassName(service));
out->Print(
"[grpc::BindService(typeof($classname$), "
"nameof($classname$.BindService))]\n",
"\"BindService\")]\n",
"classname", GetServiceClassName(service));
out->Print("public abstract partial class $name$\n", "name",
GetServerClassName(service));

Loading…
Cancel
Save