corrected FSCodeGen.cs