Code generation library for C#