forked from BigfootDev/flatbuffers
Generate FlagsAttribute for Csharp (#5370)
For schema enums with the bit_flags attribute, generate the corresponding System.FlagsAttribute in generated Csharp code.
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
43dbac5d25
commit
93f74c0363
@@ -5,6 +5,7 @@
|
||||
namespace MyGame.Example
|
||||
{
|
||||
|
||||
[System.FlagsAttribute]
|
||||
public enum Color : byte
|
||||
{
|
||||
Red = 1,
|
||||
|
||||
Reference in New Issue
Block a user