|
|
|
@ -45,8 +45,7 @@ struct Options { |
|
|
|
|
file_extension(".cs"), |
|
|
|
|
base_namespace(""), |
|
|
|
|
base_namespace_specified(false), |
|
|
|
|
internal_access(false), |
|
|
|
|
legacy_enum_values(false) { |
|
|
|
|
internal_access(false) { |
|
|
|
|
} |
|
|
|
|
// Extension of the generated file. Defaults to ".cs"
|
|
|
|
|
string file_extension; |
|
|
|
@ -69,12 +68,6 @@ struct Options { |
|
|
|
|
// Whether the generated classes should have accessibility level of "internal".
|
|
|
|
|
// Defaults to false that generates "public" classes.
|
|
|
|
|
bool internal_access; |
|
|
|
|
// By default, C# codegen now uses PascalCased enum values names, after
|
|
|
|
|
// removing the enum type name as a prefix (if it *is* a prefix of the value).
|
|
|
|
|
// Setting this option reverts to the previous behavior of just copying the
|
|
|
|
|
// value name specified in the .proto file, allowing gradual migration.
|
|
|
|
|
// This option will be removed before final release.
|
|
|
|
|
bool legacy_enum_values; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
} // namespace csharp
|
|
|
|
|