• Jon Skeet's avatar
    Add C# codegen changes to enum value names (mostly C++) · 75626ed7
    Jon Skeet authored
    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.
    75626ed7
Google.Protobuf.csproj 8.84 KB