Explorar o código

codegen: InternalMergeFrom

Jan Tattermusch %!s(int64=5) %!d(string=hai) anos
pai
achega
92076f7007
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/google/protobuf/compiler/csharp/csharp_message.cc

+ 1 - 1
src/google/protobuf/compiler/csharp/csharp_message.cc

@@ -640,7 +640,7 @@ void MessageGenerator::GenerateMergingMethods(io::Printer* printer) {
   printer->Print("}\n\n");
 
   WriteGeneratedCodeAttributes(printer);
-  printer->Print("public void MergeFrom_Internal(ref pb::ParseContext input) {\n");
+  printer->Print("void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {\n");
   printer->Indent();
   printer->Print(
     "uint tag;\n"