aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/Reflection/OriginalNameAttribute.cs
Commit message (Collapse)AuthorAgeFilesLines
* There might be duplicated enum values when allow_alias is true. Add ↵Jie Luo2017-02-281-1/+8
| | | | PreferredAlias into OriginalNameAttribute to remove the duplication (#2727)
* Add C# codegen changes to enum value names (mostly C++)Jon Skeet2016-04-201-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.