diff options
author | Jon Skeet <skeet@pobox.com> | 2015-08-14 22:12:02 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2015-08-14 22:12:02 +0100 |
commit | 0cb84ee31fc2ac6e6f07c76a5dc20a20272d7516 (patch) | |
tree | d68ee926129717708960135431c42d8a6f76d9a7 /src | |
parent | 5c370cc55f4c9b3ec8b35af1ee0e7bd9ed08befc (diff) | |
parent | fa2fe35decc21ff375793138034d775d4ba30305 (diff) | |
download | protobuf-0cb84ee31fc2ac6e6f07c76a5dc20a20272d7516.tar.gz protobuf-0cb84ee31fc2ac6e6f07c76a5dc20a20272d7516.tar.bz2 protobuf-0cb84ee31fc2ac6e6f07c76a5dc20a20272d7516.zip |
Merge pull request #720 from jtattermusch/csharp_fixes
C# fix for TypeInitializer exception.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/compiler/csharp/csharp_field_base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_field_base.cc b/src/google/protobuf/compiler/csharp/csharp_field_base.cc index cd29bcf9..5df43d3f 100644 --- a/src/google/protobuf/compiler/csharp/csharp_field_base.cc +++ b/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; |