Index: third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc |
index 16411e49c70475bd7fad184a168d453b39e3c4d0..1fda7ddf31b527214a6ae573da13d5607f5137a7 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc |
+++ b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc |
@@ -56,7 +56,7 @@ SourceGeneratorBase::~SourceGeneratorBase() { |
} |
void SourceGeneratorBase::WriteGeneratedCodeAttributes(io::Printer* printer) { |
- // This hook can be used to reintroduce generated code attributes in the future. |
+ printer->Print("[global::System.Diagnostics.DebuggerNonUserCodeAttribute]\n"); |
} |
std::string SourceGeneratorBase::class_access_level() { |