added Flush() into CSharpFormatter.Format()