1 write to Console
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
41Console = console;
24 references to Console
Microsoft.CodeAnalysis.Scripting (24)
Hosting\CommandLine\CommandLineRunner.cs (24)
60errorLogger = Compiler.GetErrorLogger(Console.Error); 84Compiler.PrintVersion(Console.Out); 90Compiler.PrintLangVersions(Console.Out); 96Compiler.PrintLogo(Console.Out); 100Console.Out.WriteLine(ScriptingResources.HelpPrompt); 106Compiler.PrintHelp(Console.Out); 133if (Compiler.ReportDiagnostics(errors, Console.Error, errorLogger, compilation: null)) 204var globals = new CommandLineScriptGlobals(Console.Out, _objectFormatter); 214Compiler.ReportDiagnostics(e.Diagnostics, Console.Error, errorLogger, compilation: null); 226var globals = new InteractiveScriptGlobals(Console.Out, _objectFormatter); 239Console.Out.Write("> "); 246line = Console.In.ReadLine(); 266Console.Out.Write(". "); 348Console.SetForegroundColor(ConsoleColor.Red); 352Console.Error.WriteLine(e.InnerException.Message); 356Console.Error.Write(_objectFormatter.FormatException(e)); 361Console.ResetColor(); 374Console.Out.Write(ScriptingResources.HelpText); 375Console.Out.WriteLine(); 393Console.SetForegroundColor(diagnostic.Severity == DiagnosticSeverity.Error ? ConsoleColor.Red : ConsoleColor.Yellow); 394Console.Error.WriteLine(diagnostic.ToString()); 400Console.SetForegroundColor(ConsoleColor.DarkRed); 401Console.Error.WriteLine(string.Format(ScriptingResources.PlusAdditionalError, notShown)); 406Console.ResetColor();