diff options
author | 2016-07-07 07:14:51 +0100 | |
---|---|---|
committer | 2016-07-07 20:20:42 +0100 | |
commit | e9a7fc837feb8fc663d64e67c5291a711b3ba376 (patch) | |
tree | 03d19d82fc75c11e6e01253f11a1dc7ad581c583 /src/google/protobuf/compiler/csharp/csharp_source_generator_base.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_source_generator_base.cc')
-rw-r--r-- | src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc b/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc index d8ef2d2e..1fda7ddf 100644 --- a/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc +++ b/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc @@ -59,10 +59,6 @@ void SourceGeneratorBase::WriteGeneratedCodeAttributes(io::Printer* printer) { printer->Print("[global::System.Diagnostics.DebuggerNonUserCodeAttribute]\n"); } -void SourceGeneratorBase::WriteGeneratedTypeAttributes(io::Printer* printer) { - // This hook can be used to reintroduce generated code attributes in the future. -} - std::string SourceGeneratorBase::class_access_level() { return (IsDescriptorProto(descriptor_) || this->options()->internal_access) ? "internal" : "public"; } |