| Index: third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc
|
| diff --git a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc
|
| index e3c34040b8fe4a37612e82286d29bdd92e34b058..e2011b76ca282d64acc9f384f7531ff4a459c915 100644
|
| --- a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc
|
| +++ b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc
|
| @@ -124,12 +124,13 @@ void FieldGeneratorBase::GenerateCodecCode(io::Printer* printer) {
|
| void FieldGeneratorBase::AddDeprecatedFlag(io::Printer* printer) {
|
| if (descriptor_->options().deprecated())
|
| {
|
| - printer->Print("[global::System.ObsoleteAttribute()]\n");
|
| + printer->Print("[global::System.ObsoleteAttribute]\n");
|
| }
|
| }
|
|
|
| void FieldGeneratorBase::AddPublicMemberAttributes(io::Printer* printer) {
|
| AddDeprecatedFlag(printer);
|
| + WriteGeneratedCodeAttributes(printer);
|
| }
|
|
|
| std::string FieldGeneratorBase::oneof_property_name() {
|
|
|