Example #1
0
 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());
     }
 }
Example #2
0
        public static CodeFile Build(Stream stream, bool runAnalysis)
        {
            var assemblySymbol = CompilationFactory.GetCompilation(stream);

            return(new CodeFileBuilder().Build(assemblySymbol, runAnalysis));
        }