266 references to Error
aspire (8)
Commands\RenderCommand.cs (1)
402builder.AddProvider(new SpectreConsoleLoggerProvider(Console.Error, logBufferContext));
Diagnostics\StartupErrorWriter.cs (1)
43Out = new AnsiConsoleOutput(Console.Error)
Program.cs (4)
278builder.AddProvider(new SpectreConsoleLoggerProvider(Console.Error, logBufferContext)); 442BuildAnsiConsole(s, Console.Error), 1107return await InvokeCompletionAsync(args, Console.Out, Console.Error).ConfigureAwait(false); 1139Console.Error.WriteLine($"Failed to acquire Aspire bundle lease: {ex.Message}");
src\Shared\ProcessSupervisor.cs (1)
93var logger = new ProcessSupervisorLogger(Console.Error);
Utils\AspireAnsiConsoleOutput.cs (1)
103return writer == Console.Error;
aspire-managed (6)
Program.cs (3)
16Console.Error.WriteLine($"Failed to acquire Aspire bundle lease: {ex.Message}"); 35Console.Error.WriteLine($"Dashboard executable was not found at '{startInfo.FileName}'. Reinstall or rebuild the Aspire bundle."); 110Console.Error.WriteLine($"Usage: {AppDomain.CurrentDomain.FriendlyName} <dashboard|server|terminalhost> [args...]");
TerminalHostForwarder.cs (3)
47Console.Error.WriteLine($"Terminal host executable was not found at '{startInfo.FileName}'. Reinstall or rebuild the Aspire bundle."); 81Console.Error.WriteLine($"Failed to request terminal host shutdown: {ex.Message}"); 100Console.Error.WriteLine("Terminal host did not stop within the shutdown grace period.");
aspire-tray (22)
Program.cs (2)
24Console.Error.WriteLine("This tray frontend requires Windows."); 150Console.Error.WriteLine(message);
src\Aspire.Tray\Common\CliAppHostClient.cs (1)
83Console.Error.WriteLine($"CLI discovery unavailable ({failure.GetType().Name}).");
src\Aspire.Tray\Common\CliAppHostCommands.cs (1)
67Console.Error.WriteLine($"The Aspire start command could not launch ({ex.GetType().Name}).");
src\Aspire.Tray\Common\TrayActivation.cs (5)
130Console.Error.WriteLine($"Tray control request failed ({ex.GetType().Name})."); 135Console.Error.WriteLine("Rejected an unsupported tray activation request."); 165Console.Error.WriteLine("The tray activation request timed out."); 170Console.Error.WriteLine($"Tray activation connection ended ({ex.GetType().Name})."); 183Console.Error.WriteLine($"Tray activation listener failed ({ex.GetType().Name}).");
src\Aspire.Tray\Common\TrayController.cs (12)
59Console.Error.WriteLine($"Saved AppHost state could not be loaded ({ex.GetType().Name})."); 307Console.Error.WriteLine("AppHost discovery ended unexpectedly."); 318Console.Error.WriteLine($"AppHost discovery failed ({ex.GetType().Name})."); 396Console.Error.WriteLine("The tray closed while waiting for stop; the AppHost shutdown may still complete."); 401Console.Error.WriteLine($"The exact-instance stop command failed ({ex.GetType().Name})."); 407Console.Error.WriteLine($"The exact-instance stop command did not succeed ({result.Outcome}, exit {result.ExitCode})."); 438Console.Error.WriteLine("The tray closed while waiting for start; the AppHost may still start."); 447Console.Error.WriteLine($"The AppHost start command failed ({ex.GetType().Name})."); 452Console.Error.WriteLine($"The AppHost start command did not succeed ({result.Outcome}, exit {result.ExitCode})."); 497Console.Error.WriteLine("The AppHost was not observed before the start reconciliation deadline."); 531Console.Error.WriteLine($"A saved AppHost source path could not be checked ({ex.GetType().Name})."); 577Console.Error.WriteLine($"Saved AppHost state could not be written ({ex.GetType().Name}).");
WindowsTrayLog.cs (1)
19private readonly TextWriter _originalError = Console.Error;
Aspire.Cli.Tests (4)
CliSmokeTests.cs (3)
40var oldErrorOutput = Console.Error; 76var oldErrorOutput = Console.Error; 134var oldError = Console.Error;
Commands\SdkDumpCommandTests.cs (1)
321var originalError = Console.Error;
Aspire.Dashboard (7)
DashboardWebApplication.cs (6)
1122Console.Error.WriteLine($"Error: {ex.Message}"); 1132Console.Error.WriteLine($"Error: {ex.Message}"); 1133Console.Error.WriteLine(ex.ToString()); 1166Console.Error.WriteLine($"Error: {ex.Message}"); 1176Console.Error.WriteLine($"Error: {ex.Message}"); 1177Console.Error.WriteLine(ex.ToString());
Program.cs (1)
17Console.Error.WriteLine($"Failed to acquire Aspire bundle lease: {ex.Message}");
Aspire.Hosting (1)
Dcp\DcpHost.cs (1)
326OnErrorData = Console.Error.Write,
Aspire.Hosting.RemoteHost (1)
src\Shared\ProcessSupervisor.cs (1)
93var logger = new ProcessSupervisorLogger(Console.Error);
Aspire.TerminalHost (7)
Program.cs (1)
14Console.Error.WriteLine($"Failed to acquire Aspire bundle lease: {ex.Message}");
TerminalHostApp.cs (6)
152await Console.Error.WriteLineAsync($"[Aspire.TerminalHost] Replica recycle loop failed: {fault}", CancellationToken.None).ConfigureAwait(false); 160await Console.Error.WriteLineAsync("[Aspire.TerminalHost] Replica recycle loop completed unexpectedly without cancellation.", CancellationToken.None).ConfigureAwait(false); 176await Console.Error.WriteLineAsync($"[Aspire.TerminalHost] Terminal host failed: {ex}", CancellationToken.None).ConfigureAwait(false); 269await Console.Error.WriteLineAsync($"[Aspire.TerminalHost] {ex.Message}", CancellationToken.None) 289await Console.Error.WriteLineAsync( 466Console.Error.WriteLine($"[Aspire.TerminalHost.otel-diag] {eventData.EventSource.Name}/{eventData.EventName} level={eventData.Level} {payload}");
Aspire.Tray.Tests (21)
src\Aspire.Tray\Common\CliAppHostClient.cs (1)
83Console.Error.WriteLine($"CLI discovery unavailable ({failure.GetType().Name}).");
src\Aspire.Tray\Common\CliAppHostCommands.cs (1)
67Console.Error.WriteLine($"The Aspire start command could not launch ({ex.GetType().Name}).");
src\Aspire.Tray\Common\TrayActivation.cs (5)
130Console.Error.WriteLine($"Tray control request failed ({ex.GetType().Name})."); 135Console.Error.WriteLine("Rejected an unsupported tray activation request."); 165Console.Error.WriteLine("The tray activation request timed out."); 170Console.Error.WriteLine($"Tray activation connection ended ({ex.GetType().Name})."); 183Console.Error.WriteLine($"Tray activation listener failed ({ex.GetType().Name}).");
src\Aspire.Tray\Common\TrayController.cs (12)
59Console.Error.WriteLine($"Saved AppHost state could not be loaded ({ex.GetType().Name})."); 307Console.Error.WriteLine("AppHost discovery ended unexpectedly."); 318Console.Error.WriteLine($"AppHost discovery failed ({ex.GetType().Name})."); 396Console.Error.WriteLine("The tray closed while waiting for stop; the AppHost shutdown may still complete."); 401Console.Error.WriteLine($"The exact-instance stop command failed ({ex.GetType().Name})."); 407Console.Error.WriteLine($"The exact-instance stop command did not succeed ({result.Outcome}, exit {result.ExitCode})."); 438Console.Error.WriteLine("The tray closed while waiting for start; the AppHost may still start."); 447Console.Error.WriteLine($"The AppHost start command failed ({ex.GetType().Name})."); 452Console.Error.WriteLine($"The AppHost start command did not succeed ({result.Outcome}, exit {result.ExitCode})."); 497Console.Error.WriteLine("The AppHost was not observed before the start reconciliation deadline."); 531Console.Error.WriteLine($"A saved AppHost source path could not be checked ({ex.GetType().Name})."); 577Console.Error.WriteLine($"Saved AppHost state could not be written ({ex.GetType().Name}).");
src\Aspire.Tray\Mac\MacDetachedProcess.cs (1)
148Console.Error.WriteLine($"Could not reap the detached tray process: {ex.Message}");
src\Aspire.Tray\Windows\WindowsTrayLog.cs (1)
19private readonly TextWriter _originalError = Console.Error;
cdac-build-tool (7)
ComposeCommand.cs (7)
33Console.Error.WriteLine("No input files specified"); 39Console.Error.WriteLine("No output file specified"); 45Console.Error.WriteLine("No baseline path specified"); 51Console.Error.WriteLine($"Baseline path {baselinesDir} does not exist"); 57Console.Error.WriteLine("No template file specified"); 63Console.Error.WriteLine($"Template file {templateFilePath} does not exist"); 74Console.Error.WriteLine($"could not scrape payload in {input}");
CodeStyleConfigFileGenerator (1)
Program.cs (1)
33Console.Error.WriteLine($"Excepted {ExpectedArguments} arguments, found {args.Length}: {string.Join(';', args)}");
CreateLayout (2)
Program.cs (2)
111Console.Error.WriteLine($"Error: {ex.Message}"); 114Console.Error.WriteLine(ex.StackTrace);
crossgen2 (2)
Crossgen2RootCommand.cs (2)
306Console.Error.WriteLine("Error: " + e.Message); 307Console.Error.WriteLine(e.ToString());
csi (1)
Csi.cs (1)
48Console.Error.WriteLine(ex.ToString());
DnnAnalyzer (1)
DnnAnalyzer.cs (1)
18Console.Error.WriteLine("Usage: dotnet DnnAnalyzer.dll <model_location>");
dotnet-aot (3)
NativeEntryPoint.cs (3)
90Console.Error.WriteLine(string.Format(CliStrings.SdkRootDirectoryDoesNotExist, sdkDirectory, SdkPaths.DataName)); 103Console.Error.WriteLine(CliStrings.SdkDirectoryCouldNotBeDetermined); 267Console.Error.WriteLine(string.Format(CliStrings.ManagedFallbackCouldNotBeLocated, dotnetDll, runtimeConfig));
dotnet-dev-certs (3)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
32return new AnsiConsole(Console.Error, useConsoleColor);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
65public TextWriter Error { get; set; } = Console.Error;
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
26public TextWriter Error => Console.Error;
dotnet-format (1)
Logging\SimpleConsoleLogger.cs (1)
72Console.Error.WriteLine(message);
dotnet-getdocument (3)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
32return new AnsiConsole(Console.Error, useConsoleColor);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
65public TextWriter Error { get; set; } = Console.Error;
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
26public TextWriter Error => Console.Error;
dotnet-Microsoft.XmlSerializer.Generator (5)
Sgen.cs (5)
180Console.Error.WriteLine(FormatMessage(parsableErrors, true, SR.Format(SR.Warning, err))); 188Console.Error.WriteLine(FormatMessage(parsableErrors, false, SR.Format(SR.ErrMissingRequiredArgument, SR.Format(SR.ErrAssembly, "assembly")))); 257Console.Error.WriteLine(FormatMessage(parsableerrors, false, SR.Format(SR.ErrorDetails, SR.Format(SR.ErrLoadType, typeName, assemblyName)))); 375Console.Error.WriteLine(FormatMessage(parsableerrors: false, warning: false, message: SR.GenerateSerializerNotFound)); 527Console.Error.WriteLine(FormatMessage(parsableerrors, false, e.Message));
dotnet-openapi (4)
Program.cs (1)
47Console.Error.WriteLine(error);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
32return new AnsiConsole(Console.Error, useConsoleColor);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
65public TextWriter Error { get; set; } = Console.Error;
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
26public TextWriter Error => Console.Error;
dotnet-sql-cache (3)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
32return new AnsiConsole(Console.Error, useConsoleColor);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
65public TextWriter Error { get; set; } = Console.Error;
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
26public TextWriter Error => Console.Error;
dotnet-svcutil.xmlserializer (6)
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (6)
83Console.Error.Write(SR.Format(SR.Warning)); 84Console.Error.WriteLine(message); 85Console.Error.WriteLine(); 90Console.Error.Write(prefix); 91Console.Error.WriteLine(errMsg); 92Console.Error.WriteLine();
dotnet-user-jwts (3)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
32return new AnsiConsole(Console.Error, useConsoleColor);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
65public TextWriter Error { get; set; } = Console.Error;
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
26public TextWriter Error => Console.Error;
dotnet-user-secrets (3)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
32return new AnsiConsole(Console.Error, useConsoleColor);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
65public TextWriter Error { get; set; } = Console.Error;
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
26public TextWriter Error => Console.Error;
dotnet-watch (2)
Program.cs (2)
67Console.Error.WriteLine("Unexpected error:"); 68Console.Error.WriteLine(ex.ToString());
GenerateDocumentationAndConfigFiles (16)
Program.cs (16)
277await Console.Error.WriteLineAsync($"'{path}' does not exist".AsMemory(), cancellationToken).ConfigureAwait(false); 384await Console.Error.WriteLineAsync("One or more auto-generated documentation files were either edited manually, or not updated. Please revert changes made to the following files (if manually edited) and run `dotnet msbuild /t:pack` at the root of the repo to automatically update them:".AsMemory(), cancellationToken).ConfigureAwait(false); 385fileNamesWithValidationFailures.ForEach(fileName => Console.Error.WriteLine($" {fileName}")); 821await Console.Error.WriteLineAsync($"Missing entry in {fileWithPath}".AsMemory(), cancellationToken).ConfigureAwait(false); 822await Console.Error.WriteLineAsync(line.AsMemory(), cancellationToken).ConfigureAwait(false); 877await Console.Error.WriteLineAsync($"'{assemblyPath}' does not exist".AsMemory(), cancellationToken).ConfigureAwait(false); 889await Console.Error.WriteLineAsync(ex.Message.AsMemory(), cancellationToken).ConfigureAwait(false); 915await Console.Error.WriteLineAsync($"Expected both '{shippedFile}' and '{unshippedFile}' to exist or not exist, but '{existingFile}' exists and '{nonExistingFile}' does not exist.".AsMemory(), cancellationToken).ConfigureAwait(false); 925await Console.Error.WriteLineAsync($"'{shippedFile}' exists but was not expected".AsMemory(), cancellationToken).ConfigureAwait(false); 954await Console.Error.WriteLineAsync(ex.Message.AsMemory(), cancellationToken).ConfigureAwait(false); 962await Console.Error.WriteLineAsync($"Could not find any 'AnalyzerReleases.Shipped.md' file".AsMemory(), cancellationToken).ConfigureAwait(false); 1368Console.Error.WriteLine($"'{fileWithPath}' does not match the expected contents."); 1369Console.Error.WriteLine("Expected contents:"); 1370Console.Error.WriteLine(fileContents); 1371Console.Error.WriteLine("Actual contents:"); 1372Console.Error.WriteLine(actual);
GenerateTemplateManifest (1)
Program.cs (1)
192Console.Error.Write(stderr.GetAwaiter().GetResult());
GetDocument.Insider (3)
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (1)
32return new AnsiConsole(Console.Error, useConsoleColor);
src\aspnetcore\src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
65public TextWriter Error { get; set; } = Console.Error;
src\aspnetcore\src\Tools\Shared\CommandLine\PhysicalConsole.cs (1)
26public TextWriter Error => Console.Error;
ilasm (8)
Program.cs (8)
44Console.Error.WriteLine("Error: No input file specified"); 53Console.Error.WriteLine($"Error: Input file not found: {file}"); 229Console.Error.WriteLine($"Error: {diagnostic.Location}: {diagnostic.Message}"); 240Console.Error.WriteLine("***** FAILURE *****"); 246Console.Error.WriteLine("***** FAILURE *****"); 270Console.Error.WriteLine($"Error: {ex.Message}"); 297Console.Error.WriteLine($"Error: {e.Message}"); 316Console.Error.WriteLine("Error: " + e.Message);
ILAssembler (2)
gen\CILLexer.cs (1)
142 : this(input, Console.Out, Console.Error) { }
gen\CILParser.cs (1)
299 public CILParser(ITokenStream input) : this(input, Console.Out, Console.Error) { }
ilc (2)
ILCompilerRootCommand.cs (2)
332Console.Error.WriteLine("Error: " + e.Message); 333Console.Error.WriteLine(e.ToString());
ILCompiler.ReadyToRun (6)
parent\ILCompiler.Reflection.ReadyToRun\PEReaderExtensions.cs (6)
101Console.Error.WriteLine($"Found a zero RVA when reading name pointers for entry #{entryIndex}/{namePointerCount}"); 113Console.Error.WriteLine($"HasExportTable: {HasExportTable}"); 114Console.Error.WriteLine($"ExportTableHeaderLength: {ExportTableHeaderLength}"); 115Console.Error.WriteLine($"_namedExportRva: {_namedExportRva.Count} item(s)"); 119Console.Error.WriteLine($" '{kvp.Key}': {kvp.Value}"); 122Console.Error.WriteLine(" ... stopped dumping named exports because there are too many.");
illink (3)
Infrastructure.Tests (1)
TestTriggerMap\SelectTestsCliTests.cs (1)
134var previousError = Console.Error;
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\DefaultWebAssemblyJSRuntime.cs (1)
107Console.Error.WriteLine($"Error deserializing root component operations: {ex}");
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (1)
src\aspnetcore\src\Shared\BenchmarkRunner\Program.cs (1)
62Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message);
Microsoft.Build (6)
BackEnd\Client\MSBuildClient.cs (1)
748Console.Error.Write(consoleWrite.Text);
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
609Console.Error.Write(consoleWrite.Text);
BackEnd\Node\OutOfProcServerNode.cs (1)
442var oldErr = Console.Error;
Logging\BinaryLogger\BinaryLogger.cs (1)
703Console.Error.WriteLine(message);
Logging\SimpleErrorLogger.cs (2)
73Console.Error.WriteLine(AnsiCodes.Colorize(message, color)); 77Console.Error.WriteLine(message);
Microsoft.Build.Framework (1)
DebugUtils.cs (1)
39Console.Error.WriteLine("MSBuild debug path initialization failed: " + ex);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\ConsoleIO.cs (1)
15public static readonly ConsoleIO Default = new ConsoleIO(Console.Out, Console.Error, Console.In);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Program.cs (1)
23var logger = new BuildHostLogger(Console.Error);
Microsoft.DotNet.ApiSymbolExtensions (2)
Logging\ConsoleLog.cs (2)
20Console.Error.WriteLine(message); 27Console.Error.WriteLine($"{code}: {message}");
Microsoft.DotNet.Cli.Utils (4)
AnsiConsole.cs (1)
30return new AnsiConsole(Console.Error);
BuiltInCommand.cs (1)
131return Console.Error;
MSBuildForwardingAppWithoutLogging.cs (2)
223Console.Error.Write("Unhandled exception: "); 224Console.Error.WriteLine(exception.ToString());
Microsoft.DotNet.HotReload.Utils.Generator (2)
BaselineProject.cs (2)
92Console.Error.WriteLine ("msbuild project doesn't have an output path"); 96Console.Error.WriteLine ("msbuild project output assembly {0} doesn't exist. Build the project first", outputAsm);
Microsoft.DotNet.HotReload.Utils.Generator.Frontend (1)
Frontend.cs (1)
28Console.Error.WriteLine ($"Error: {exn.Message}");
Microsoft.DotNet.HotReload.Watch (1)
UI\PhysicalConsole.cs (1)
126public TextWriter Error => Console.Error;
Microsoft.DotNet.MacOsPkg.Cli (1)
Program.cs (1)
26Console.Error.WriteLine("This tool is only supported on macOS.");
Microsoft.DotNet.MacOsPkg.Core (3)
MacOsPkgCore.cs (3)
36Console.Error.WriteLine(e); 81Console.Error.WriteLine(e); 121Console.Error.WriteLine(e);
Microsoft.DotNet.VersionTools.Cli (1)
ConsoleLogger.cs (1)
19Console.Error.WriteLine(String.Format(message, values));
Microsoft.Extensions.DotNetDeltaApplier (1)
src\sdk\src\Dotnet.Watch\HotReloadAgent.Host\StartupHook.cs (1)
172Console.Error.WriteLine($"{prefix} {message}");
Microsoft.Extensions.Logging.Console (2)
AnsiLogConsole.cs (1)
17_textWriter = stdErr ? System.Console.Error : System.Console.Out;
AnsiParsingLogConsole.cs (1)
21_textWriter = stdErr ? System.Console.Error : System.Console.Out;
Microsoft.Extensions.ServiceDiscovery.Dns.Tests.Fuzzing (2)
Program.cs (2)
21Console.Error.WriteLine($""" 42Console.Error.WriteLine($"Unknown fuzzer: {arg}");
Microsoft.ML.Core (7)
CommandLine\CmdParser.cs (3)
223return ParseArguments(env, settings, destination, Console.Error.WriteLine); 287return ParseArguments(env, settings, destination, Console.Error.WriteLine, out helpText); 425_reporter = Console.Error.WriteLine;
ComponentModel\AssemblyLoadingUtils.cs (1)
57Console.Error.WriteLine("Warning: Could not load '{0}': {1}", path, ex.Message);
Environment\ConsoleEnvironment.cs (3)
51_colorErr = outWriter == Console.Error; 309if (isError && _err != _out && (_out != Console.Out || _err != Console.Error)) 374_consoleWriter = new ConsoleWriter(this, outWriter ?? Console.Out, errWriter ?? Console.Error, testWriter);
Microsoft.ML.Maml (3)
MAML.cs (3)
227Console.Error.WriteLine("Progress tracking terminated with an exception"); 228PrintExceptionData(Console.Error, ex, false); 229Console.Error.WriteLine("Progress tracking is terminated.");
Microsoft.ML.ResultProcessor (12)
ResultProcessor.cs (12)
161Console.Error.WriteLine("Can't load trainer '{0}'", predictorName); 384Console.Error.WriteLine("ResultProcessor was asked to process results from file {0} which does not exist.", filename); 391Console.Error.WriteLine("Empty file {0}", filename); 415Console.Error.WriteLine("Results file {0} does not contain the MAML executable command:", filename); 416Console.Error.WriteLine("\t{0}", commandline); 630Console.Error.WriteLine("Invalid file format."); 904Console.Error.WriteLine("ResultProcessor tried to extract fold starting at line {0}, couldn't find end-of-fold separator before end of file.", startLineIdx); 911Console.Error.WriteLine("ResultProcessor failed to parse fold starting at line {0} ending at line {1}.", startLineIdx, endLineIdx); 916Console.Error.WriteLine("Fold {0} results have already been added, not adding.", thisFoldResults.Key); 967Console.Error.WriteLine("Couldn't parse fold index line: " + lines[0]); 973Console.Error.WriteLine("Couldn't parse fold index line: " + lines[0]); 1024Console.Error.WriteLine(e.Message);
Microsoft.ML.StandardTrainers (3)
Optimizer\OptimizationMonitor.cs (3)
85Console.Error.Write(_checkingMessage); 86Console.Error.Flush(); 91Console.Error.Write('\b');
Microsoft.NET.HostModel (1)
Bundle\Trace.cs (1)
30Console.Error.WriteLine($"ERROR: {message}");
Microsoft.NET.ProjectData.Tasks (2)
ProjectDataBuildCompletionLogger.cs (2)
363 Console.Error.WriteLine(ProjectDataBuildDiagnosticProtocol.Encode(this.attemptId, diagnostic)); 573 Console.Error.WriteLine(message);
Microsoft.NET.Sdk.BlazorWebAssembly.Tool (2)
Program.cs (2)
60Console.Error.WriteLine($"Error compressing '{source}' into '{output}'"); 61Console.Error.WriteLine(ex.ToString());
Microsoft.NET.Sdk.StaticWebAssets.Tool (2)
Program.cs (2)
60Console.Error.WriteLine($"Error compressing '{source}' into '{output}'"); 61Console.Error.WriteLine(ex.ToString());
Microsoft.TestPlatform.CoreUtilities (1)
Output\ConsoleOutput.cs (1)
26_standardError = Console.Error;
MSBuild (5)
MSBuildClientApp.cs (1)
95Console.Error.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("MSBuildServerUnavailable", reason.Message));
OutOfProcTaskHostNode.cs (1)
1560_originalConsoleError = Console.Error;
XMake.cs (3)
259Console.Error.WriteLine("MSBuild could not start: " + ex); 1438Console.Error.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("BuildFailedWithPropertiesItemsOrTargetResultsRequested")); 2073Console.Error.WriteLine(message);
MSBuild.Coordinator (1)
Program.cs (1)
18Console.Error.WriteLine("Another MSBuild coordinator is already running.");
NuGet.Build.Tasks.Console (1)
Program.cs (1)
76if (!TryParseArguments(args, () => System.Console.OpenStandardInput(), System.Console.Error, out (Dictionary<string, string> Options, FileInfo MSBuildExeFilePath, string EntryProjectFilePath, Dictionary<string, string> MSBuildGlobalProperties) arguments))
NuGet.CommandLine.XPlat (2)
Commands\PackageReferenceCommands\ListPackage\ListPackageCommand.cs (1)
167IReportRenderer reportRenderer = GetOutputType(consoleOut ?? Console.Out, consoleError ?? Console.Error, parseResult.GetValue(outputFormat), outputVersionOption: parseResult.GetValue(outputVersion));
ListPackage\ListPackageConsoleRenderer.cs (1)
26: this(Console.Out, Console.Error)
rzc (3)
CommandLine\AnsiConsole.cs (1)
29return new AnsiConsole(Console.Error, useConsoleColor);
CommandLine\CommandLineApplication.cs (1)
59public TextWriter Error { get; set; } = Console.Error;
Program.cs (1)
54Console.Error.Write(error);
SelectTests (6)
Program.cs (4)
368Console.Error.WriteLine(line); 551Console.Error.Write(markdown); 565Console.Error.WriteLine($"[SelectTests] could not write diagnostics to GITHUB_STEP_SUMMARY: {writeEx.Message}"); 1248Console.Error.Write(markdown);
SelectionTrace.cs (2)
42Console.Error.WriteLine($"[SelectTests] stage: {stage}"); 52Console.Error.WriteLine($"[SelectTests] processing: {item}");
Stress.ApiService (1)
Program.cs (1)
122Console.Error.WriteLine($"{i} Error");
SuperFileCheck (8)
Program.cs (8)
498Console.Error.WriteLine("Expected C# file."); 508Console.Error.WriteLine($"Duplicate method name found: {methodName}"); 518Console.Error.WriteLine($"'{methodName}' is not marked with attribute 'MethodImpl(MethodImplOptions.NoInlining)'."); 529Console.Error.WriteLine("No methods were found. Check if any method bodies are using one or more of the following FileCheck prefixes:"); 532Console.Error.WriteLine($" {prefix}"); 543Console.Error.WriteLine($"{CommandLineInputFile} is required."); 742Console.Error.Write(x.Result.StandardError); 773Console.Error.Write(result.StandardError);
System.CommandLine (2)
InvocationConfiguration.cs (2)
45/// <value>The default is set to <see cref="Console.Error"/>.</value> 51get => _error ??= Console.Error;
System.Diagnostics.TextWriterTraceListener (1)
System\Diagnostics\ConsoleTraceListener.cs (1)
14: base(useErrorStream ? Console.Error : Console.Out)
TypeScriptApiCompat (1)
TypeScriptApiCompatRunner.cs (1)
45Console.Error.WriteLine(ex.Message);
VBCSCompiler (2)
src\roslyn\src\Compilers\Server\VBCSCompiler\BuildServerController.cs (2)
183Console.Error.WriteLine("Cannot determine cache path."); 200Console.Error.WriteLine("Cannot determine cache path.");