diff options
author | Jon Skeet <jonskeet@google.com> | 2016-07-07 07:14:51 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2016-07-07 20:20:42 +0100 |
commit | e9a7fc837feb8fc663d64e67c5291a711b3ba376 (patch) | |
tree | 03d19d82fc75c11e6e01253f11a1dc7ad581c583 /src/google/protobuf/compiler/csharp/csharp_reflection_class.cc | |
parent | c53484539c691a717ad531081e6fbed7fd4ea192 (diff) |
Remove WriteGeneratedTypeAttributes which is a no-op
This does not affect the generated code.
If we decide we want to apply attributes to generated types, we should start by
just reverting this change.
Diffstat (limited to 'src/google/protobuf/compiler/csharp/csharp_reflection_class.cc')
-rw-r--r-- | src/google/protobuf/compiler/csharp/csharp_reflection_class.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc b/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc index df7ea11b..bac9aef7 100644 --- a/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc +++ b/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc @@ -122,12 +122,10 @@ void ReflectionClassGenerator::WriteIntroduction(io::Printer* printer) { } printer->Print( - "/// <summary>Holder for reflection information generated from $file_name$</summary>\n", - "file_name", file_->name()); - WriteGeneratedTypeAttributes(printer); - printer->Print( + "/// <summary>Holder for reflection information generated from $file_name$</summary>\n" "$access_level$ static partial class $reflection_class_name$ {\n" "\n", + "file_name", file_->name(), "access_level", class_access_level(), "reflection_class_name", reflectionClassname_); printer->Indent(); |