add csharp_mini generator. do some modifications