mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
* Handle keywords in C# C# should handle keywords similarly to other languages by appending an underscore after the keyword. * Fix clang-format for idl_gen_csharp.cpp * Fix spacing clang-format issue
15 lines
202 B
Plaintext
15 lines
202 B
Plaintext
|
|
enum ABC: int { void, where, stackalloc }
|
|
|
|
enum public: int { }
|
|
|
|
table KeywordsInTable {
|
|
is: ABC = void;
|
|
private: public;
|
|
}
|
|
|
|
union KeywordsInUnion {
|
|
static: KeywordsInTable,
|
|
internal: string
|
|
}
|