 Extract enum items generation into its own method.
 Extract enum items generation into its own method.

mono/CppSharp,ddobrev/CppSharp,ktopouzi/CppSharp,inordertotest/CppSharp,mono/CppSharp,mono/CppSharp,mohtamohit/CppSharp,u255436/CppSharp,ddobrev/CppSharp,mohtamohit/CppSharp,ddobrev/CppSharp,mono/CppSharp,inordertotest/CppSharp,u255436/CppSharp,zillemarco/CppSharp,mohtamohit/CppSharp,u255436/CppSharp,ktopouzi/CppSharp,u255436/CppSharp,mohtamohit/CppSharp,u255436/CppSharp,ddobrev/CppSharp,ktopouzi/CppSharp,zillemarco/CppSharp,inordertotest/CppSharp,mono/CppSharp,zillemarco/CppSharp,zillemarco/CppSharp,ktopouzi/CppSharp,inordertotest/CppSharp,inordertotest/CppSharp,mohtamohit/CppSharp,zillemarco/CppSharp,ddobrev/CppSharp,mono/CppSharp,ktopouzi/CppSharp