Fix C# generation
Merge pull request #73 from tetsurom/csgen

Fix C# generation