1 write to Compiler
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
42Compiler = compiler;
25 references to Compiler
Microsoft.CodeAnalysis.Scripting (25)
Hosting\CommandLine\CommandLineRunner.cs (25)
58if (Compiler.Arguments.ErrorLogOptions?.Path != null) 60errorLogger = Compiler.GetErrorLogger(Console.Error); 78Debug.Assert(Compiler.Arguments.IsScriptRunner); 80var sourceFiles = Compiler.Arguments.SourceFiles; 82if (Compiler.Arguments.DisplayVersion) 84Compiler.PrintVersion(Console.Out); 88if (Compiler.Arguments.DisplayLangVersions) 90Compiler.PrintLangVersions(Console.Out); 94if (sourceFiles.IsEmpty && Compiler.Arguments.DisplayLogo) 96Compiler.PrintLogo(Console.Out); 98if (!Compiler.Arguments.DisplayHelp) 104if (Compiler.Arguments.DisplayHelp) 106Compiler.PrintHelp(Console.Out); 118diagnosticsInfos.Add(new DiagnosticInfo(Compiler.MessageProvider, Compiler.MessageProvider.ERR_ExpectedSingleScript)); 122code = Compiler.TryReadFileContent(sourceFiles[0], diagnosticsInfos); 127var emitDebugInformation = !Compiler.Arguments.InteractiveMode; 130var scriptOptions = GetScriptOptions(Compiler.Arguments, scriptPathOpt, Compiler.MessageProvider, diagnosticsInfos, emitDebugInformation); 132var errors = Compiler.Arguments.Errors.Concat(diagnosticsInfos.Select(Diagnostic.Create)); 133if (Compiler.ReportDiagnostics(errors, Console.Error, errorLogger, compilation: null)) 141if (Compiler.Arguments.InteractiveMode) 205globals.Args.AddRange(Compiler.Arguments.ScriptArguments); 214Compiler.ReportDiagnostics(e.Diagnostics, Console.Error, errorLogger, compilation: null); 227globals.Args.AddRange(Compiler.Arguments.ScriptArguments);