Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | There might be duplicated enum values when allow_alias is true. Add ↵ | Jie Luo | 2017-02-28 | 1 | -1/+8 |
| | | | | PreferredAlias into OriginalNameAttribute to remove the duplication (#2727) | ||||
* | 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. |