Ejemplo n.º 1
0
        private static int MainCore(string[] args)
        {
#if NET46
            return(DesktopBuildClient.Run(args, RequestLanguage.CSharpCompile, Csc.Run, new DesktopAnalyzerAssemblyLoader()));
#else
            return(CoreClrBuildClient.Run(args, RequestLanguage.CSharpCompile, Csc.Run, new CoreClrAnalyzerAssemblyLoader()));
#endif
        }
Ejemplo n.º 2
0
        public static int MainInternal(string[] args)
        {
#if DESKTOP
            return(DesktopBuildClient.Run(args, Array.Empty <string>(), RequestLanguage.CSharpCompile, new CompileFunc(Csc.Run), new DesktopAnalyzerAssemblyLoader()));
#else
            return(CoreClrBuildClient.Run(args, RequestLanguage.CSharpCompile, new CompileFunc(Csc.Run)));
#endif
        }
Ejemplo n.º 3
0
        private static int MainCore(string[] args)
        {
#if NET472
            var loader = new DesktopAnalyzerAssemblyLoader();
#else
            var loader = new CoreClrAnalyzerAssemblyLoader();
#endif
            return(DesktopBuildClient.Run(args, RequestLanguage.StarkCompile, Skc.Run, loader));
        }
Ejemplo n.º 4
0
        private static int MainCore(string[] args)
        {
#if BOOTSTRAP
            ExitingTraceListener.Install();
#endif

#if NET472
            var loader = new DesktopAnalyzerAssemblyLoader();
#else
            var loader = new CoreClrAnalyzerAssemblyLoader();
#endif
            return(DesktopBuildClient.Run(args, RequestLanguage.VisualBasicCompile, Vbc.Run, loader));
        }
Ejemplo n.º 5
0
 private static int MainCore(string[] args)
 => DesktopBuildClient.Run(args, RequestLanguage.VisualBasicCompile, Vbc.Run, new DesktopAnalyzerAssemblyLoader());
Ejemplo n.º 6
0
 public static int Main(string[] args, string[] extraArgs)
 => DesktopBuildClient.Run(args, extraArgs, RequestLanguage.VisualBasicCompile, Vbc.Run, new SimpleAnalyzerAssemblyLoader());
Ejemplo n.º 7
0
 public static int Main(string[] args, string[] extraArgs)
 => DesktopBuildClient.Run(args, extraArgs, RequestLanguage.CSharpCompile, Csc.Run, new DesktopAnalyzerAssemblyLoader());