Added support for C# partial class generation when the csharp_partial attribute is used on a table/struct.

This commit is contained in:
Oli Wilkinson
2016-01-21 15:30:13 +00:00
parent 491e970943
commit dbf6702371
4 changed files with 12 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ union Any { Monster, TestSimpleTableWithEnum } // TODO: add more elements
struct Test { a:short; b:byte; }
table TestSimpleTableWithEnum {
table TestSimpleTableWithEnum (csharp_partial) {
color: Color = Green;
}