mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Some generic C++ and Rust code is not generated when unions use type aliases because of potential ambiguity. Actually check for this ambiguity and only disable offending code only if it is found.
18 lines
227 B
C#
18 lines
227 B
C#
// <auto-generated>
|
|
// automatically generated by the FlatBuffers compiler, do not modify
|
|
// </auto-generated>
|
|
|
|
namespace MyGame.Example
|
|
{
|
|
|
|
public enum AnyAmbiguousAliases : byte
|
|
{
|
|
NONE = 0,
|
|
M1 = 1,
|
|
M2 = 2,
|
|
M3 = 3,
|
|
};
|
|
|
|
|
|
}
|