C# code generate sample. Using Microsoft.CodeAnalysis.CSharp and T4 runtime text template.