Index: third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc |
index bac9aef7b84fa93748891df262e0569ab8a1d0e6..f7397c0f6e5fc3b6f3774f28623571fdda0ebb6d 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc |
+++ b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc |
@@ -123,9 +123,12 @@ void ReflectionClassGenerator::WriteIntroduction(io::Printer* printer) { |
printer->Print( |
"/// <summary>Holder for reflection information generated from $file_name$</summary>\n" |
+ "[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\n", |
+ "file_name", file_->name()); |
+ WriteGeneratedCodeAttributes(printer); |
+ printer->Print( |
"$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(); |