1 override of SetForegroundColor
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
TestConsoleIO.cs (1)
33
public override void
SetForegroundColor
(ConsoleColor consoleColor) => ((Writer)Out).CurrentColor = consoleColor;
3 references to SetForegroundColor
Microsoft.CodeAnalysis.Scripting (3)
Hosting\CommandLine\CommandLineRunner.cs (3)
346
Console.
SetForegroundColor
(ConsoleColor.Red);
391
Console.
SetForegroundColor
(diagnostic.Severity == DiagnosticSeverity.Error ? ConsoleColor.Red : ConsoleColor.Yellow);
398
Console.
SetForegroundColor
(ConsoleColor.DarkRed);