Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add C# codegen changes to enum value names (mostly C++) | Jon Skeet | 2016-04-20 | 1 | -0/+58 |
Overview of changes: - A new C#-specific command-line option, legacy_enum_values to revert to the old behavior - When legacy_enum_values isn't specified, we strip the enum name as a prefix, and PascalCase the value name - A new attribute within the C# code so that we can always tell the original in-proto name Regenerating the C# code with legacy_enum_values leads to code which still compiles and works - but there's more still to do. |