1 write to Console
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
39Console = console;
24 references to Console
Microsoft.CodeAnalysis.Scripting (24)
Hosting\CommandLine\CommandLineRunner.cs (24)
58errorLogger = Compiler.GetErrorLogger(Console.Error); 82Compiler.PrintVersion(Console.Out); 88Compiler.PrintLangVersions(Console.Out); 94Compiler.PrintLogo(Console.Out); 98Console.Out.WriteLine(ScriptingResources.HelpPrompt); 104Compiler.PrintHelp(Console.Out); 131if (Compiler.ReportDiagnostics(errors, Console.Error, errorLogger, compilation: null)) 202var globals = new CommandLineScriptGlobals(Console.Out, _objectFormatter); 212Compiler.ReportDiagnostics(e.Diagnostics, Console.Error, errorLogger, compilation: null); 224var globals = new InteractiveScriptGlobals(Console.Out, _objectFormatter); 237Console.Out.Write("> "); 244line = Console.In.ReadLine(); 264Console.Out.Write(". "); 346Console.SetForegroundColor(ConsoleColor.Red); 350Console.Error.WriteLine(e.InnerException.Message); 354Console.Error.Write(_objectFormatter.FormatException(e)); 359Console.ResetColor(); 372Console.Out.Write(ScriptingResources.HelpText); 373Console.Out.WriteLine(); 391Console.SetForegroundColor(diagnostic.Severity == DiagnosticSeverity.Error ? ConsoleColor.Red : ConsoleColor.Yellow); 392Console.Error.WriteLine(diagnostic.ToString()); 398Console.SetForegroundColor(ConsoleColor.DarkRed); 399Console.Error.WriteLine(string.Format(ScriptingResources.PlusAdditionalError, notShown)); 404Console.ResetColor();