Files
flatbuffers-bigfoot/tests/MyGame/Example/Any.cs
Mormegil e3b432cba8 Enums use native enums in C#
Enums should not be (badly) emulated with classes in C# but should
use native C# enums instead. Java implementation made an explicit
choice not to use the (more complex) Java enums, but C# enums are
just light-weight syntactic coating over integral types.

Fixes issue #171.

Change-Id: I9f4d6ba5324400a1e52982e49b58603cb7d7cca7
2015-04-13 10:40:30 -07:00

14 lines
128 B
C#

// automatically generated, do not modify
namespace MyGame.Example
{
public enum Any : byte
{
NONE = 0,
Monster = 1,
};
}