mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-08 14:15:17 +00:00
[C#] Use @ for keyword escaping (#6834)
This commit is contained in:
17
tests/KeywordTest/ABC.cs
Normal file
17
tests/KeywordTest/ABC.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
// <auto-generated>
|
||||
// automatically generated by the FlatBuffers compiler, do not modify
|
||||
// </auto-generated>
|
||||
|
||||
namespace KeywordTest
|
||||
{
|
||||
|
||||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
|
||||
public enum ABC : int
|
||||
{
|
||||
@void = 0,
|
||||
where = 1,
|
||||
@stackalloc = 2,
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user