Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Convert Enum values to be compliant to .NET naming standards #51

Open
GoogleCodeExporter opened this issue Apr 7, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

The naming guidelines for Google Protobuf enums is to use the C++/Java standard 
of all capitals:

enum MyEnum {
    OPTION_ONE =1;
    OPTION_TWO =2;
}

In .NET the naming standards are to use Pascal case (upper camel): 
http://msdn.microsoft.com/en-us/library/4x252001(VS.71).aspx

Please include a ProtoGen setting that will convert enumerated values to the 
.NET standard.  Expected output would be:

enum MyEnum {
    OptionOne,
    OptionTwo
}

Original issue reported on code.google.com by [email protected] on 4 Jan 2013 at 6:40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant