mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-18 15:18:56 +00:00
[C#] Optional Scalars (#6217)
* [C#] Optional Scalars * Moved scalar optional check to avoid null enum conversion
This commit is contained in:
16
tests/optional_scalars/OptionalByte.cs
Normal file
16
tests/optional_scalars/OptionalByte.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
// <auto-generated>
|
||||
// automatically generated by the FlatBuffers compiler, do not modify
|
||||
// </auto-generated>
|
||||
|
||||
namespace optional_scalars
|
||||
{
|
||||
|
||||
public enum OptionalByte : sbyte
|
||||
{
|
||||
None = 0,
|
||||
One = 1,
|
||||
Two = 2,
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user