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