Browse Source

codegen: InternalMergeFrom

Jan Tattermusch 5 năm trước cách đây
mục cha
commit
92076f7007
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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"