mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 20:15:34 +00:00
* wrap quotes to enum name map to prevent syntax errorn when enum value is negative * Add a test that covers signed enum case
18 lines
225 B
C#
18 lines
225 B
C#
// <auto-generated>
|
|
// automatically generated by the FlatBuffers compiler, do not modify
|
|
// </auto-generated>
|
|
|
|
namespace MyGame.Example
|
|
{
|
|
|
|
public enum Race : sbyte
|
|
{
|
|
None = -1,
|
|
Human = 0,
|
|
Dwarf = 1,
|
|
Elf = 2,
|
|
};
|
|
|
|
|
|
}
|