static void Main(string[] args) { try { var assemblySymbol = CompilationFactory.GetCompilation(args[0]); var renderer = new CodeFileRenderer(); var codeNode = new CodeFileBuilder().Build(assemblySymbol, false, null); Console.WriteLine(renderer.Render(codeNode)); } catch (Exception e) { Console.WriteLine(e.ToString()); } }
public static CodeFile Build(Stream stream, bool runAnalysis) { var assemblySymbol = CompilationFactory.GetCompilation(stream); return(new CodeFileBuilder().Build(assemblySymbol, runAnalysis)); }