51 writes to ForegroundColor
dotnet (1)
Commands\Test\MTP\Terminal\SystemConsole.cs (1)
96=> Console.ForegroundColor = color;
dotnet-dev-certs (3)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (2)
41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
35set => Console.ForegroundColor = value;
dotnet-format (1)
Logging\SimpleConsoleLogger.cs (1)
67Console.ForegroundColor = LogLevelColorMap[logLevel];
dotnet-svcutil-lib (4)
ToolConsole.cs (4)
141Console.ForegroundColor = ConsoleColor.Yellow; 143Console.ForegroundColor = originalColor; 147Console.ForegroundColor = ConsoleColor.Red; 149Console.ForegroundColor = originalColor;
dotnet-user-jwts (3)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (2)
41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
35set => Console.ForegroundColor = value;
dotnet-user-secrets (3)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (2)
41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
35set => Console.ForegroundColor = value;
ilasm (1)
IlasmRootCommand.cs (1)
177Console.ForegroundColor = ConsoleColor.Red;
Microsoft.Build (1)
Logging\BaseConsoleLogger.cs (1)
308Console.ForegroundColor = TransformColor(c, ConsoleConfiguration.BackgroundColor);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\ConsoleIO.cs (1)
31public virtual void SetForegroundColor(ConsoleColor consoleColor) => Console.ForegroundColor = consoleColor;
Microsoft.DotNet.Cli.Utils (2)
AnsiConsole.cs (2)
46Console.ForegroundColor = 143Console.ForegroundColor = OriginalForegroundColor;
Microsoft.DotNet.HotReload.Watch (1)
UI\PhysicalConsole.cs (1)
132set => Console.ForegroundColor = value;
Microsoft.DotNet.VersionTools.Cli (2)
ConsoleLogger.cs (2)
18Console.ForegroundColor = ConsoleColor.Red; 20Console.ForegroundColor = fgColor;
Microsoft.Extensions.DotNetDeltaApplier (1)
src\sdk\src\Dotnet.Watch\HotReloadAgent.Host\StartupHook.cs (1)
169Console.ForegroundColor = ConsoleColor.DarkGray;
Microsoft.Extensions.Logging.Console (1)
AnsiParsingLogConsole.cs (1)
50System.Console.ForegroundColor = foreground.Value;
Microsoft.ML.Core (1)
Environment\ConsoleEnvironment.cs (1)
87Console.ForegroundColor = messageColor;
Microsoft.TestPlatform.CoreUtilities (2)
Output\OutputExtensions.cs (2)
131Console.ForegroundColor = foregroundColor; 136Console.ForegroundColor = previousForegroundColor;
NuGet.CommandLine.XPlat (11)
Commands\DeleteCommand.cs (2)
103Console.ForegroundColor = ConsoleColor.Yellow; 110Console.ForegroundColor = currentColor;
ListPackage\ListPackageConsoleRenderer.cs (2)
148Console.ForegroundColor = ConsoleColor.Blue; 171Console.ForegroundColor = ConsoleColor.Blue;
src\nuget-client\artifacts\.packages\microsoft.extensions.commandlineutils.sources\3.0.0-preview6.19253.5\contentFiles\cs\netstandard1.0\shared\CommandLine\AnsiConsole.cs (2)
41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
Utility\CommandOutputLogger.cs (4)
147Console.ForegroundColor = color; 149Console.ForegroundColor = currentColor; 155Console.ForegroundColor = color; 157Console.ForegroundColor = currentColor;
Utility\ProjectPackagesPrintUtility.cs (1)
163Console.ForegroundColor = formattedCell.ForegroundColor.Value;
rzc (2)
CommandLine\AnsiConsole.cs (2)
38Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 49Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
SuperFileCheck (9)
Program.cs (9)
497Console.ForegroundColor = ConsoleColor.Red; 507Console.ForegroundColor = ConsoleColor.Red; 517Console.ForegroundColor = ConsoleColor.Red; 528Console.ForegroundColor = ConsoleColor.Red; 542Console.ForegroundColor = ConsoleColor.Red; 665Console.ForegroundColor = ConsoleColor.Red; 741Console.ForegroundColor = ConsoleColor.Red; 756Console.ForegroundColor = ConsoleColor.Red; 772Console.ForegroundColor = ConsoleColor.Red;
System.CommandLine (1)
ConsoleHelpers.cs (1)
27Console.ForegroundColor = ConsoleColor.Red;
30 references to ForegroundColor
dotnet (1)
Commands\Test\MTP\Terminal\SystemConsole.cs (1)
102=> Console.ForegroundColor;
dotnet-dev-certs (4)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (3)
18OriginalForegroundColor = Console.ForegroundColor; 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
34get => Console.ForegroundColor;
dotnet-svcutil-lib (1)
ToolConsole.cs (1)
138var originalColor = Console.ForegroundColor;
dotnet-user-jwts (4)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (3)
18OriginalForegroundColor = Console.ForegroundColor; 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
34get => Console.ForegroundColor;
dotnet-user-secrets (4)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (3)
18OriginalForegroundColor = Console.ForegroundColor; 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
34get => Console.ForegroundColor;
Microsoft.DotNet.Cli.Utils (2)
AnsiConsole.cs (2)
15OriginalForegroundColor = Console.ForegroundColor; 66SetColor(Console.ForegroundColor);
Microsoft.DotNet.HotReload.Watch (1)
UI\PhysicalConsole.cs (1)
131get => Console.ForegroundColor;
Microsoft.DotNet.VersionTools.Cli (1)
ConsoleLogger.cs (1)
17var fgColor = Console.ForegroundColor;
Microsoft.TestPlatform.CoreUtilities (2)
Output\OutputExtensions.cs (2)
52Information(output, appendPrefix, Console.ForegroundColor, format, args); 128var previousForegroundColor = Console.ForegroundColor;
NuGet.CommandLine.XPlat (7)
Commands\DeleteCommand.cs (1)
102currentColor = Console.ForegroundColor;
Commands\PackageSearch\Table.cs (1)
37private readonly ConsoleColor _consoleColor = Console.ForegroundColor;
src\nuget-client\artifacts\.packages\microsoft.extensions.commandlineutils.sources\3.0.0-preview6.19253.5\contentFiles\cs\netstandard1.0\shared\CommandLine\AnsiConsole.cs (3)
18OriginalForegroundColor = Console.ForegroundColor; 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
Utility\CommandOutputLogger.cs (2)
146var currentColor = Console.ForegroundColor; 154var currentColor = Console.ForegroundColor;
rzc (3)
CommandLine\AnsiConsole.cs (3)
15OriginalForegroundColor = Console.ForegroundColor; 38Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 49Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);