flatbuffers/tests/MyGame/Example
Mormegil 25c99273d3 [Issue 252] Add type cast for default enum values in C#
When creating a “CreateXxx(...)” method for a “simple table” type,
enum-type fields with a non-zero default must have an explicit
cast for the respective argument default value, because in C#,
there is an implicit cast from int to an enum only for 0.

Also, added an example of such type into the example monster_test
type, so that we test this feature.
2015-08-11 18:07:38 +02:00
..
Any.cs [Issue 252] Add type cast for default enum values in C# 2015-08-11 18:07:38 +02:00
Any.go [Issue 252] Add type cast for default enum values in C# 2015-08-11 18:07:38 +02:00
Any.java [Issue 252] Add type cast for default enum values in C# 2015-08-11 18:07:38 +02:00
Any.py Port FlatBuffers to Python. 2015-05-12 15:40:29 -07:00
Color.cs Enums use native enums in C# 2015-04-13 10:40:30 -07:00
Color.go Added a `bit_flags` attribute to enum declarations that 1<<N every value. 2014-07-21 16:40:39 -07:00
Color.java Seal all classes in Java/C# 2015-04-10 11:20:19 -07:00
Color.py Port FlatBuffers to Python. 2015-05-12 15:40:29 -07:00
Monster.cs Base type safety in C#. Clear FlatBufferBuilder in C#. 2015-07-29 00:33:45 +03:00
Monster.go Seal all classes in Java/C# 2015-04-10 11:20:19 -07:00
Monster.java Seal all classes in Java/C# 2015-04-10 11:20:19 -07:00
Monster.py Port FlatBuffers to Python. 2015-05-12 15:40:29 -07:00
Stat.cs Base type safety in C#. Clear FlatBufferBuilder in C#. 2015-07-29 00:33:45 +03:00
Stat.go Remove all string allocations during parsing. 2015-04-02 11:56:55 -07:00
Stat.java Seal all classes in Java/C# 2015-04-10 11:20:19 -07:00
Stat.py Port FlatBuffers to Python. 2015-05-12 15:40:29 -07:00
Test.cs Base type safety in C#. Clear FlatBufferBuilder in C#. 2015-07-29 00:33:45 +03:00
Test.go Port FlatBuffers to Go. 2014-07-21 16:40:39 -07:00
Test.java Seal all classes in Java/C# 2015-04-10 11:20:19 -07:00
Test.py Port FlatBuffers to Python. 2015-05-12 15:40:29 -07:00
TestSimpleTableWithEnum.cs [Issue 252] Add type cast for default enum values in C# 2015-08-11 18:07:38 +02:00
TestSimpleTableWithEnum.go [Issue 252] Add type cast for default enum values in C# 2015-08-11 18:07:38 +02:00
TestSimpleTableWithEnum.java [Issue 252] Add type cast for default enum values in C# 2015-08-11 18:07:38 +02:00
Vec3.cs Base type safety in C#. Clear FlatBufferBuilder in C#. 2015-07-29 00:33:45 +03:00
Vec3.go applied struct parameter fix to Go and Python generated classes 2015-07-13 22:53:59 +03:00
Vec3.java builder.put statements now use correct argument names 2015-07-13 20:00:48 +03:00
Vec3.py applied struct parameter fix to Go and Python generated classes 2015-07-13 22:53:59 +03:00
__init__.py Port FlatBuffers to Python. 2015-05-12 15:40:29 -07:00