diff options
Diffstat (limited to 'src/google/protobuf/compiler/csharp/csharp_message.cc')
-rw-r--r-- | src/google/protobuf/compiler/csharp/csharp_message.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_message.cc b/src/google/protobuf/compiler/csharp/csharp_message.cc index 36f41c70..96f7c17c 100644 --- a/src/google/protobuf/compiler/csharp/csharp_message.cc +++ b/src/google/protobuf/compiler/csharp/csharp_message.cc @@ -262,11 +262,6 @@ void MessageGenerator::Generate(Writer* writer) { for (int i = 0; i < descriptor_->field_count(); i++) { const FieldDescriptor* fieldDescriptor = descriptor_->field(i); - // TODO(jtattermusch): same code for cls compliance is in csharp_extension - if (cls_compliance() - && GetFieldConstantName(fieldDescriptor)[0] == '_') { - writer->WriteLine("[global::System.CLSCompliant(false)]"); - } // Rats: we lose the debug comment here :( writer->WriteLine("public const int $0$ = $1$;", |