소스 검색

fix type initialization problem with FileDescriptor

Jan Tattermusch 10 년 전
부모
커밋
fa2fe35dec
2개의 변경된 파일165개의 추가작업 그리고 138개의 파일을 삭제
  1. 164 137
      csharp/src/Google.Protobuf/Reflection/DescriptorProtoFile.cs
  2. 1 1
      src/google/protobuf/compiler/csharp/csharp_field_base.cc

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 164 - 137
csharp/src/Google.Protobuf/Reflection/DescriptorProtoFile.cs


+ 1 - 1
src/google/protobuf/compiler/csharp/csharp_field_base.cc

@@ -67,7 +67,7 @@ void FieldGeneratorBase::SetCommonFieldVariables(
     tag_bytes += ", " + SimpleItoa(tag_array[i]);
   }
 
-  (*variables)["access_level"] = class_access_level();
+  (*variables)["access_level"] = "public";
   (*variables)["tag"] = SimpleItoa(tag);
   (*variables)["tag_size"] = SimpleItoa(tag_size);
   (*variables)["tag_bytes"] = tag_bytes;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.