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