diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2017-12-13 14:36:29 -0800 |
---|---|---|
committer | Jie Luo <anandolee@gmail.com> | 2017-12-13 14:36:29 -0800 |
commit | 426cf6f31ed5efae703d7a1f31edc841205414e2 (patch) | |
tree | f7ead21ada137fad5dcc6501411efd140d4cd8a5 /src | |
parent | a4f68d479ad3edde6a24f733e44b65e3014b5f62 (diff) | |
download | protobuf-426cf6f31ed5efae703d7a1f31edc841205414e2.tar.gz protobuf-426cf6f31ed5efae703d7a1f31edc841205414e2.tar.bz2 protobuf-426cf6f31ed5efae703d7a1f31edc841205414e2.zip |
Add auto-generated header to C# generated files (#4038)
* Add auto-generated header to C# generated files
* regenerate C# protos
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/compiler/csharp/csharp_reflection_class.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc b/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc index bac9aef7..5ddd616e 100644 --- a/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc +++ b/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc @@ -104,8 +104,10 @@ void ReflectionClassGenerator::Generate(io::Printer* printer) { void ReflectionClassGenerator::WriteIntroduction(io::Printer* printer) { printer->Print( - "// Generated by the protocol buffer compiler. DO NOT EDIT!\n" - "// source: $file_name$\n" + "// <auto-generated>\n" + "// Generated by the protocol buffer compiler. DO NOT EDIT!\n" + "// source: $file_name$\n" + "// </auto-generated>\n" "#pragma warning disable 1591, 0612, 3021\n" "#region Designer generated code\n" "\n" |