mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-09 14:46:26 +00:00
[C#] Use @ for keyword escaping (#6834)
This commit is contained in:
15
tests/KeywordTest/public.cs
Normal file
15
tests/KeywordTest/public.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
// <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 @public : int
|
||||
{
|
||||
NONE = 0,
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user