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

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