diff options
author | csharptest <roger@csharptest.net> | 2011-06-17 16:50:38 -0500 |
---|---|---|
committer | rogerk <devnull@localhost> | 2011-06-17 16:50:38 -0500 |
commit | 579bb3defe8ab062abfc9f812cdea529d0929d69 (patch) | |
tree | e1c69618701849a251480cb1d9fb099ea5ba370d /src | |
parent | ff628f600a91c8e5ff65711a26d8d7860651b1a9 (diff) | |
download | protobuf-579bb3defe8ab062abfc9f812cdea529d0929d69.tar.gz protobuf-579bb3defe8ab062abfc9f812cdea529d0929d69.tar.bz2 protobuf-579bb3defe8ab062abfc9f812cdea529d0929d69.zip |
Fix for leaving Builder a public ctor on internal classes
Diffstat (limited to 'src')
-rw-r--r-- | src/ProtoGen/MessageGenerator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProtoGen/MessageGenerator.cs b/src/ProtoGen/MessageGenerator.cs index fe30e49a..f5a68bdd 100644 --- a/src/ProtoGen/MessageGenerator.cs +++ b/src/ProtoGen/MessageGenerator.cs @@ -559,7 +559,7 @@ namespace Google.ProtocolBuffers.ProtoGen private void GenerateCommonBuilderMethods(TextGenerator writer)
{
- writer.WriteLine("{0} Builder() {{}}", ClassAccessLevel);
+ writer.WriteLine("public Builder() {{}}", ClassAccessLevel);
writer.WriteLine();
writer.WriteLine("{0} result = new {0}();", ClassName);
writer.WriteLine();
|