private static void CheckEnum(CodeGenEnum enumInfo, CheckingIndex index)
        {
            foreach (var item in enumInfo.Items)
            {
                if (Keywords.Contains(item.Name))
                {
                    index.Errors.Add($"Enum item `{enumInfo.Name}.{item.Name}` has the same name with a C# keyword");
                }
            }

            index.Enums.Add(enumInfo.Name);
        }
 protected override void WriteEnum(CodeGenEnum enumType, in BlockWriter nsBlock)