const string SampleCode = @"void Foo()
Console.WriteLine(""Amazing: {0}!"", foo);
public static void Main()
var formatter = new CodeFormatter()
FormattingInfo = new CSharpFormattingInfo()
Types = new[] { "Console" }
formatter.FormatCode(SampleCode, Console.Out);