forked from google/flatbuffers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[C#] Fix nested structs and arrays in Object API (google#5765)
* [C#] Fix nested structs and arrays in Object API The adds support for nested structs and fixed size arrays in the C# Object API codegen which previously generated invalid code that wouldn't compile. - Nested structs would originally generate syntax errors due to adding an additional `.` to separate fields. - Fixed size arrays of nested structs would originally generate code for the first field in the top most struct, and would lead to a compiler error due to referencing undefined variables. * [C#] fix nested structs and arrays of structs. * fix nested structs + arrays * add table support * Cleanup code Co-authored-by: mugisoba <[email protected]>
- Loading branch information
1 parent
408f11f
commit fb96fad
Showing
2 changed files
with
96 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters