mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 08:52:18 +00:00
Refactored the Java and C# code generators into one.
Also made the C# implementation support unsigned types, and made it more like the Java version. Bug: 17359988 Change-Id: If5305c08cd5c97f35426639516ce05e53bbec36c Tested: on Linux and Windows.
This commit is contained in:
@@ -3,13 +3,11 @@
|
||||
namespace MyGame.Example
|
||||
{
|
||||
|
||||
using FlatBuffers;
|
||||
|
||||
public class Color
|
||||
{
|
||||
public static byte Red = 1;
|
||||
public static byte Green = 2;
|
||||
public static byte Blue = 8;
|
||||
public static sbyte Red = 1;
|
||||
public static sbyte Green = 2;
|
||||
public static sbyte Blue = 8;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user