Index: third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc |
index 8fa0b0504f85ef3b658620d0620b6f20d66abccb..d51e638a9c6591d6fde704ec38d29dcdd27d25ff 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc |
+++ b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc |
@@ -79,7 +79,7 @@ void RepeatedMessageFieldGenerator::GenerateMembers(io::Printer* printer) { |
variables_, |
"private readonly pbc::RepeatedField<$type_name$> $name$_ = new pbc::RepeatedField<$type_name$>();\n"); |
WritePropertyDocComment(printer, descriptor_); |
- AddPublicMemberAttributes(printer); |
+ AddDeprecatedFlag(printer); |
printer->Print( |
variables_, |
"$access_level$ pbc::RepeatedField<$type_name$> $property_name$ {\n" |