Commit 579bb3de authored by csharptest's avatar csharptest Committed by rogerk

Fix for leaving Builder a public ctor on internal classes

parent ff628f60
...@@ -559,7 +559,7 @@ namespace Google.ProtocolBuffers.ProtoGen ...@@ -559,7 +559,7 @@ namespace Google.ProtocolBuffers.ProtoGen
private void GenerateCommonBuilderMethods(TextGenerator writer) private void GenerateCommonBuilderMethods(TextGenerator writer)
{ {
writer.WriteLine("{0} Builder() {{}}", ClassAccessLevel); writer.WriteLine("public Builder() {{}}", ClassAccessLevel);
writer.WriteLine(); writer.WriteLine();
writer.WriteLine("{0} result = new {0}();", ClassName); writer.WriteLine("{0} result = new {0}();", ClassName);
writer.WriteLine(); writer.WriteLine();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment