ncupper / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

Service stub methods generated by protogen not declared as public #350

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please include an e-mail address if this might need a dialogue!
==============

What steps will reproduce the problem?
1. apply protogen tool do a .proto file with a service definition (eg. 
init.proto)

What is the expected output? What do you see instead?
inspect generated code, stub methods of client class (initClient that derives 
from ProtoBuf.ServiceModel.RpcClient) are not declared as public.

What version of the product are you using? On what operating system?
protobuf-net r621, Windows 2008 R2

Please provide any additional information below.

Original issue reported on code.google.com by luis.ras...@gmail.com on 18 Jan 2013 at 10:55

Attachments:

GoogleCodeExporter commented 9 years ago
worked around this by adding public directive to csharp.xslt (xsl:template 
match="MethodDescriptorProto") attached

Original comment by luis.ras...@gmail.com on 18 Jan 2013 at 10:57

Attachments: