flatbuffers
flatbuffers copied to clipboard
Invalid Code generation if Property has same name as Struct [Windows/C#/24.3.7]
The C# Code generation generates invalide Code property in Struct has same name as struct.
a.fbs
struct A {
a: [ubyte:4];
}
b.fbs
include "./a.fbs";
struct B {
test: A;
}
I compiled this two files with flatc.exe -o test --csharp --gen-object-api <filename>
The C# Compiler can compile A.cs but not B.cs