3411 references to Console
Accessibility_Core_App (16)
TaskDialogTesting.cs (16)
19page1.Created += (s, e) => Console.WriteLine("Page1 Created"); 20page1.Destroyed += (s, e) => Console.WriteLine("Page1 Destroyed"); 21page1.HelpRequest += (s, e) => Console.WriteLine("Page1 HelpRequest"); 28page1.Expander.ExpandedChanged += (s, e) => Console.WriteLine($"Expander ExpandedChanged: {page1.Expander.Expanded}"); 42buttonOK.Click += (s, e) => Console.WriteLine($"Button '{s}' Click"); 43buttonHelp.Click += (s, e) => Console.WriteLine($"Button '{s}' Click"); 47Console.WriteLine($"Button '{s}' Click"); 52Console.WriteLine($"Button '{s}' Click"); 57Console.WriteLine($"(returns) Button '{s}' Click"); 62Console.WriteLine($"Button '{s}' Click"); 73page2.Created += (s, e) => Console.WriteLine("Page2 Created"); 74page2.Destroyed += (s, e) => Console.WriteLine("Page2 Destroyed"); 80page1.Verification.CheckedChanged += (s, e) => Console.WriteLine($"CheckBox CheckedChanged: {page1.Verification.Checked}"); 85radioButton1.CheckedChanged += (s, e) => Console.WriteLine($"RadioButton1 CheckedChanged: {radioButton1.Checked}"); 86radioButton2.CheckedChanged += (s, e) => Console.WriteLine($"RadioButton2 CheckedChanged: {radioButton2.Checked}"); 89Console.WriteLine($"---> Dialog Result: {dialogResult}");
AnalyzerRunner (35)
DiagnosticAnalyzerRunner.cs (8)
89Console.WriteLine($"Found {allDiagnostics.Length} diagnostics in {stopwatch.GetSummary(preciseMemory: true)}"); 122Console.WriteLine($"{document.FilePath ?? document.Name}: {currentDocumentPerformance.EditsPerSecond:0.00} ({currentDocumentPerformance.AllocatedBytesPerEdit} bytes)"); 135Console.WriteLine("Slowest files in each project:"); 138Console.WriteLine($" {solution.GetProject(projectGroup.Key).Name}"); 142Console.WriteLine($" {document.FilePath ?? document.Name}: {pair.Value.EditsPerSecond:0.00} ({pair.Value.AllocatedBytesPerEdit} bytes)"); 154Console.WriteLine($"{project.Name} ({project.DocumentIds.Count} documents): {averageEditsInProject:0.00} edits per second"); 160Console.WriteLine($" {group.Key}: {group.Count()} instances"); 167Console.WriteLine(item);
Program.cs (27)
43Console.CancelKeyPress += 84Console.WriteLine(workspaceDiagnostic.Message); 88Console.WriteLine($"Loaded solution in {stopwatch.GetSummary(preciseMemory: true)}"); 94Console.WriteLine($"Statistics gathered in {stopwatch.GetSummary(preciseMemory: true)}"); 102Console.WriteLine("Pausing 5 seconds before starting analysis..."); 170Console.WriteLine($" {pair.Value.severity} {pair.Key}: {pair.Value.count} instances ({pair.Value.description})"); 178Console.WriteLine("Number of projects:\t\t" + projects.Count); 179Console.WriteLine("Number of documents:\t\t" + projects.Sum(x => x.DocumentIds.Count)); 183Console.WriteLine("Number of syntax nodes:\t\t" + statistics.NumberofNodes); 184Console.WriteLine("Number of syntax tokens:\t" + statistics.NumberOfTokens); 185Console.WriteLine("Number of syntax trivia:\t" + statistics.NumberOfTrivia); 221Console.ForegroundColor = color; 222Console.WriteLine(text); 223Console.ResetColor(); 228Console.WriteLine("Usage: AnalyzerRunner <AnalyzerAssemblyOrFolder> <Solution> [options]"); 229Console.WriteLine("Options:"); 230Console.WriteLine("/all Run all analyzers, including ones that are disabled by default"); 231Console.WriteLine("/stats Display statistics of the solution"); 232Console.WriteLine("/a <analyzer name> Enable analyzer with <analyzer name> (when this is specified, only analyzers specificed are enabled. Use: /a <name1> /a <name2>, etc."); 233Console.WriteLine("/concurrent Executes analyzers in concurrent mode"); 234Console.WriteLine("/suppressed Reports suppressed diagnostics"); 235Console.WriteLine("/log <logFile> Write logs into the log file specified"); 236Console.WriteLine("/editperf[:<match>] Test the incremental performance of analyzers to simulate the behavior of editing files. If <match> is specified, only files matching this regular expression are evaluated for editor performance."); 237Console.WriteLine("/edititer:<iterations> Specifies the number of iterations to use for testing documents with /editperf. When this is not specified, the default value is 10."); 238Console.WriteLine("/persist Enable persistent storage (e.g. SQLite; only applies to IIncrementalAnalyzer testing)"); 239Console.WriteLine("/fsa Enable full solution analysis (only applies to IIncrementalAnalyzer testing)"); 240Console.WriteLine("/ia <analyzer name> Enable incremental analyzer with <analyzer name> (when this is specified, only incremental analyzers specified are enabled. Use: /ia <name1> /ia <name2>, etc.");
Aspire.Dashboard.Tests (1)
tests\Shared\Playwright\PlaywrightProvider.cs (1)
59Console.WriteLine($"** Found playwright dependencies in {probePath}");
Aspire.EndToEnd.Tests (13)
tests\Shared\Playwright\PlaywrightProvider.cs (1)
59Console.WriteLine($"** Found playwright dependencies in {probePath}");
tests\Shared\WorkloadTesting\AspireProject.cs (1)
487Console.WriteLine(msg);
tests\Shared\WorkloadTesting\BuildEnvironment.cs (6)
184Console.WriteLine($"*** Using path for projects: {TestRootPath}"); 188Console.WriteLine($"*** Using Sdk path: {sdkForWorkloadPath}"); 193Console.WriteLine($"*** Using NuGet cache: {NuGetPackagesPath}"); 208Console.WriteLine($"*** Using NuGet cache (never deleted automatically): {NuGetPackagesPath}"); 230Console.WriteLine($"\tFailed to delete {TestRootPath} . Deleting subdirectories."); 240Console.WriteLine($"\tFailed to delete {dir} : {ioex.Message}. Ignoring.");
tests\Shared\WorkloadTesting\TemplateCustomHive.cs (3)
40Console.WriteLine($"** Custom hive exists, skipping installation: {_customHiveDirectory}"); 60Console.WriteLine($"** Custom hive exists, skipping installation: {_customHiveDirectory}"); 69Console.WriteLine($"*** Creating templates custom hive: {_customHiveDirectory}");
tests\Shared\WorkloadTesting\TestOutputWrapper.cs (2)
19Console.WriteLine(message); 29Console.WriteLine(format, args);
Aspire.Hosting (2)
Dcp\DcpHostService.cs (2)
200OnOutputData = Console.Out.Write, 201OnErrorData = Console.Error.Write,
Aspire.RuntimeIdentifier.Tool (2)
Program.cs (2)
64Console.WriteLine("Unable to find the best rid to use"); 68Console.WriteLine(bestRidForPlatform);
Aspire.Workload.Tests (13)
tests\Shared\Playwright\PlaywrightProvider.cs (1)
59Console.WriteLine($"** Found playwright dependencies in {probePath}");
tests\Shared\WorkloadTesting\AspireProject.cs (1)
487Console.WriteLine(msg);
tests\Shared\WorkloadTesting\BuildEnvironment.cs (6)
184Console.WriteLine($"*** Using path for projects: {TestRootPath}"); 188Console.WriteLine($"*** Using Sdk path: {sdkForWorkloadPath}"); 193Console.WriteLine($"*** Using NuGet cache: {NuGetPackagesPath}"); 208Console.WriteLine($"*** Using NuGet cache (never deleted automatically): {NuGetPackagesPath}"); 230Console.WriteLine($"\tFailed to delete {TestRootPath} . Deleting subdirectories."); 240Console.WriteLine($"\tFailed to delete {dir} : {ioex.Message}. Ignoring.");
tests\Shared\WorkloadTesting\TemplateCustomHive.cs (3)
40Console.WriteLine($"** Custom hive exists, skipping installation: {_customHiveDirectory}"); 60Console.WriteLine($"** Custom hive exists, skipping installation: {_customHiveDirectory}"); 69Console.WriteLine($"*** Creating templates custom hive: {_customHiveDirectory}");
tests\Shared\WorkloadTesting\TestOutputWrapper.cs (2)
19Console.WriteLine(message); 29Console.WriteLine(format, args);
AutobahnTestApp (6)
Program.cs (6)
30Console.WriteLine("Using HttpSys server"); 38Console.WriteLine("Detected ANCM, using Kestrel"); 47Console.WriteLine($"Using Kestrel, URL: {urls}"); 64Console.WriteLine($"Using SSL with certificate: {certPath}"); 80Console.WriteLine($"Unhandled exception (Scenario: {scenarioName}): {a.ExceptionObject.ToString()}"); 83Console.WriteLine($"Starting Server for Scenario: {scenarioName}");
BoundTreeGenerator (4)
Program.cs (4)
27Console.Error.WriteLine("Usage: \"{0} <language> <input> <output>\", where <language> is \"VB\" or \"CSharp\"", Path.GetFileNameWithoutExtension(args[0])); 45Console.Error.WriteLine("Language must be \"VB\" or \"CSharp\""); 58Console.WriteLine("Validation failed. Stopping generation"); 90Console.WriteLine($"Error: {type.Name} has a field {field.Name} of type 'Conversion'. Types that are not BoundConversions" +
BuildActionTelemetryTable (6)
Program.cs (6)
433Console.WriteLine("Loading assemblies and finding CodeActions ..."); 438Console.WriteLine($"Generating Kusto datatable of {codeActionAndProviderTypes.Length} CodeAction and provider hashes ..."); 445Console.WriteLine($"Writing datatable to {filepath} ..."); 449Console.WriteLine("Complete."); 464Console.WriteLine($"Loading assembly from {GetRelativePath(path, currentDirectory)}."); 541Console.WriteLine($"Descriptions were missing for the following type names:{Environment.NewLine}{string.Join(Environment.NewLine, missingDescriptions)}");
BuildBoss (12)
Program.cs (12)
26Console.WriteLine($"Unhandled exception: {ex.Message}"); 27Console.WriteLine(ex.StackTrace); 35Console.WriteLine($"Version: {instance.Version}"); 50Console.Error.WriteLine($"Invalid configuration: '{configuration}'"); 60Console.Error.WriteLine(ex.Message); 61options.WriteOptionDescriptions(Console.Error); 72Console.Error.WriteLine("Unable to find repository root"); 113Console.WriteLine("Failed"); 121Console.Write($"Processing {title} ... "); 125Console.WriteLine("passed"); 130Console.WriteLine("FAILED"); 131Console.WriteLine(textWriter.ToString());
BuildValidator (3)
DemoLogger.cs (2)
47Console.Write(new string(' ', _indent)); 48Console.WriteLine(message);
Program.cs (1)
158Console.Out.Flush();
ClientSample (30)
HubSample.cs (11)
32Console.WriteLine("Connecting to {0}", uri); 61Console.CancelKeyPress += (sender, a) => 69connection.On<string>("Send", Console.WriteLine); 73Console.WriteLine("Connection closed..."); 80Console.WriteLine("Failed to establish a connection to '{0}' because the CancelKeyPress event fired first. Exiting...", uri); 84Console.WriteLine("Connected to {0}", uri); 92var line = Console.ReadLine(); 96Console.WriteLine("Exiting..."); 107Console.WriteLine("Failed to send '{0}' because the CancelKeyPress event fired first. Exiting...", line); 114Console.WriteLine(ex); 142Console.WriteLine("Failed to connect, trying again in 5000(ms)");
Program.cs (3)
17Console.WriteLine($"Ready for debugger to attach. Process ID: {Process.GetCurrentProcess().Id}"); 18Console.Write("Press ENTER to Continue"); 19Console.ReadLine();
RawSample.cs (5)
35Console.WriteLine($"Connecting to {baseUrl}..."); 49Console.WriteLine($"Connected to {baseUrl}"); 51Console.CancelKeyPress += (sender, a) => 57_ = ReceiveLoop(Console.Out, connection.Transport.Input); 58_ = SendLoop(Console.In, connection.Transport.Output);
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
StreamingSample.cs (1)
39Console.WriteLine($"received: {item}");
Tcp\TcpConnection.cs (1)
100Console.WriteLine($"Unexpected exception in {nameof(TcpConnection)}.{nameof(StartAsync)}: " + ex);
CodeGenerator (7)
Program.cs (7)
12Console.Error.WriteLine("Missing path to HttpHeaders.Generated.cs"); 17Console.Error.WriteLine("Missing path to HttpProtocol.Generated.cs"); 22Console.Error.WriteLine("Missing path to HttpUtilities.Generated.cs"); 27Console.Error.WriteLine("Missing path to TransportMultiplexedConnection.Generated.cs"); 32Console.Error.WriteLine("Missing path to TransportConnection.Generated.cs"); 67Console.WriteLine($"{path} updated."); 71Console.WriteLine($"{path} already up to date.");
CodeStyleConfigFileGenerator (1)
Program.cs (1)
33Console.Error.WriteLine($"Excepted {ExpectedArguments} arguments, found {args.Length}: {string.Join(';', args)}");
ConfigurationSchemaGenerator.Tests (1)
GeneratorTests.cs (1)
696MetadataReference.CreateFromFile(typeof(Console).Assembly.Location)
csc (8)
src\Compilers\Core\CommandLine\ConsoleUtil.cs (6)
17/// This will update the <see cref="Console.Out"/> value to have UTF-8 encoding for the duration of the 22Encoding savedEncoding = Console.OutputEncoding; 25Console.OutputEncoding = s_utf8Encoding; 26return func(Console.Out); 32Console.OutputEncoding = savedEncoding; 45if (textWriter != Console.Out)
src\Compilers\CSharp\csc\Program.cs (1)
24Console.WriteLine(e.Message);
src\Compilers\Shared\BuildClient.cs (1)
127textWriter = textWriter ?? Console.Out;
CSharpErrorFactsGenerator (1)
Program.cs (1)
21Console.WriteLine(
CSharpSyntaxGenerator (8)
Program.cs (8)
32Console.WriteLine(inputFile + " not found."); 79Console.WriteLine("Invalid usage:"); 81Console.WriteLine(programName + " input-file output-file [/test | /grammar]"); 82Console.WriteLine(programName + " input-file /sig"); 105Console.WriteLine("Generating grammar failed."); 106Console.WriteLine(ex); 130SignatureWriter.Write(Console.Out, tree); 176Console.WriteLine("Unable to access {0}. Is it checked out?", outputFile);
csi (1)
Csi.cs (1)
48Console.Error.WriteLine(ex.ToString());
CustomEncryptorSample (2)
Program.cs (2)
26Console.WriteLine($"Protect returned: {protectedPayload}"); 30Console.WriteLine($"Unprotect returned: {unprotectedPayload}");
DaprServiceC (1)
Program.cs (1)
20Console.WriteLine("Goodbye, World!");
DefaultBuilder.SampleApp (8)
Program.cs (8)
25Console.WriteLine("Running HelloWorld: Press any key to shutdown and start the next sample..."); 26Console.ReadKey(); 36Console.WriteLine("Running CustomUrl: Press any key to shutdown and start the next sample..."); 37Console.ReadKey(); 52Console.WriteLine("Running CustomRouter: Press any key to shutdown and start the next sample..."); 53Console.ReadKey(); 70Console.WriteLine("Running CustomApplicationBuilder: Press any key to shutdown and start the next sample..."); 71Console.ReadKey();
DesignSurface (8)
MainForm.cs (4)
108Console.WriteLine("Invalid selection"); 375Console.WriteLine("Invalid selection"); 411Console.WriteLine("Invalid selection"); 417Console.WriteLine($"{Name} the DesignSurface N. {n} has generated errors during loading!");
Program.cs (4)
19Console.WriteLine("Begin the demo..."); 33Console.WriteLine("Bye!"); 37Console.WriteLine($"Exception (strike a key to quit!): {ex.Message}"); 38Console.ReadLine();
Diagnostics.EFCore.FunctionalTests (1)
DatabaseErrorPageMiddlewareTest.cs (1)
302Console.WriteLine(content);
DnnAnalyzer (2)
DnnAnalyzer.cs (2)
18Console.Error.WriteLine("Usage: dotnet DnnAnalyzer.dll <model_location>"); 25Console.WriteLine($"Graph node: '{name}', operation type: '{opType}', output type: '{type}'{inputsString}");
dotnet-dev-certs (24)
Program.cs (2)
50Console.WriteLine("Press any key to continue..."); 51_ = Console.ReadKey();
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Tools\Shared\CommandLine\DebugHelper.cs (3)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}"); 28Console.ReadLine();
src\Tools\Shared\CommandLine\PhysicalConsole.cs (10)
17Console.CancelKeyPress += (o, e) => 26public TextWriter Error => Console.Error; 27public TextReader In => Console.In; 28public TextWriter Out => Console.Out; 29public bool IsInputRedirected => Console.IsInputRedirected; 30public bool IsOutputRedirected => Console.IsOutputRedirected; 31public bool IsErrorRedirected => Console.IsErrorRedirected; 34get => Console.ForegroundColor; 35set => Console.ForegroundColor = value; 38public void ResetColor() => Console.ResetColor();
dotnet-getdocument (23)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Tools\GetDocumentInsider\src\ProgramBase.cs (1)
28Console.OutputEncoding = Encoding.UTF8;
src\Tools\Shared\CommandLine\DebugHelper.cs (3)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}"); 28Console.ReadLine();
src\Tools\Shared\CommandLine\PhysicalConsole.cs (10)
17Console.CancelKeyPress += (o, e) => 26public TextWriter Error => Console.Error; 27public TextReader In => Console.In; 28public TextWriter Out => Console.Out; 29public bool IsInputRedirected => Console.IsInputRedirected; 30public bool IsOutputRedirected => Console.IsOutputRedirected; 31public bool IsErrorRedirected => Console.IsErrorRedirected; 34get => Console.ForegroundColor; 35set => Console.ForegroundColor = value; 38public void ResetColor() => Console.ResetColor();
dotnet-openapi (25)
DebugMode.cs (1)
19Console.WriteLine("Waiting for debugger in pid: {0}", Environment.ProcessId);
Program.cs (2)
46Console.WriteLine(output); 47Console.Error.WriteLine(error);
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Tools\Shared\CommandLine\DebugHelper.cs (3)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}"); 28Console.ReadLine();
src\Tools\Shared\CommandLine\PhysicalConsole.cs (10)
17Console.CancelKeyPress += (o, e) => 26public TextWriter Error => Console.Error; 27public TextReader In => Console.In; 28public TextWriter Out => Console.Out; 29public bool IsInputRedirected => Console.IsInputRedirected; 30public bool IsOutputRedirected => Console.IsOutputRedirected; 31public bool IsErrorRedirected => Console.IsErrorRedirected; 34get => Console.ForegroundColor; 35set => Console.ForegroundColor = value; 38public void ResetColor() => Console.ResetColor();
dotnet-razorpagegenerator (12)
Program.cs (12)
20Console.WriteLine("Invalid argument(s)."); 21Console.WriteLine(@"Usage: 47Console.WriteLine(); 48Console.WriteLine($"{results.Count} files successfully generated."); 49Console.WriteLine(); 97Console.WriteLine(); 98Console.WriteLine(" Generating code files for views in {0}", viewDir); 104Console.WriteLine(" No .cshtml or .razor files were found."); 110Console.WriteLine(" Generating code file for view {0}...", item.FileName); 112Console.WriteLine(" Done!"); 131Console.WriteLine($"One or more parse errors encountered. This will not prevent the generator from continuing: {Environment.NewLine}{diagnostics}."); 213Console.WriteLine(" Inlining file {0}", includeFileName);
dotnet-sql-cache (22)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Tools\Shared\CommandLine\DebugHelper.cs (3)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}"); 28Console.ReadLine();
src\Tools\Shared\CommandLine\PhysicalConsole.cs (10)
17Console.CancelKeyPress += (o, e) => 26public TextWriter Error => Console.Error; 27public TextReader In => Console.In; 28public TextWriter Out => Console.Out; 29public bool IsInputRedirected => Console.IsInputRedirected; 30public bool IsOutputRedirected => Console.IsOutputRedirected; 31public bool IsErrorRedirected => Console.IsErrorRedirected; 34get => Console.ForegroundColor; 35set => Console.ForegroundColor = value; 38public void ResetColor() => Console.ResetColor();
dotnet-svcutil.xmlserializer (16)
Microsoft\Tools\ServiceModel\SvcUtil\Tool.cs (2)
99if ((System.Console.OutputEncoding.CodePage != Encoding.UTF8.CodePage) && 100(System.Console.OutputEncoding.CodePage != Thread.CurrentThread.CurrentUICulture.TextInfo.OEMCodePage))
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (14)
38Console.WriteLine(str); 43Console.WriteLine(); 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(); 347bool junk = Console.CursorVisible; 349if (Console.WindowWidth > 75) 350s_nameMidpoint = Console.WindowWidth / 3; 619return Console.CursorLeft; 632bool junk = Console.CursorVisible; 634return Console.BufferWidth;
dotnet-svcutil-lib (29)
CmdCredentialsProvider.cs (16)
31Console.WriteLine(); 36Console.WriteLine(); 47Console.WriteLine(); 48Console.WriteLine(SR.WrnUserBasicCredentialsInClearText); 143Console.WriteLine(string.Format(CultureInfo.InvariantCulture, SR.CertificateSelectionMessageFormat, serviceUri.Authority)); 158Console.WriteLine(FormatCertificate(cert, certId)); 167Console.WriteLine(); 227Console.WriteLine(string.Format(CultureInfo.InvariantCulture, SR.ErrServerCertFailedValidationFormat, sslPolicyErrors, FormatCertificate(cert))); 259Console.WriteLine(SR.EnterOrEscapeMessage); 260keyInfo = Console.ReadKey(intercept: true); 264Console.WriteLine(); 278Console.Write(prompt); 282keyInfo = System.Console.ReadKey(intercept: true); 285Console.WriteLine(); 290Console.Write("\b \b"); 296System.Console.Write(isPassword ? '*' : keyInfo.KeyChar);
HelpGenerator.cs (5)
195if (Console.WindowWidth > 75) 196s_nameMidpoint = Console.WindowWidth / 3; 440return Console.CursorLeft; 452int bufferWidth = Console.BufferWidth; 456return Console.BufferWidth;
Shared\Utilities\DebugUtils.cs (3)
43Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 44Console.WriteLine("Process ID: {0}, Name:{1}", process.Id, process.ProcessName); 45Console.ReadLine();
Shared\Utilities\ProcessRunner.cs (2)
114Console.WriteLine($"Starting process in the background: {Path.GetFileName(proc.ProcessName)}, ID: {proc.Id}."); 115Console.WriteLine($"{Path.GetFileName(currentDir)}>{processName} {processArgs}{Environment.NewLine}");
Tool.cs (2)
444Console.InputEncoding = Encoding.UTF8; 445Console.OutputEncoding = Encoding.UTF8;
ToolConsole.cs (1)
138Console.WriteLine(str);
dotnet-svcutil-lib.Tests (3)
UnitTest.cs (3)
30var originalOutput = Console.Out; 32Console.SetOut(writer); 37Console.SetOut(originalOutput);
dotnet-user-jwts (25)
Commands\ClearCommand.cs (1)
50if (Console.ReadLine().Trim().ToUpperInvariant() != "Y")
Commands\KeyCommand.cs (1)
65if (Console.ReadLine().Trim().ToUpperInvariant() != "Y")
Helpers\ConsoleTable.cs (1)
61var equalColumnLengths = Math.Max((Console.WindowWidth / _columns.Count) - EXCESS_LENGTH_CREATED_BY_BORDERS, 5);
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Tools\Shared\CommandLine\DebugHelper.cs (3)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}"); 28Console.ReadLine();
src\Tools\Shared\CommandLine\PhysicalConsole.cs (10)
17Console.CancelKeyPress += (o, e) => 26public TextWriter Error => Console.Error; 27public TextReader In => Console.In; 28public TextWriter Out => Console.Out; 29public bool IsInputRedirected => Console.IsInputRedirected; 30public bool IsOutputRedirected => Console.IsOutputRedirected; 31public bool IsErrorRedirected => Console.IsErrorRedirected; 34get => Console.ForegroundColor; 35set => Console.ForegroundColor = value; 38public void ResetColor() => Console.ResetColor();
dotnet-user-secrets (22)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Tools\Shared\CommandLine\DebugHelper.cs (3)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}"); 28Console.ReadLine();
src\Tools\Shared\CommandLine\PhysicalConsole.cs (10)
17Console.CancelKeyPress += (o, e) => 26public TextWriter Error => Console.Error; 27public TextReader In => Console.In; 28public TextWriter Out => Console.Out; 29public bool IsInputRedirected => Console.IsInputRedirected; 30public bool IsOutputRedirected => Console.IsOutputRedirected; 31public bool IsErrorRedirected => Console.IsErrorRedirected; 34get => Console.ForegroundColor; 35set => Console.ForegroundColor = value; 38public void ResetColor() => Console.ResetColor();
EntityFrameworkCoreSample (1)
Program.cs (1)
38Console.WriteLine(protectedData);
EventHubsConsumer (3)
Program.cs (3)
7Console.WriteLine("EventHub consumer/processor test"); 20Console.WriteLine("Starting EventHubConsumerClient..."); 33Console.WriteLine("Starting EventProcessorClient...");
GenerateRulesMissingDocumentation (7)
Program.cs (7)
19await Console.Error.WriteLineAsync($"Excepted {expectedArguments} arguments, found {args.Length}: {string.Join(';', args)}").ConfigureAwait(false); 25await Console.Error.WriteLineAsync($"Excepted the first argument to start with `{validateOnlyPrefix}`. found `{args[0]}`.").ConfigureAwait(false); 86await Console.Error.WriteLineAsync($"Missing entry in '{fileWithPath}'. Please add the below entry to this file to fix the build:").ConfigureAwait(false); 87await Console.Error.WriteLineAsync(line).ConfigureAwait(false); 119Console.WriteLine($"##[warning]Failed to check '{helpLink}': {response.StatusCode}"); 130Console.WriteLine($"##[warning]Timeout while checking '{helpLink}'."); 135Console.WriteLine($"##[warning]Failed while checking '{helpLink}' (${e.StatusCode}, ${e.HttpRequestError}): ${e.Message}");
GetDocument.Insider (23)
ProgramBase.cs (1)
28Console.OutputEncoding = Encoding.UTF8;
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Tools\Shared\CommandLine\DebugHelper.cs (3)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 26Console.WriteLine($"Process ID: {Process.GetCurrentProcess().Id}"); 28Console.ReadLine();
src\Tools\Shared\CommandLine\PhysicalConsole.cs (10)
17Console.CancelKeyPress += (o, e) => 26public TextWriter Error => Console.Error; 27public TextReader In => Console.In; 28public TextWriter Out => Console.Out; 29public bool IsInputRedirected => Console.IsInputRedirected; 30public bool IsOutputRedirected => Console.IsOutputRedirected; 31public bool IsErrorRedirected => Console.IsErrorRedirected; 34get => Console.ForegroundColor; 35set => Console.ForegroundColor = value; 38public void ResetColor() => Console.ResetColor();
HelixTestRunner (4)
ProcessUtil.cs (2)
211public static void PrintMessage(string message) => Console.WriteLine($"{DateTime.UtcNow.ToString("O", CultureInfo.InvariantCulture)} {message}"); 212public static void PrintErrorMessage(string message) => Console.Error.WriteLine($"{DateTime.UtcNow.ToString("O", CultureInfo.InvariantCulture)} {message}");
TestRunner.cs (2)
85Console.WriteLine(); 95Console.WriteLine();
Http2SampleApp (1)
Program.cs (1)
75Console.WriteLine($"Process ID: {Environment.ProcessId}");
HttpAbstractions.SampleApp (1)
Program.cs (1)
45Console.WriteLine(context);
HttpClientApp (4)
Program.cs (4)
23Console.WriteLine(response); 24Console.WriteLine(await response.Content.ReadAsStringAsync()); 28Console.WriteLine(response); 29Console.WriteLine(await response.Content.ReadAsStringAsync());
HttpStress (52)
Program.cs (52)
51Console.WriteLine(error); 53Console.WriteLine(); 364Console.WriteLine($"{i} = {clientOperations[i].Item1}"); 374Console.WriteLine(" .NET Core: " + Path.GetFileName(Path.GetDirectoryName(typeof(object).Assembly.Location))); 375Console.WriteLine(" ASP.NET Core: " + Path.GetFileName(Path.GetDirectoryName(typeof(IWebHostBuilder).Assembly.Location))); 376Console.WriteLine(" Tracing: " + (logPath == null ? (object)false : logPath.Length == 0 ? (object)true : logPath)); 377Console.WriteLine(" ASP.NET Log: " + aspnetLog); 378Console.WriteLine(" Concurrency: " + concurrentRequests); 379Console.WriteLine("Content Length: " + maxContentLength); 380Console.WriteLine(" HTTP Versions: " + string.Join<Version>(", ", httpVersions)); 381Console.WriteLine(" Lifetime: " + (connectionLifetime.HasValue ? $"{connectionLifetime}ms" : "(infinite)")); 382Console.WriteLine(" Operations: " + string.Join(", ", clientOperations.Select(o => o.Item1))); 383Console.WriteLine(" Random Seed: " + seed); 384Console.WriteLine(); 387Console.WriteLine("Starting server."); 511Console.WriteLine($"Starting {concurrentRequests} client workers."); 544lock (Console.Out) 546Console.ForegroundColor = ConsoleColor.Cyan; 547Console.Write("[" + DateTime.Now + "]"); 548Console.ResetColor(); 549Console.WriteLine(" Total: " + total.ToString("N0", CultureInfo.InvariantCulture)); 553Console.ForegroundColor = ConsoleColor.DarkRed; 554Console.WriteLine("~~ Reuse address failures: " + reuseAddressFailure.ToString("N0", CultureInfo.InvariantCulture) + "~~"); 555Console.ResetColor(); 560Console.ForegroundColor = ConsoleColor.Cyan; 561Console.Write("\t" + clientOperations[i].Item1.PadRight(30)); 562Console.ResetColor(); 563Console.ForegroundColor = ConsoleColor.Green; 564Console.Write("Success: "); 565Console.ResetColor(); 566Console.Write(success[i].ToString("N0", CultureInfo.InvariantCulture)); 567Console.ForegroundColor = ConsoleColor.DarkRed; 568Console.Write("\tFail: "); 569Console.ResetColor(); 570Console.WriteLine(fail[i].ToString("N0", CultureInfo.InvariantCulture)); 572Console.WriteLine(); 603lock (Console.Out) 605Console.ForegroundColor = ConsoleColor.Yellow; 606Console.WriteLine($"Error from iteration {i} ({operation}) in task {taskNum} with {success.Sum()} successes / {fail.Sum()} fails:"); 607Console.ResetColor(); 608Console.WriteLine(e); 609Console.WriteLine(); 746lock (Console.Out) 763Console.ForegroundColor = ConsoleColor.DarkYellow; 764Console.Write($"[{eventData.EventName}] "); 765Console.ResetColor(); 770Console.Write(", "); 772Console.ForegroundColor = ConsoleColor.DarkGray; 773Console.Write(eventData.PayloadNames[i] + ": "); 774Console.ResetColor(); 775Console.Write(eventData.Payload[i]); 777Console.WriteLine();
IdeBenchmarks (5)
InheritanceMargin\InheritanceMarginServiceBenchmarks.cs (2)
41Console.WriteLine("Found solution."); 63Console.WriteLine($"Total {items.Length} items are generated.");
SQLitePersistentStorageBenchmark.cs (2)
71Console.WriteLine("Storage type: " + _storage.GetType()); 135Console.WriteLine("Creating: " + tempDir);
StackTraceExplorer\StackTraceExplorerBenchmarks.cs (1)
22Console.WriteLine($"Total {result.ParsedFrames.Length} items");
IdeCoreBenchmarks (54)
ClassificationBenchmarks.cs (3)
62Console.WriteLine("Found Roslyn.sln: " + Process.GetCurrentProcess().Id); 78Console.WriteLine("Opening roslyn. Attach to: " + Process.GetCurrentProcess().Id); 82Console.WriteLine("Finished opening roslyn: " + (DateTime.Now - start));
FindReferencesBenchmarks.cs (9)
59Console.WriteLine("Found Compilers.slnf: " + Process.GetCurrentProcess().Id); 75Console.WriteLine("Opening roslyn. Attach to: " + Process.GetCurrentProcess().Id); 79Console.WriteLine("Finished opening roslyn: " + (DateTime.Now - start)); 88Console.WriteLine("Successfully got persistent storage instance"); 97Console.WriteLine("Time to get first compilation: " + (DateTime.Now - start)); 106Console.WriteLine("Starting find-refs"); 109Console.WriteLine("Time to find-refs: " + (DateTime.Now - start)); 111Console.WriteLine($"References count: {refList.Count}"); 113Console.WriteLine($"Locations count: {locations.Count}");
IncrementalSourceGeneratorBenchmarks.cs (11)
68Console.WriteLine("Found Roslyn.sln: " + Process.GetCurrentProcess().Id); 83Console.WriteLine("Opening roslyn. Attach to: " + Process.GetCurrentProcess().Id); 88Console.WriteLine("Finished opening roslyn: " + (DateTime.Now - start)); 107Console.WriteLine("Registering"); 148Console.WriteLine("Getting compilation: " + project.Name); 150Console.WriteLine("Compilation time: " + (DateTime.Now - start)); 151Console.WriteLine("Syntax tree count: " + compilation.SyntaxTrees.Count()); 156Console.WriteLine("First generator run: " + (DateTime.Now - start)); 161Console.WriteLine("Start profiling now"); 177Console.WriteLine("Incremental time: " + incrementalTime); 181Console.WriteLine("Total incremental time: " + totalIncrementalTime);
NavigateToBenchmarks.cs (31)
65Console.WriteLine("Found Roslyn.sln: " + Process.GetCurrentProcess().Id); 80Console.WriteLine("Opening roslyn. Attach to: " + Process.GetCurrentProcess().Id); 85Console.WriteLine("Finished opening roslyn: " + (DateTime.Now - start)); 87Console.WriteLine("Doc count: " + docCount); 106Console.WriteLine("start profiling now"); 108Console.WriteLine("Starting serial parsing."); 120Console.WriteLine("Serial: " + (DateTime.Now - start)); 121Console.WriteLine($"{nameof(DocumentState.TestAccessor.TryReuseSyntaxTree)} - {DocumentState.TestAccessor.TryReuseSyntaxTree}"); 122Console.WriteLine($"{nameof(DocumentState.TestAccessor.CouldReuseBecauseOfEqualPPNames)} - {DocumentState.TestAccessor.CouldReuseBecauseOfEqualPPNames}"); 123Console.WriteLine($"{nameof(DocumentState.TestAccessor.CouldReuseBecauseOfNoDirectives)} - {DocumentState.TestAccessor.CouldReuseBecauseOfNoDirectives}"); 124Console.WriteLine($"{nameof(DocumentState.TestAccessor.CouldReuseBecauseOfNoPPDirectives)} - {DocumentState.TestAccessor.CouldReuseBecauseOfNoPPDirectives}"); 125Console.WriteLine($"{nameof(DocumentState.TestAccessor.CouldNotReuse)} - {DocumentState.TestAccessor.CouldNotReuse}"); 134Console.ReadLine(); 141Console.WriteLine("start profiling now"); 143Console.WriteLine("Starting serial indexing"); 153Console.WriteLine("Serial: " + (DateTime.Now - start)); 154Console.ReadLine(); 160Console.WriteLine("start profiling now"); 162Console.WriteLine("Starting parallel indexing"); 174Console.WriteLine("Project parallel: " + (DateTime.Now - start)); 175Console.ReadLine(); 181Console.WriteLine("Attach now"); 183Console.WriteLine("Starting indexing"); 188Console.WriteLine("Successfully got persistent storage instance"); 201Console.WriteLine("Indexing time : " + indexTime); 202Console.WriteLine("Solution parallel: " + (DateTime.Now - start)); 204Console.WriteLine("DB flushed"); 205Console.ReadLine(); 211Console.WriteLine("Starting navigate to"); 222Console.WriteLine("Num results: " + sum); 223Console.WriteLine("Time to search: " + (DateTime.Now - start));
IIS.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
IIS.ShadowCopy.Tests (1)
ShadowCopyTests.cs (1)
388Console.WriteLine($@"Failed to delete directory {directoryPath}: {e.Message}");
illink (99)
ILLink.RoslynAnalyzer (2)
TrimAnalysis\TrimDataFlowAnalysis.cs (2)
137 Console.WriteLine (tracingInfo); 155 Console.Write (tracingInfo);
Infrastructure.Common (10)
FrameworkHelper.cs (1)
47Console.WriteLine(String.Format("Detected current FrameworkID as \"{0}\" from description \"{1}\"",
OSHelper.cs (1)
85Console.WriteLine(String.Format("Detected current OSID as \"{0}\" from RuntimeEnvironment and description \"{1}\"",
ServiceUtilHelper.cs (6)
119System.Console.WriteLine(String.Format("Using root certificate:{0}{1}", 208System.Console.WriteLine(String.Format("Using client certificate:{0}{1}", 321System.Console.WriteLine(String.Format("Using peer trust certificate:{0}{1}", 533Console.WriteLine(String.Format("Invoking {0} ...", requestUri)); 545Console.WriteLine(String.Format("Invoking {0} ...", requestUri)); 557Console.WriteLine(String.Format("Invoking {0} ...", requestUri));
xunit\IssueAttribute.cs (1)
123Console.WriteLine(String.Format("Warning: The number '{0}' in IncludeTestsWithIssues is not a valid integer and will be ignored.", issue));
xunit\WcfTestCase.cs (1)
100Console.WriteLine(etwOutput);
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\RevocationResponder.cs (1)
414Console.WriteLine(trace);
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72Console.WriteLine(log);
InProcessWebSite (21)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Program.cs (19)
30Console.WriteLine(new string('a', 30000)); 33Console.Error.WriteLine(new string('a', 30000)); 34Console.Error.Flush(); 37Console.WriteLine($"Random number: {args[1]}"); 40Console.Error.WriteLine($"Random number: {args[1]}"); 41Console.Error.Flush(); 44Console.WriteLine(new string('a', 31000)); 47Console.Error.WriteLine(new string('a', 31000)); 48Console.Error.Flush(); 82Console.OutputEncoding = Encoding.UTF8; 83Console.Title = "Test"; 84Console.WriteLine($"Is Console redirection: {Console.IsOutputRedirected}"); 85Console.BackgroundColor = ConsoleColor.Blue; 86Console.WriteLine("彡⾔"); 89Console.WriteLine("Wow!"); 93Console.WriteLine(new string('a', 40000)); 106Console.Error.WriteLine("TEST MESSAGE"); 109Console.WriteLine("TEST MESSAGE");
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (2)
117Console.WriteLine("TEST MESSAGE"); 124Console.Error.WriteLine("TEST MESSAGE");
InteractiveHost32 (1)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (1)
63Console.Error.WriteLine(e);
InteractiveHost64 (1)
src\Interactive\HostProcess\InteractiveHostEntryPoint.cs (1)
63Console.Error.WriteLine(e);
InteropClient (51)
InteropClient.cs (49)
123Console.WriteLine("Use TLS: " + options.UseTls); 124Console.WriteLine("Use Test CA: " + options.UseTestCa); 125Console.WriteLine("Client type: " + options.ClientType); 126Console.WriteLine("Server host: " + options.ServerHost); 127Console.WriteLine("Server port: " + options.ServerPort); 287Console.WriteLine("running empty_unary"); 290Console.WriteLine("Passed!"); 295Console.WriteLine("running large_unary"); 304Console.WriteLine("Passed!"); 309Console.WriteLine("running client_streaming"); 320Console.WriteLine("Passed!"); 325Console.WriteLine("running server_streaming"); 339Console.WriteLine("Passed!"); 344Console.WriteLine("running ping_pong"); 388Console.WriteLine("Passed!"); 393Console.WriteLine("running empty_stream"); 401Console.WriteLine("Passed!"); 406Console.WriteLine("running compute_engine_creds"); 423Console.WriteLine("Passed!"); 428Console.WriteLine("running jwt_token_creds"); 442Console.WriteLine("Passed!"); 447Console.WriteLine("running oauth2_auth_token"); 463Console.WriteLine("Passed!"); 468Console.WriteLine("running per_rpc_creds"); 480Console.WriteLine("Passed!"); 485Console.WriteLine("running cancel_after_begin"); 497Console.WriteLine("Passed!"); 502Console.WriteLine("running cancel_after_first_response"); 529Console.WriteLine("Passed!"); 534Console.WriteLine("running timeout_on_sleeping_server"); 562Console.WriteLine("Passed!"); 567Console.WriteLine("running custom_metadata"); 607Console.WriteLine("Passed!"); 612Console.WriteLine("running status_code_and_message"); 649Console.WriteLine("Passed!"); 654Console.WriteLine("running special_status_message"); 676Console.WriteLine("Passed!"); 681Console.WriteLine("running unimplemented_service"); 685Console.WriteLine("Passed!"); 690Console.WriteLine("running unimplemented_method"); 694Console.WriteLine("Passed!"); 699Console.WriteLine("running client_compressed_unary"); 736Console.WriteLine("Passed!"); 741Console.WriteLine("running client_compressed_streaming"); 787Console.WriteLine("Passed!"); 792Console.WriteLine("running server_compressed_unary"); 816Console.WriteLine("Passed!"); 821Console.WriteLine("running server_compressed_streaming"); 837Console.WriteLine("Passed!");
Program.cs (2)
27Console.WriteLine("Application started."); 30Console.WriteLine($"NetCoreAppVersion: {runtimeVersion}");
InteropWebsite (4)
Program.cs (1)
53Console.WriteLine($"Enabling connection encryption: {useTls}");
Startup.cs (3)
40Console.WriteLine("Application started."); 43Console.WriteLine($"NetCoreAppVersion: {runtimeVersion}"); 45Console.WriteLine($"AspNetCoreAppVersion: {aspNetCoreVersion}");
IOperationGenerator (17)
IOperationClassWriter.cs (1)
99Console.WriteLine("Encountered xml errors, not generating");
IOperationClassWriter.Verifier.cs (14)
20Console.WriteLine($"All IOperation node names must start with I. {abstractNode.Name} does not."); 26Console.WriteLine($"All IOperation node names must end with Operation. {abstractNode.Name} does not."); 32Console.WriteLine($"{abstractNode.Name}'s base type is not an IOperation type."); 40Console.WriteLine($"{abstractNode.Name} does not have correctly formatted comments, please ensure that there is a <summary> block for the type."); 48Console.WriteLine($"{abstractNode.Name}.{prop.Name} does not have correctly formatted comments, please ensure that there is a <summary> block for the property."); 58Console.WriteLine($"{abstractNode.Name}.{prop.Name} has nullable IOperation elements. This is not allowed in IOperation and will mess up Children generation."); 70Console.WriteLine($"{node.Name} has unexpected value for {nameof(Node.HasType)}: {node.HasTypeText}"); 76Console.WriteLine($"{node.Name} has unexpected value for {nameof(Node.HasConstantValue)}: {node.HasConstantValueText}"); 82Console.WriteLine($"{node.Name} is marked as having a constant value without having a type"); 96Console.WriteLine($"{node.Name} has inconsistent ChildrenOrder and properties"); 105Console.WriteLine($"{node.Name} has more than 1 IOperation property and must declare an explicit ordering with the ChildrenOrder attribute."); 106Console.WriteLine($"Properties: {string.Join(", ", properties)}"); 116Console.WriteLine($"{node.Name}'s ChildrenOrder contains unknown property {child}"); 123Console.WriteLine($"{node.Name}'s ChildrenOrder is missing {remainingProp}");
Program.cs (2)
16Console.Error.WriteLine("Usage: \"{0} <input> <output>\"", Path.GetFileNameWithoutExtension(args[0])); 32Console.WriteLine("Deserialize returned null.");
IStartupInjectionAssemblyName (1)
Program.cs (1)
16Console.WriteLine(applicationName);
JwtClientSample (4)
Program.cs (4)
46hubConnection.On<string, string>("Message", (sender, message) => Console.WriteLine($"[{userId}] {sender}: {message}")); 48Console.WriteLine($"[{userId}] Connection Started"); 65Console.WriteLine($"[{userId}] Token refreshed"); 78Console.WriteLine($"[{userId}] Connection terminated with error: {ex}");
Kestrel.SampleApp (2)
Startup.cs (2)
71Console.WriteLine("Unobserved exception: {0}", e.Exception); 191Console.WriteLine($"{pair.Path} - {pair.Value}");
KeyManagementSample (7)
Program.cs (7)
31Console.WriteLine("Performed a protect operation."); 38Console.WriteLine($"The key ring contains {allKeys.Count} key(s)."); 41Console.WriteLine($"Key {key.KeyId:B}: Created = {key.CreationDate:u}, IsRevoked = {key.IsRevoked}"); 46Console.WriteLine("Revoked all existing keys."); 52Console.WriteLine("Added a new key."); 56Console.WriteLine($"The key ring contains {allKeys.Count} key(s)."); 59Console.WriteLine($"Key {key.KeyId:B}: Created = {key.CreationDate:u}, IsRevoked = {key.IsRevoked}");
KeyManagementSimulator (16)
Program.cs (16)
33Console.WriteLine("Invalid argument: days must be a positive integer."); 48Console.WriteLine("Invalid argument: instances must be a positive integer."); 64Console.WriteLine("Invalid argument: seed must be a positive integer."); 76Console.WriteLine($"Unknown argument: {args[i]}"); 171Console.WriteLine($"[{i}] missing default key of [{instanceIndex}] at {refreshTime}"); 188Console.WriteLine("Individual missing key scores (lower is better)"); 194Console.WriteLine($"Instance {i}: {Math.Round(cumulativeProblemTime.TotalHours, 2)} hours"); 198Console.WriteLine($"Total missing key score (lower is better) = {Math.Round(totalProblemTime.TotalHours, 2)} hours"); 199Console.WriteLine($"Elapsed Time = {endTime - startTime}"); 200Console.WriteLine($"IXmlRepository.GetAllElements Call Count = {repository.GetAllElementsCallCount}"); 201Console.WriteLine($"IXmlRepository.StoreElement Call Count = {repository.StoreElementCallCount}"); 202Console.WriteLine($"IXmlEncryptor.Encrypt Call Count = {encryptor.EncryptCallCount}"); 203Console.WriteLine($"IXmlDecryptor.Decrypt Call Count = {decryptor.DecryptCallCount}"); 204Console.WriteLine($"Seed = {seed}"); 226Console.WriteLine("Usage: your_program [-d days] [-i instances] [-s seed]"); 419Console.WriteLine($"[{_instanceNumber}] missing default key of [{i}] at {now}");
Microsoft.Arcade.Common (3)
Command.cs (3)
135_statusForward = Console.WriteLine; 166_stdOutForward = Console.WriteLine; 181_stdErrForward = Console.WriteLine;
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (2)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
114Console.Error.WriteLine($"Test cleanup failed to delete '{Root}'");
UserJwtsTestFixture.cs (1)
113Console.WriteLine("Failed to delete " + directory);
Microsoft.AspNetCore.Components.Performance (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\DefaultWebAssemblyJSRuntime.cs (1)
106Console.Error.WriteLine($"Error deserializing root component operations: {ex}");
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
DebugProxyLauncher.cs (2)
51Console.WriteLine($"Invalid value for NO_PROXY: {noProxyEnvVar} (Expected values: \"localhost\" or \"127.0.0.1\")"); 161Console.WriteLine(eventArgs.Data);
Microsoft.AspNetCore.Components.WebView.Photino (1)
BlazorWindow.cs (1)
83Console.WriteLine($"Starting Photino window...");
Microsoft.AspNetCore.Components.WebViewE2E.Test (28)
BasicBlazorHybridTest.cs (27)
21Console.WriteLine($"Current directory: {Environment.CurrentDirectory}"); 22Console.WriteLine($"Current assembly: {typeof(Program).Assembly.Location}"); 27Console.WriteLine($"Adding new native path: {newNativePath}"); 29Console.WriteLine($"New PATH env var: {Environment.GetEnvironmentVariable("PATH")}"); 32Console.WriteLine($"Found {thisAppFiles.Length} files in this app:"); 35Console.WriteLine($"\t{file}"); 44Console.WriteLine($"Creating BlazorWindow..."); 56Console.WriteLine($"Exception {ex.GetType().FullName} while creating window: {ex.Message}"); 57Console.WriteLine(ex.StackTrace); 60Console.WriteLine($"Hooking exception handler..."); 63Console.Write( 68Console.WriteLine($"Setting up root components..."); 71Console.WriteLine($"Running window..."); 76Console.WriteLine($"RegisterWebMessageReceivedHandler..."); 102Console.WriteLine($"Waiting for WebView ready..."); 106Console.WriteLine($"WebView not ready yet, waiting 1sec..."); 111Console.WriteLine($"WebView never became ready, failing the test..."); 115Console.WriteLine($"WebView is ready!"); 133Console.WriteLine($"All tests passed!"); 138Console.WriteLine("EXCEPTION DURING TEST: " + ex.Message); 139Console.WriteLine(ex.StackTrace); 156Console.WriteLine($"Exception while running window: {ex}"); 161Console.WriteLine($"Test passed? {testPassed}"); 175Console.WriteLine($"Asking WebView for current controlDiv value..."); 181Console.WriteLine($"WebView reported the expected controlDiv value of {controlValueToWaitFor}!"); 184Console.WriteLine($"Waiting for controlDiv to have value '{controlValueToWaitFor}', but it's still '{_latestControlDivValue}', so waiting {WaitTimeInMS}ms."); 188Console.WriteLine($"Waited {MaxWaitTimes * WaitTimeInMS}ms but couldn't get controlDiv to have value '{controlValueToWaitFor}' (last value is '{_latestControlDivValue}').");
Program.cs (1)
27Console.WriteLine($"Exception while running {typeof(BasicBlazorHybridTest).FullName}: {ex}");
Microsoft.AspNetCore.ConcurrencyLimiter.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.Grpc.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.Hosting (11)
Internal\WebHost.cs (1)
232Console.WriteLine("Application startup exception: " + ex.ToString());
Internal\WebHostLifetime.cs (3)
22Console.CancelKeyPress += CancelKeyPress; 39Console.CancelKeyPress -= CancelKeyPress; 68Console.WriteLine(_shutdownMessage);
WebHostBuilder.cs (3)
146Console.WriteLine("The environment variable 'Hosting:Environment' is obsolete and has been replaced with 'ASPNETCORE_ENVIRONMENT'"); 151Console.WriteLine("The environment variable 'ASPNET_ENV' is obsolete and has been replaced with 'ASPNETCORE_ENVIRONMENT'"); 156Console.WriteLine("The environment variable 'ASPNETCORE_SERVER.URLS' is obsolete and has been replaced with 'ASPNETCORE_URLS'");
WebHostExtensions.cs (4)
119Console.WriteLine($"Hosting environment: {hostingEnvironment?.EnvironmentName}"); 120Console.WriteLine($"Content root path: {hostingEnvironment?.ContentRootPath}"); 127Console.WriteLine($"Now listening on: {address}"); 133Console.WriteLine(startupMessage);
Microsoft.AspNetCore.Hosting.TestSites (5)
StartupShutdown.cs (5)
18Console.WriteLine("Started"); 22Console.WriteLine("Stopping firing"); 24Console.WriteLine("Stopping end"); 28Console.WriteLine("Stopped firing"); 30Console.WriteLine("Stopped end");
Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.Http.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.OpenApi.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.Routing.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.Security.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.Server.HttpSys.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\RevocationResponder.cs (1)
414Console.WriteLine(trace);
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72Console.WriteLine(log);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (6)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72Console.WriteLine(log);
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72Console.WriteLine(log);
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
Microsoft.AspNetCore.SignalR.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
46Console.WriteLine($"'docker info' output: {output}");
Microsoft.AspNetCore.SpaServices.Extensions (1)
Npm\NodeScriptRunner.cs (1)
115Console.Write(chunk.Array, chunk.Offset, chunk.Count);
Microsoft.AspNetCore.WebSockets.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.Build (56)
BackEnd\BuildManager\BuildManager.cs (3)
762Console.WriteLine($"Waiting for debugger to attach ({currentProcess.MainModule!.FileName} PID {currentProcess.Id}). Press enter to continue..."); 763Console.ReadLine(); 1097Console.WriteLine(Strings.CreateDiagnosticReport());
BackEnd\Client\MSBuildClient.cs (4)
388consoleBufferWidth = Console.BufferWidth; 410consoleBackgroundColor = Console.BackgroundColor; 592Console.Write(consoleWrite.Text); 595Console.Error.Write(consoleWrite.Text);
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
115!Console.IsInputRedirected &&
BackEnd\Components\Scheduler\SchedulingPlan.cs (16)
241Console.WriteLine("{0}: {1} ({2} referrers) {3}", configuration.Key, config.TotalPlanTime, config.ReferrerCount, config.ConfigFullPath); 244Console.WriteLine(" {0} {1}", referrer.ConfigId, referrer.ConfigFullPath); 247Console.WriteLine(); 250Console.WriteLine(); 258Console.WriteLine("Projects with the most immediate children:"); 263Console.WriteLine("{0}: {1} {2}", configuration.Key, configuration.Value.ReferencesCount, configuration.Value.ConfigFullPath); 266Console.WriteLine(); 274Console.WriteLine("Configs in hierarchy by number of occurrences:"); 279Console.WriteLine("{0}: {1} {2}", configId, _configIdToPaths[configId].Count, _configIdToData[configId].ConfigFullPath); 282Console.WriteLine(); 332Console.WriteLine("Projects by expense:"); 341Console.WriteLine("{0}: {1} {2}", config.ConfigId, config.AccumulatedTime, config.ConfigFullPath); 348Console.Write(" "); 351Console.Write(" {0}", pathEntry.ConfigId); 354Console.WriteLine(); 357Console.WriteLine();
BackEnd\Node\OutOfProcServerNode.cs (8)
393Console.BufferWidth = command.ConsoleConfiguration.BufferWidth; 398Console.BackgroundColor = command.ConsoleConfiguration.BackgroundColor; 407var oldOut = Console.Out; 408var oldErr = Console.Error; 415Console.SetOut(outWriter); 416Console.SetError(errWriter); 420Console.SetOut(oldOut); 421Console.SetError(oldErr);
Evaluation\Expander.cs (1)
1370Console.WriteLine("Expanding: {0}", propertyBody);
Logging\BaseConsoleLogger.cs (4)
308Console.ForegroundColor = TransformColor(c, ConsoleConfiguration.BackgroundColor); 323Console.ResetColor(); 361Console.Out.Write(colorString); 370Console.Out.Write("\x1b[m");
Logging\ConsoleLogger.cs (1)
76this(verbosity, Console.Out.Write, BaseConsoleLogger.SetColor, BaseConsoleLogger.ResetColor)
Logging\InProcessConsoleConfiguration.cs (5)
20public int BufferWidth => Console.BufferWidth; 27if (NativeMethodsShared.IsWindows && !Console.IsOutputRedirected) 45acceptAnsiColorCodes = !Console.IsOutputRedirected; 60return Console.BackgroundColor; 93isScreen = !Console.IsOutputRedirected;
Logging\ParallelLogger\ConsoleOutputAligner.cs (1)
12/// Align output to multiple lines so no logged test is lost due to limited <see cref="Console.BufferWidth"/>.
Logging\ParallelLogger\ParallelConsoleLogger.cs (2)
51new WriteHandler(Console.Out.Write), 1217Console.WriteLine(e.Message);
Logging\ProfilerLogger.cs (3)
288Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("WritingProfilerReport", FileToLog)); 298Console.WriteLine(ResourceUtilities.GetResourceString("WritingProfilerReportDone")); 307Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("ErrorWritingProfilerReport", ex.Message));
Logging\SerialConsoleLogger.cs (2)
41new WriteHandler(Console.Out.Write), 592Console.WriteLine(e.Message);
Logging\SimpleErrorLogger.cs (2)
73Console.Error.WriteLine(AnsiCodes.Colorize(message, color)); 77Console.Error.WriteLine(message);
Modifiers.cs (2)
240Console.WriteLine("'{0}' is a non-standard casing. Replace the use with the standard casing like 'RecursiveDir' or 'FullPath' for a small performance improvement.", name); 301Console.WriteLine("'{0}' is a non-standard casing. Replace the use with the standard casing like 'RecursiveDir' or 'FullPath' for a small performance improvement.", name);
PrintLineDebuggerWriters.cs (1)
69public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.WriteLine(SimpleFormat(id, callsite, args));
Microsoft.Build.CommandLine.UnitTests (6)
CommandLineSwitches_Tests.cs (1)
1621Console.WriteLine(e.Message);
XMake_Tests.cs (5)
916var originalOutputEncoding = Console.OutputEncoding; 917var originalInputEncoding = Console.InputEncoding; 928Assert.Equal(65001, Console.OutputEncoding.CodePage); // UTF-8 enabled for correct rendering. 939Console.OutputEncoding = originalOutputEncoding; 940Console.InputEncoding = originalInputEncoding;
Microsoft.Build.Engine.OM.UnitTests (10)
Construction\ProjectRootElement_Tests.cs (7)
541Console.WriteLine(@"Loaded target: {0}", target); 542Console.WriteLine(@"Children: {0}", Helpers.Count(project.Children)); 543Console.WriteLine(@"Targets: {0}", Helpers.MakeList(project.Targets).Count); 544Console.WriteLine(@"Root ItemGroups: {0}", Helpers.MakeList(project.ItemGroups).Count); 545Console.WriteLine(@"Root PropertyGroups: {0}", Helpers.MakeList(project.PropertyGroups).Count); 546Console.WriteLine(@"UsingTasks: {0}", Helpers.MakeList(project.UsingTasks).Count); 547Console.WriteLine(@"ItemDefinitionGroups: {0}", Helpers.MakeList(project.ItemDefinitionGroups).Count);
Definition\Project_Tests.cs (1)
221Console.WriteLine(ex.Message);
Definition\ProjectCollection_Tests.cs (1)
776Console.WriteLine(ex.Message);
PrintLineDebuggerWriters.cs (1)
69public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.WriteLine(SimpleFormat(id, callsite, args));
Microsoft.Build.Engine.UnitTests (104)
BackEnd\BuildManager_Tests.cs (7)
1524Console.WriteLine("Starting CancelledBuild test that is known to hang."); 1543Console.WriteLine("CancelledBuild: beginning build"); 1545Console.WriteLine("CancelledBuild: build begun"); 1548Console.WriteLine("CancelledBuild: pend build returned"); 1552Console.WriteLine("CancelledBuild: ExecuteAsync called"); 1554Console.WriteLine("CancelledBuild: submissions cancelled"); 1562Console.WriteLine("CancelledBuild: build ended");
BackEnd\MockLoggingService.cs (1)
31_writer = writter ?? Console.WriteLine;
BackEnd\MSBuild_Tests.cs (2)
683Console.WriteLine(logger.FullLog); 750Console.WriteLine(logger.FullLog);
BackEnd\TargetBuilder_Tests.cs (1)
1671Console.WriteLine(ex.ToString());
BackEnd\TargetUpToDateChecker_Tests.cs (8)
250Console.WriteLine("MultiInputItemsThatCorrelatesWithMultipleTransformOutputItems"); 288Console.WriteLine("Changed: {0}:{1}", itemInstance.ItemType, itemInstance.EvaluatedInclude); 301Console.WriteLine("InputItemsTransformedToDifferentNumberOfOutputsFewer"); 330Console.WriteLine("InputItemsTransformedToDifferentNumberOfOutputsFewer1"); 359Console.WriteLine("InputItemsTransformedToDifferentNumberOfOutputsMore"); 389Console.WriteLine("InputItemsTransformedToDifferentNumberOfOutputsMore1"); 419Console.WriteLine("InputItemsTransformedToDifferentNumberOfOutputsTwoWays"); 462Console.WriteLine("MultiInputItemsThatCorrelatesWithMultipleTransformOutputItems2");
BackEnd\TaskHost_Tests.cs (5)
1283Console.Out.WriteLine("AnyEvent:" + e.Message); 1296Console.Out.WriteLine("CustomError:" + e.Message); 1309Console.Out.WriteLine("CustomWarning:" + e.Message); 1322Console.Out.WriteLine("CustomMessage:" + e.Message); 1335Console.Out.WriteLine("CustomEvent:" + e.Message);
Construction\ElementLocation_Tests.cs (1)
339Console.WriteLine(readWriteLoadLocations);
Definition\ToolsVersion_Tests.cs (1)
225Console.WriteLine(mockLogger.FullLog);
Evaluation\Evaluator_Tests.cs (2)
1154Console.WriteLine(project.Xml.RawXml); 4482Console.WriteLine("Expect exception: " + e.Message);
Evaluation\Expander_Tests.cs (4)
4304Console.WriteLine(message); 4309Console.WriteLine(validTests[i][0] + " expanded to '" + result + "'"); 4326Console.WriteLine(errorTests[i] + " did not expand."); 4332Console.WriteLine(errorTests[i] + " caused '" + ex.Message + "'");
Evaluation\ExpressionShredder_Tests.cs (14)
441Console.WriteLine(input); 462Console.WriteLine("verifying item names..."); 466Console.WriteLine("verifying metadata ..."); 469Console.WriteLine("===OK==="); 476Console.WriteLine("Expecting " + expected.Count + " distinct values for <" + test + ">"); 504Console.Write("FOUND: "); 507Console.Write("<" + result + "> "); 509Console.WriteLine(); 515Console.WriteLine(message); 525Console.WriteLine("Expecting " + expected.Count + " distinct values for <" + test + ">"); 553Console.Write("FOUND: "); 556Console.Write("<" + result + "> "); 558Console.WriteLine(); 564Console.WriteLine(message);
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (8)
168Console.WriteLine(logger.FullLog); 169Console.WriteLine("checking FromExtn"); 171Console.WriteLine("checking logcontains"); 209Console.WriteLine(logger.FullLog); 210Console.WriteLine("checking FromExtn1"); 212Console.WriteLine("checking FromExtn2"); 214Console.WriteLine("checking logcontains"); 264Console.WriteLine(logger.FullLog);
ExpressionTree_Tests.cs (5)
395Console.Write(" {0}:\t", entry.Key); 401Console.Write("{0}, ", property); 403Console.WriteLine(); 412Console.WriteLine("NegationParseTest()"); 493Console.WriteLine(e.BaseMessage);
FileMatcher_Tests.cs (9)
600Console.WriteLine($"Input {input.Item1} with pattern {input.Item2} failed"); 651Console.WriteLine("GetFileSystemEntries('{0}', '{1}')", path, pattern); 1247Console.WriteLine(result); 1267Console.WriteLine(result); 2496Console.WriteLine("Expect Fixed '{0}' got '{1}'", expectedFixedDirectoryPart, fixedDirectoryPart); 2497Console.WriteLine("Expect Wildcard '{0}' got '{1}'", expectedWildcardDirectoryPart, wildcardDirectoryPart); 2498Console.WriteLine("Expect Filename '{0}' got '{1}'", expectedFilenamePart, filenamePart); 2604Console.WriteLine("Checking FileSpec: '{0}' against '{1}'", filespec, fileToMatch); 2609Console.WriteLine("Checking FileSpec: '{0}' against '{1}'", filespec, fileToMatch);
FileUtilities_Tests.cs (1)
183Console.WriteLine(e.Message);
Parser_Tests.cs (29)
28Console.WriteLine("SimpleParseTest()"); 77Console.WriteLine("ComplexParseTest()"); 105Console.WriteLine("NegationParseTest()"); 122Console.WriteLine("FunctionCallParseTest()"); 136Console.WriteLine("FunctionCallParseTest()"); 146Console.WriteLine(e.BaseMessage); 158Console.WriteLine(e.BaseMessage); 170Console.WriteLine(e.BaseMessage); 182Console.WriteLine(e.BaseMessage); 194Console.WriteLine(e.BaseMessage); 206Console.WriteLine(e.BaseMessage); 215Console.WriteLine("ItemFuncParseTest()"); 235Console.WriteLine("FunctionCallParseTest()"); 245Console.WriteLine(e.BaseMessage); 257Console.WriteLine(e.BaseMessage); 269Console.WriteLine(e.BaseMessage); 281Console.WriteLine(e.BaseMessage); 293Console.WriteLine(e.BaseMessage); 305Console.WriteLine(e.BaseMessage); 316Console.WriteLine("NegativeTests()"); 329Console.WriteLine(e.BaseMessage); 342Console.WriteLine(e.BaseMessage); 354Console.WriteLine(e.BaseMessage); 367Console.WriteLine(e.BaseMessage); 380Console.WriteLine(e.BaseMessage); 393Console.WriteLine(e.BaseMessage); 405Console.WriteLine(e.BaseMessage); 418Console.WriteLine(e.BaseMessage); 430Console.WriteLine(e.BaseMessage);
Scanner_Tests.cs (2)
62Console.WriteLine(ex.Message); 496Console.WriteLine("here");
Utilities_Tests.cs (4)
331Console.WriteLine("originalxml = " + xmlText); 332Console.WriteLine("innerText = " + rootElement.InnerText); 333Console.WriteLine("innerXml = " + rootElement.InnerXml); 334Console.WriteLine("-----------");
Microsoft.Build.Framework (3)
EncodingUtilities.cs (2)
275Console.OutputEncoding = Encoding.UTF8; 277Console.InputEncoding = Encoding.UTF8;
NativeMethods.cs (1)
1582if (Console.IsOutputRedirected)
Microsoft.Build.Tasks.CodeAnalysis (8)
src\Compilers\Core\CommandLine\ConsoleUtil.cs (6)
17/// This will update the <see cref="Console.Out"/> value to have UTF-8 encoding for the duration of the 22Encoding savedEncoding = Console.OutputEncoding; 25Console.OutputEncoding = s_utf8Encoding; 26return func(Console.Out); 32Console.OutputEncoding = savedEncoding; 45if (textWriter != Console.Out)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (2)
62Console.WriteLine(message); 63Console.WriteLine(stackTrace);
Microsoft.Build.Tasks.Core (3)
Modifiers.cs (2)
240Console.WriteLine("'{0}' is a non-standard casing. Replace the use with the standard casing like 'RecursiveDir' or 'FullPath' for a small performance improvement.", name); 301Console.WriteLine("'{0}' is a non-standard casing. Replace the use with the standard casing like 'RecursiveDir' or 'FullPath' for a small performance improvement.", name);
PrintLineDebuggerWriters.cs (1)
69public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.WriteLine(SimpleFormat(id, callsite, args));
Microsoft.Build.Tasks.UnitTests (47)
Copy_Tests.cs (2)
2637Console.WriteLine("CopyToDestinationFolderWithHardLinkFallbackNetwork test could not access the network."); 3074Console.WriteLine("Copied {0} to {1} OK", source, destination);
Exec_Tests.cs (5)
654Console.WriteLine(e.Log); 676Console.WriteLine(e.Log); 685Console.WriteLine(e.Log); 707Console.WriteLine(e.Log); 717Console.WriteLine(e.Log);
FindInList_Tests.cs (1)
133Console.WriteLine(e.Log);
NativeMethodsShared_Tests.cs (1)
146Console.WriteLine(e.Message);
ResourceHandling\GenerateResource_Tests.cs (7)
52Console.WriteLine("Performing BasicResX2Resources() test"); 1690Console.WriteLine("Performing TextToResourcesBadFormat() test"); 2183Console.WriteLine("Performing AttributeForwarding() test"); 2518Console.WriteLine("Performing EmptySources() test"); 3073Console.WriteLine("Performing DontLockP2PReferenceWhenResolvingSystemTypes() test"); 3249Console.WriteLine("Performing ReferencedAssemblySpecifiedUsingRelativePath() test"); 3405Console.WriteLine("Performing ResgenCommandLineLogging() test");
WriteCodeFragment_Tests.cs (11)
304Console.WriteLine(content); 332Console.WriteLine(content); 358Console.WriteLine(content); 435Console.WriteLine(content); 511Console.WriteLine(content); 535Console.WriteLine(content); 567Console.WriteLine(content); 603Console.WriteLine(content); 706Console.WriteLine(content); 739Console.WriteLine(content); 1106Console.WriteLine(content);
XmlPeek_Tests.cs (1)
303Console.WriteLine(engine.Log);
XslTransformation_Tests.cs (19)
195Console.WriteLine(engine.Log); 244Console.WriteLine(engine.Log); 275Console.WriteLine(engine.Log); 309Console.WriteLine(engine.Log); 343Console.WriteLine(engine.Log); 375Console.WriteLine(engine.Log); 412Console.WriteLine(engine.Log); 461Console.WriteLine(engine.Log); 502Console.WriteLine(engine.Log); 589Console.WriteLine(engine.Log); 625Console.WriteLine(engine.Log); 652Console.WriteLine(engine.Log); 682Console.WriteLine(engine.Log); 740Console.WriteLine(engine.Log); 773Console.WriteLine(engine.Log); 838Console.WriteLine(engine.Log); 880Console.WriteLine(engine.Log); 969Console.WriteLine(engine.Log); 1032Console.WriteLine(engine.Log);
Microsoft.Build.UnGAC (4)
Program.cs (4)
42Console.WriteLine($"Could not successfully call CreateAssemblyCache. HResult: {hresult}"); 43Console.WriteLine("Exiting without removing assemblies from the GAC..."); 51Console.WriteLine($"Tried to remove {assembly} from the GAC. HResult: 0x{hresult:X8}"); 56Console.WriteLine($"Caught an exception! We don't want to throw because we want MSBuild to install.\n" + e.ToString());
Microsoft.Build.UnitTests.Shared (30)
MockEngine.cs (7)
98Console.WriteLine(message); 125Console.WriteLine(message); 139Console.WriteLine(eventArgs.Message); 153Console.WriteLine(eventArgs.Message); 174Console.WriteLine(message); 413Console.WriteLine(logText); 439Console.WriteLine(logText);
MockLogger.cs (1)
441Console.Write(FullLog);
ObjectModelHelpers.cs (19)
450Console.WriteLine("ERROR: Items were returned in the incorrect order..."); 451Console.WriteLine("Expected: " + expectedItemSpecs); 452Console.WriteLine("Actual: " + actualItemSpecs); 822Console.WriteLine("================================= EXPECTED ==========================================="); 823Console.WriteLine(newExpectedProjectContents); 824Console.WriteLine(); 825Console.WriteLine("================================== ACTUAL ============================================"); 826Console.WriteLine(newActualProjectContents); 827Console.WriteLine(); 891Console.WriteLine(ex.ToString()); 929Console.WriteLine(ex.ToString()); 1570Console.WriteLine("================================= EXPECTED ==========================================="); 1571Console.WriteLine(newExpectedProjectContents); 1572Console.WriteLine(); 1573Console.WriteLine("================================== ACTUAL ============================================"); 1574Console.WriteLine(newActualProjectContents); 1575Console.WriteLine(); 1906Console.WriteLine("COMPARE EXCEPTIONS:\n\n#1: {0}\n\n#2: {1}", ex1.Message, ex2.Message); 1922Action<string> LogLine = testOutput == null ? (Action<string>)Console.WriteLine : testOutput.WriteLine;
RunnerUtilities.cs (1)
177Console.WriteLine(data);
TestEnvironment.cs (2)
366Console.WriteLine(message); 371Console.WriteLine(format, args);
Microsoft.Build.Utilities.Core (3)
Modifiers.cs (2)
240Console.WriteLine("'{0}' is a non-standard casing. Replace the use with the standard casing like 'RecursiveDir' or 'FullPath' for a small performance improvement.", name); 301Console.WriteLine("'{0}' is a non-standard casing. Replace the use with the standard casing like 'RecursiveDir' or 'FullPath' for a small performance improvement.", name);
PrintLineDebuggerWriters.cs (1)
69public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.WriteLine(SimpleFormat(id, callsite, args));
Microsoft.Build.Utilities.UnitTests (19)
MockEngine.cs (4)
46Console.WriteLine(EventArgsFormatting.FormatEventMessage(eventArgs)); 53Console.WriteLine(EventArgsFormatting.FormatEventMessage(eventArgs)); 60Console.WriteLine(eventArgs.Message); 69Console.WriteLine(eventArgs.Message);
NativeMethodsShared_Tests.cs (1)
146Console.WriteLine(e.Message);
ProcessorArchitecture_Tests.cs (1)
61Console.WriteLine("BuildUtilities.ProcessorArchitecture.CurrentProcessArchitecture is: {0}", ProcessorArchitecture.CurrentProcessArchitecture);
TaskItem_Tests.cs (2)
143Console.WriteLine(e.Message); 163Console.WriteLine(e.Message);
TaskLoggingHelper_Tests.cs (1)
227Console.WriteLine(e.Message);
ToolTask_Tests.cs (1)
108Console.WriteLine("executetool");
TrackedDependencies\MockEngine.cs (9)
42Console.Write("{0}({1},{2}): ", eventArgs.File, eventArgs.LineNumber, eventArgs.ColumnNumber); 45Console.Write("ERROR: "); 47Console.Write("ERROR " + eventArgs.Code + ": "); 51Console.WriteLine(eventArgs.Message); 60Console.Write("{0}({1},{2}): ", eventArgs.File, eventArgs.LineNumber, eventArgs.ColumnNumber); 63Console.Write("WARNING " + eventArgs.Code + ": "); 67Console.WriteLine(eventArgs.Message); 74Console.WriteLine(eventArgs.Message); 81Console.WriteLine(eventArgs.Message);
Microsoft.Cci.Extensions (2)
Experimental\APIEmitter.cs (1)
23_writer = Console.Out;
Traversers\DependencyTraverser.cs (1)
106Console.WriteLine("Why");
Microsoft.CodeAnalysis (11)
CommandLine\CommonCompiler.cs (1)
275using var data = Console.OpenStandardInput();
InternalUtilities\Debug.cs (2)
62Console.WriteLine(message); 63Console.WriteLine(stackTrace);
InternalUtilities\FailFast.cs (8)
63Console.WriteLine("Dumping info before call to failfast"); 66Console.WriteLine(message); 71Console.WriteLine("Exception info"); 74Console.WriteLine(current.Message); 75Console.WriteLine(current.StackTrace); 79Console.WriteLine("Stack trace of handler"); 81Console.WriteLine(stackTrace.ToString()); 83Console.Out.Flush();
Microsoft.CodeAnalysis.CodeStyle (10)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (2)
62Console.WriteLine(message); 63Console.WriteLine(stackTrace);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (8)
63Console.WriteLine("Dumping info before call to failfast"); 66Console.WriteLine(message); 71Console.WriteLine("Exception info"); 74Console.WriteLine(current.Message); 75Console.WriteLine(current.StackTrace); 79Console.WriteLine("Stack trace of handler"); 81Console.WriteLine(stackTrace.ToString()); 83Console.Out.Flush();
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (2)
299if (Console.IsInputRedirected) 1351if (Console.IsInputRedirected)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
4494Console.WriteLine(outWriter.ToString()); 6057if (Console.IsInputRedirected) 7053Console.WriteLine(outWriter.ToString()); 9219Console.WriteLine(writer.ToString());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Diagnostics\CompilationEventTests.cs (9)
25Console.WriteLine("Expected duplicate " + s); 44Console.WriteLine("UNEXPECTED EVENTS:"); 47Console.WriteLine(eventString); 52Console.WriteLine("MISSING EVENTS:"); 56Console.WriteLine(e); 61Console.WriteLine("ACTUAL EVENTS:"); 66Console.WriteLine(","); 69Console.Write("\"" + e.ToString() + "\""); 71Console.WriteLine();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\QueryTests.cs (1)
1658foreach (var dd in compilation.GetDiagnostics()) Console.WriteLine(dd);
Semantics\VarianceTests.cs (2)
126Console.WriteLine("Failed on assignment i{0:d2} = i{1:d2}", i, j); 242Console.WriteLine("Failed on assignment d{0:d2} = d{1:d2}", i, j);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Retargeting\RetargetExplicitInterfaceImplementation.cs (1)
359Console.WriteLine(diag);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
LexicalAndXml\DocumentationCommentLexerTestBase.cs (1)
70Console.WriteLine(string.Join("," + Environment.NewLine, baseline));
Parsing\PatternParsingTests.cs (2)
3000Console.WriteLine("Failed on \"" + source + "\""); 3005Console.WriteLine("Failed on \"" + source + "\"");
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (10)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (2)
62Console.WriteLine(message); 63Console.WriteLine(stackTrace);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (8)
63Console.WriteLine("Dumping info before call to failfast"); 66Console.WriteLine(message); 71Console.WriteLine("Exception info"); 74Console.WriteLine(current.Message); 75Console.WriteLine(current.StackTrace); 79Console.WriteLine("Stack trace of handler"); 81Console.WriteLine(stackTrace.ToString()); 83Console.Out.Flush();
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (11)
ResultProviderTestBase.cs (1)
364Console.WriteLine("{0}, ", ToString(result));
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (2)
62Console.WriteLine(message); 63Console.WriteLine(stackTrace);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (8)
63Console.WriteLine("Dumping info before call to failfast"); 66Console.WriteLine(message); 71Console.WriteLine("Exception info"); 74Console.WriteLine(current.Message); 75Console.WriteLine(current.StackTrace); 79Console.WriteLine("Stack trace of handler"); 81Console.WriteLine(stackTrace.ToString()); 83Console.Out.Flush();
Microsoft.CodeAnalysis.Features (3)
Snippets\SnippetProviders\AbstractConsoleSnippetProvider.cs (3)
44var resultingNode = generator.InvocationExpression(generator.MemberAccessExpression(generator.IdentifierName(nameof(Console)), nameof(Console.WriteLine))); 91=> compilation.GetBestTypeByMetadataName(typeof(Console).FullName!);
Microsoft.CodeAnalysis.InteractiveHost (30)
Interactive\Core\InteractiveHost.Service.cs (20)
140Console.OutputEncoding = OutputEncoding; 172var globals = new InteractiveScriptGlobals(Console.Out, replServiceProvider.ObjectFormatter); 328Console.Error.WriteLine(string.Format(InteractiveHostResources.Cannot_resolve_reference_0, reference)); 393Console.Error.WriteLine(e.InnerException.Message); 397Console.Error.Write(GetServiceState().ReplServiceProvider.ObjectFormatter.FormatException(e)); 480Console.Error.WriteLine("Unexpected error:"); 481Console.Error.WriteLine(e); 515Console.Out.WriteLine(serviceState.ReplServiceProvider.Logo); 520Console.Out.WriteLine(string.Format(InteractiveHostResources.Loading_context_from_0, Path.GetFileName(initializationFilePath))); 532var writer = (error.Severity == DiagnosticSeverity.Error) ? Console.Error : Console.Out; 603Console.Out.WriteLine(InteractiveHostResources.Type_Sharphelp_for_more_information); 633Console.Error.WriteLine(InteractiveHostResources.Specified_file_not_found_colon_0, path); 637Console.Error.WriteLine(InteractiveHostResources.Specified_file_not_found); 642DisplaySearchPaths(Console.Error, attempts); 669DisplayInteractiveErrors(diagnostics, Console.Error); 715Console.Error.WriteLine(e.Message); 817Console.Error.WriteLine("in the loop"); 829using (var stream = isError ? Console.OpenStandardError() : Console.OpenStandardOutput())
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (2)
62Console.WriteLine(message); 63Console.WriteLine(stackTrace);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (8)
63Console.WriteLine("Dumping info before call to failfast"); 66Console.WriteLine(message); 71Console.WriteLine("Exception info"); 74Console.WriteLine(current.Message); 75Console.WriteLine(current.StackTrace); 79Console.WriteLine("Stack trace of handler"); 81Console.WriteLine(stackTrace.ToString()); 83Console.Out.Flush();
Microsoft.CodeAnalysis.LanguageServer (2)
Program.cs (2)
30Console.Title = "Microsoft.CodeAnalysis.LanguageServer"; 134Console.WriteLine(JsonSerializer.Serialize(new NamedPipeInformation(clientPipeName)));
Microsoft.CodeAnalysis.Scripting (5)
Hosting\CommandLine\ConsoleIO.cs (5)
15public static readonly ConsoleIO Default = new ConsoleIO(Console.Out, Console.Error, Console.In); 31public virtual void SetForegroundColor(ConsoleColor consoleColor) => Console.ForegroundColor = consoleColor; 33public virtual void ResetColor() => Console.ResetColor();
Microsoft.CodeAnalysis.Test.Utilities (7)
CompilationVerifier.cs (1)
282Console.WriteLine(il);
Platform\Desktop\DesktopRuntimeEnvironment.cs (6)
416TextWriter originalOut = Console.Out; 417TextWriter originalError = Console.Error; 420Console.SetOut(outputWriter); 421Console.SetError(errorOutputWriter); 426Console.SetOut(originalOut); 427Console.SetError(originalError);
Microsoft.CodeAnalysis.UnitTests (1)
Analyzers\AnalyzerFileReferenceAppDomainTests.cs (1)
123Console.WriteLine($"Resolve in {AppDomain.CurrentDomain.Id} for {e.Name}");
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (10)
ExpressionTrees\Sources\ExprLambdaUtils.vb (4)
35Console.WriteLine("FAIL") 36Console.WriteLine("expected: '" & expected & "'") 37Console.WriteLine("actual: '" & actual & "'") 38Console.WriteLine()
ExpressionTrees\Sources\QueryHelper.vb (6)
60Console.WriteLine(func.Dump) 67Console.WriteLine(resultSelector.Dump) 73Console.WriteLine(predicate.Dump) 83Console.WriteLine(outerKeySelector.Dump) 84Console.WriteLine(innerKeySelector.Dump) 85Console.WriteLine(resultSelector.Dump)
Microsoft.CodeAnalysis.Workspaces (10)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (2)
62Console.WriteLine(message); 63Console.WriteLine(stackTrace);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (8)
63Console.WriteLine("Dumping info before call to failfast"); 66Console.WriteLine(message); 71Console.WriteLine("Exception info"); 74Console.WriteLine(current.Message); 75Console.WriteLine(current.StackTrace); 79Console.WriteLine("Stack trace of handler"); 81Console.WriteLine(stackTrace.ToString()); 83Console.Out.Flush();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (13)
Program.cs (3)
35var logger = new BuildHostLogger(Console.Error); 49var server = new RpcServer(sendingStream: Console.OpenStandardOutput(), receivingStream: Console.OpenStandardInput());
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (2)
62Console.WriteLine(message); 63Console.WriteLine(stackTrace);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (8)
63Console.WriteLine("Dumping info before call to failfast"); 66Console.WriteLine(message); 71Console.WriteLine("Exception info"); 74Console.WriteLine(current.Message); 75Console.WriteLine(current.StackTrace); 79Console.WriteLine("Stack trace of handler"); 81Console.WriteLine(stackTrace.ToString()); 83Console.Out.Flush();
Microsoft.DotNet.Arcade.Sdk (2)
src\InstallDotNetCore.cs (2)
160Console.WriteLine(e.Data); 167Console.Error.WriteLine(e.Data);
Microsoft.DotNet.ArcadeAzureIntegration (1)
AzureCliCredentialWithAzNoUpdateWrapper.cs (1)
111Console.WriteLine($"Warning - Disable auto update of Azure CLI failed: {e.Message}");
Microsoft.DotNet.ArcadeLogging (2)
PipelinesLogger.cs (2)
113Console.WriteLine(_builder.GetMessage()); 171Console.WriteLine(_builder.GetMessage());
Microsoft.DotNet.AsmDiff (1)
Program.cs (1)
206return Console.Out;
Microsoft.DotNet.GenAPI (1)
GenAPITask.cs (1)
286return Console.Out;
Microsoft.DotNet.Open.Api.Tools.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
114Console.Error.WriteLine($"Test cleanup failed to delete '{Root}'");
Microsoft.DotNet.RemoteExecutor (1)
Program.cs (1)
25Console.Error.WriteLine("Usage: {0} assemblyName typeName methodName exceptionFile [additionalArgs]", typeof(Program).GetTypeInfo().Assembly.GetName().Name);
Microsoft.DotNet.SignCheckLibrary (6)
Logging\ConsoleLogger.cs (6)
17Console.WriteLine(message); 39var fgColor = Console.ForegroundColor; 40Console.ForegroundColor = ConsoleColor.Red; 41Console.Error.WriteLine(message); 42Console.ForegroundColor = fgColor; 63Console.WriteLine();
Microsoft.DotNet.SwaggerGenerator.CmdLine (5)
Program.cs (5)
23Console.Error.WriteLine("fatal: " + message); 63Console.WriteLine(versionString); 69options.WriteOptionDescriptions(Console.Out); 90Console.Error.WriteLine($"error: In {error.Pointer} '{error.Message}'"); 93Console.Error.WriteLine("OpenApi Document parsing resulted in errors. Output may be compromised.");
Microsoft.DotNet.Tar (3)
Program.cs (3)
18Console.Error.WriteLine("Usage: <src path> <dst path>"); 41Console.Error.WriteLine($"File or directory must exist: '{srcPath}'"); 47Console.Error.Write(e.Message);
Microsoft.DotNet.VersionTools.Cli (5)
ConsoleLogger.cs (5)
12Console.WriteLine(String.Format(message, values)); 17var fgColor = Console.ForegroundColor; 18Console.ForegroundColor = ConsoleColor.Red; 19Console.Error.WriteLine(String.Format(message, values)); 20Console.ForegroundColor = fgColor;
Microsoft.Extensions.AI.AotCompatibility.TestApp (1)
Program.cs (1)
22System.Console.WriteLine("Success!");
Microsoft.Extensions.ApiDescription.Client.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
114Console.Error.WriteLine($"Test cleanup failed to delete '{Root}'");
Microsoft.Extensions.ApiDescription.Tool.Tests (1)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
114Console.Error.WriteLine($"Test cleanup failed to delete '{Root}'");
Microsoft.Extensions.Caching.MicroBenchmarks (1)
Program.cs (1)
9Console.WriteLine("Release mode only");
Microsoft.Extensions.Diagnostics (1)
Metrics\DebugConsoleMetricListener.cs (1)
69var writer = _textWriter ?? Console.Out;
Microsoft.Extensions.Logging.Console (8)
AnsiLogConsole.cs (2)
17_textWriter = stdErr ? System.Console.Error : System.Console.Out;
AnsiParsingLogConsole.cs (5)
21_textWriter = stdErr ? System.Console.Error : System.Console.Out; 40System.Console.BackgroundColor = background.Value; 50System.Console.ForegroundColor = foreground.Value; 58System.Console.ResetColor();
src\libraries\Common\src\System\Console\ConsoleUtils.cs (1)
28bool enabled = !Console.IsOutputRedirected;
Microsoft.Extensions.ObjectPool.Microbenchmark (5)
src\Shared\BenchmarkRunner\Program.cs (5)
67Console.Error.WriteLine("'{0}' failed, reason: '{1}'", o, message); 95Console.WriteLine("Using the debug config since you are debugging. I hope that's OK!"); 96Console.WriteLine("Specify a configuration with --config <name> to override"); 104_standardOutput = Console.Out; 106Console.SetOut(new StringWriter(_standardOutputText));
Microsoft.Extensions.SecretManager.Tools.Tests (2)
src\Tools\Shared\TestHelpers\TemporaryDirectory.cs (1)
114Console.Error.WriteLine($"Test cleanup failed to delete '{Root}'");
UserSecretsTestFixture.cs (1)
94Console.WriteLine("Failed to delete " + directory);
Microsoft.Extensions.Telemetry (1)
Latency\Internal\LatencyConsoleExporter.cs (1)
109return Console.Out.WriteAsync(sb.ToString());
Microsoft.Extensions.Telemetry.Tests (5)
Latency\Internal\LatencyConsoleExporterTests.cs (4)
71System.Console.SetOut(a); 93System.Console.SetOut(a); 115System.Console.SetOut(a); 137System.Console.SetOut(a);
Logging\ExtendedLoggerFactoryTests.cs (1)
267System.Console.WriteLine(s);
Microsoft.ML.AutoML.Samples (92)
AutoFit\BinaryClassificationExperiment.cs (16)
25Console.WriteLine($"Running AutoML binary classification experiment for {ExperimentTime} seconds..."); 32Console.WriteLine($"Total models produced: {experimentResult.RunDetails.Count()}"); 33Console.WriteLine($"Best model's trainer: {bestRun.TrainerName}"); 34Console.WriteLine($"Metrics of best model from validation data --"); 40Console.WriteLine($"Metrics of best model on test data --"); 56Console.WriteLine($"Predicted sentiment for test issue: {prediction.Prediction}"); 58Console.WriteLine("Press any key to continue..."); 59Console.ReadKey(); 64Console.WriteLine($"Accuracy: {metrics.Accuracy}"); 65Console.WriteLine($"AreaUnderPrecisionRecallCurve: {metrics.AreaUnderPrecisionRecallCurve}"); 66Console.WriteLine($"AreaUnderRocCurve: {metrics.AreaUnderRocCurve}"); 67Console.WriteLine($"F1Score: {metrics.F1Score}"); 68Console.WriteLine($"NegativePrecision: {metrics.NegativePrecision}"); 69Console.WriteLine($"NegativeRecall: {metrics.NegativeRecall}"); 70Console.WriteLine($"PositivePrecision: {metrics.PositivePrecision}"); 71Console.WriteLine($"PositiveRecall: {metrics.PositiveRecall}");
AutoFit\MulticlassClassificationExperiment.cs (12)
26Console.WriteLine($"Running AutoML multiclass classification experiment for {ExperimentTime} seconds..."); 33Console.WriteLine($"Total models produced: {experimentResult.RunDetails.Count()}"); 34Console.WriteLine($"Best model's trainer: {bestRun.TrainerName}"); 35Console.WriteLine($"Metrics of best model from validation data --"); 41Console.WriteLine($"Metrics of best model on test data --"); 57Console.WriteLine($"Predicted number for test pixels: {prediction.Prediction}"); 59Console.WriteLine("Press any key to continue..."); 60Console.ReadKey(); 65Console.WriteLine($"LogLoss: {metrics.LogLoss}"); 66Console.WriteLine($"LogLossReduction: {metrics.LogLossReduction}"); 67Console.WriteLine($"MacroAccuracy: {metrics.MacroAccuracy}"); 68Console.WriteLine($"MicroAccuracy: {metrics.MicroAccuracy}");
AutoFit\RankingExperiment.cs (11)
29Console.WriteLine($"Running AutoML recommendation experiment for {ExperimentTime} seconds..."); 41Console.WriteLine($"Total models produced: {experimentResult.RunDetails.Count()}"); 42Console.WriteLine($"Best model's trainer: {bestRun.TrainerName}"); 43Console.WriteLine($"Metrics of best model from validation data --"); 49Console.WriteLine($"Metrics of best model on test data --"); 66Console.WriteLine($"Predicted rating for: {prediction.Prediction}"); 76Console.WriteLine($"Predicted: {prediction.Prediction}"); 78Console.WriteLine("Press any key to continue..."); 79Console.ReadKey(); 84Console.WriteLine($"NormalizedDiscountedCumulativeGains: {metrics.NormalizedDiscountedCumulativeGains}"); 85Console.WriteLine($"DiscountedCumulativeGains: {metrics.DiscountedCumulativeGains}");
AutoFit\RecommendationExperiment.cs (13)
32Console.WriteLine($"Running AutoML recommendation experiment for {ExperimentTime} seconds..."); 45Console.WriteLine($"Total models produced: {experimentResult.RunDetails.Count()}"); 46Console.WriteLine($"Best model's trainer: {bestRun.TrainerName}"); 47Console.WriteLine($"Metrics of best model from validation data --"); 53Console.WriteLine($"Metrics of best model on test data --"); 69Console.WriteLine($"Predicted rating for: {prediction.Rating}"); 78Console.WriteLine($"Expected Rating NaN for unknown user, Predicted: {prediction.Rating}"); 80Console.WriteLine("Press any key to continue..."); 81Console.ReadKey(); 86Console.WriteLine($"MeanAbsoluteError: {metrics.MeanAbsoluteError}"); 87Console.WriteLine($"MeanSquaredError: {metrics.MeanSquaredError}"); 88Console.WriteLine($"RootMeanSquaredError: {metrics.RootMeanSquaredError}"); 89Console.WriteLine($"RSquared: {metrics.RSquared}");
AutoFit\RegressionExperiment.cs (12)
26Console.WriteLine($"Running AutoML regression experiment for {ExperimentTime} seconds..."); 33Console.WriteLine($"Total models produced: {experimentResult.RunDetails.Count()}"); 34Console.WriteLine($"Best model's trainer: {bestRun.TrainerName}"); 35Console.WriteLine($"Metrics of best model from validation data --"); 41Console.WriteLine($"Metrics of best model on test data --"); 62Console.WriteLine($"Predicted fare for test taxi trip: {prediction.FareAmount}"); 64Console.WriteLine("Press any key to continue..."); 65Console.ReadKey(); 70Console.WriteLine($"MeanAbsoluteError: {metrics.MeanAbsoluteError}"); 71Console.WriteLine($"MeanSquaredError: {metrics.MeanSquaredError}"); 72Console.WriteLine($"RootMeanSquaredError: {metrics.RootMeanSquaredError}"); 73Console.WriteLine($"RSquared: {metrics.RSquared}");
AutoMLExperiment.cs (9)
39Console.WriteLine(e.RawMessage); 130Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 131Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 132Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 133Console.WriteLine($"Negative Precision: " + 136Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 137Console.WriteLine($"Positive Precision: " + 140Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 141Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Cifar10.cs (1)
32Console.WriteLine(o.Message);
Program.cs (9)
14Console.Clear(); 17Console.Clear(); 20Console.Clear(); 23Console.Clear(); 26Console.Clear(); 29Console.Clear(); 31Console.WriteLine("Done"); 35Console.WriteLine($"Exception {ex}"); 38Console.ReadLine();
Sweepable\SweepableLightGBMBinaryExperiment.cs (9)
65Console.WriteLine(e.RawMessage); 157Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 158Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 159Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 160Console.WriteLine($"Negative Precision: " + 163Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 164Console.WriteLine($"Positive Precision: " + 167Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 168Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Microsoft.ML.AutoML.Tests (6)
GetNextPipelineTests.cs (1)
36Console.WriteLine(serialized);
SweeperTests.cs (5)
75Console.WriteLine($"{metric}\t{x1},{x2}"); 80Console.WriteLine($"Best: {bestResult.MetricValue}"); 131Console.WriteLine($"{metric}\t{x1},{x2},{x3},{x4}"); 136Console.WriteLine($"Best: {bestResult.MetricValue}"); 172Console.WriteLine("{0}--{1}--{2}--{3}", count, foo, bar, metric);
Microsoft.ML.Core (15)
CommandLine\CmdParser.cs (5)
222return ParseArguments(env, settings, destination, Console.Error.WriteLine); 286return ParseArguments(env, settings, destination, Console.Error.WriteLine, out helpText); 424_reporter = Console.Error.WriteLine; 856int screenWidth = columns ?? Console.BufferWidth; 1057Console.WriteLine("Error: Can't open command line argument file '{0}' : '{1}'", path, e.Message);
ComponentModel\AssemblyLoadingUtils.cs (1)
57Console.Error.WriteLine("Warning: Could not load '{0}': {1}", path, ex.Message);
Environment\ConsoleEnvironment.cs (8)
50_colorOut = outWriter == Console.Out; 51_colorErr = outWriter == Console.Error; 87Console.ForegroundColor = messageColor; 105Console.ResetColor(); 309if (isError && _err != _out && (_out != Console.Out || _err != Console.Error)) 374_consoleWriter = new ConsoleWriter(this, outWriter ?? Console.Out, errWriter ?? Console.Error, testWriter);
Utilities\HashArray.cs (1)
228Console.WriteLine("Table: {0} out of {1}", c, _rgit.Length);
Microsoft.ML.CpuMath.PerformanceTests (1)
PerformanceTests.cs (1)
68Console.WriteLine("Random seed: " + seed + "; set environment variable CPUMATH_SEED to this value to reproduce results");
Microsoft.ML.Data (1)
DataLoadSave\Text\TextLoaderParser.cs (1)
1499Console.WriteLine("Warning: Feature count mismatch: {0} vs {1}", csrc, _csrc);
Microsoft.ML.GenAI.Samples (10)
Llama\LlamaSample.cs (1)
33Console.WriteLine("Loading Llama from huggingface model weight folder");
MEAI\Llama3_1.cs (2)
34Console.WriteLine("Loading Llama from huggingface model weight folder"); 51Console.Write(response.Text);
MEAI\Phi3.cs (1)
41Console.Write(response.Text);
Mistral\Mistral_7B_Instruct.cs (4)
42Console.WriteLine("Loading Mistral from huggingface model weight folder"); 73Console.WriteLine("Loading Mistral from huggingface model weight folder"); 109Console.WriteLine($"The similarity score between query and document is {score}"); 127Console.WriteLine("Loading Mistral from huggingface model weight folder");
Phi3Mini\SemanticKernelSample.cs (2)
41Console.Write(response); 67Console.WriteLine(response);
Microsoft.ML.IntegrationTests (2)
IntegrationTestBaseClass.cs (2)
65Console.WriteLine($"Starting test: {FullTestName}"); 78Console.WriteLine($"Finished test: {FullTestName}");
Microsoft.ML.Maml (6)
HelpCommand.cs (1)
349int screenWidth = (columns ?? Console.BufferWidth) - 1;
MAML.cs (5)
227Console.Error.WriteLine("Progress tracking terminated with an exception"); 228PrintExceptionData(Console.Error, ex, false); 229Console.Error.WriteLine("Progress tracking is terminated."); 327Console.WriteLine("Usage: maml <cmd> <args>"); 328Console.WriteLine(" To get a list of commands: maml ?");
Microsoft.ML.NugetPackageVersionUpdater (2)
Program.cs (2)
72Console.WriteLine($"Update packege {packageName} to version {latestVersion}."); 75Console.WriteLine($"Can't find newer version of Package {packageName} from NuGet source, don't need to update version.");
Microsoft.ML.PerformanceTests (5)
FeaturizeTextBench.cs (1)
30Console.WriteLine($"Created dataset in temporary file:\n{path}\n");
Harness\Metrics.cs (1)
29Console.WriteLine(metric.ToParsableString());
ImageClassificationBench.cs (2)
202Console.WriteLine(""); 203Console.WriteLine("Extracting is completed.");
TextLoaderBench.cs (1)
33Console.WriteLine($"Created dataset in temporary file:\n{path}\n");
Microsoft.ML.ResultProcessor (13)
ResultProcessor.cs (13)
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); 1082? File.CreateText(cmd.OutputFile) : Console.Out);
Microsoft.ML.Samples (976)
Dynamic\DataOperations\BootstrapSample.cs (3)
48Console.WriteLine($"Label\tFeature"); 51Console.WriteLine($"{row.Label}\t{row.Feature}"); 53Console.WriteLine();
Dynamic\DataOperations\Cache.cs (3)
22Console.WriteLine($"Lines={lines}," + 39Console.WriteLine($"Lines={lines}," + 52Console.WriteLine(
Dynamic\DataOperations\CrossValidationSplit.cs (4)
207Console.WriteLine($"The data in the Train split."); 209Console.WriteLine($"{row.Group}, {row.Features}"); 211Console.WriteLine($"\nThe data in the Test split."); 213Console.WriteLine($"{row.Group}, {row.Features}");
Dynamic\DataOperations\DataViewEnumerable.cs (4)
40Console.WriteLine($"Date\tTemperature"); 42Console.WriteLine( 53Console.WriteLine($"Date\tTemperature\tLatitude"); 55Console.WriteLine($"{row.Date.ToString("d")}\t{row.Temperature}"
Dynamic\DataOperations\FilterRowsByColumn.cs (5)
23Console.WriteLine($"Date\tTemperature"); 26Console.WriteLine( 30Console.WriteLine(); 56Console.WriteLine($"Date\tTemperature"); 59Console.WriteLine(
Dynamic\DataOperations\FilterRowsByCustomPredicate.cs (5)
30Console.WriteLine("Name"); 33Console.WriteLine(row.Name); 35Console.WriteLine(); 56Console.WriteLine("Name"); 59Console.WriteLine(row.Name);
Dynamic\DataOperations\FilterRowsByKeyColumnFraction.cs (6)
43Console.WriteLine($"Age"); 46Console.WriteLine($"{row.Age}"); 76Console.WriteLine($"Age"); 79Console.WriteLine($"{row.Age}"); 105Console.WriteLine($"Age"); 108Console.WriteLine($"{row.Age}");
Dynamic\DataOperations\FilterRowsByMissingValues.cs (2)
43Console.WriteLine($"Feature1 Feature2"); 47Console.WriteLine($"{row.Feature1}" +
Dynamic\DataOperations\FilterRowsByStatefulCustomPredicate.cs (5)
30Console.WriteLine("Name"); 33Console.WriteLine(row.Name); 35Console.WriteLine(); 62Console.WriteLine("Name"); 65Console.WriteLine(row.Name);
Dynamic\DataOperations\LoadFromEnumerable.cs (3)
42Console.WriteLine($"Is the size of the Features column known: " + 66Console.WriteLine($"Is the size of the Features column known: " + 86Console.WriteLine($"Is the size of the Features column known: " +
Dynamic\DataOperations\LoadingSvmLight.cs (2)
85Console.WriteLine($"Column {col.Name} type {col.Type}"); 107Console.WriteLine($"{label} {weight} {string.Join(' ', features.DenseValues())}");
Dynamic\DataOperations\LoadingText.cs (2)
104Console.WriteLine(featuresColumn.Value.ToString()); 193Console.WriteLine(rowCount);
Dynamic\DataOperations\SaveAndLoadFromBinary.cs (1)
45Console.WriteLine($"{row.Label}, {row.Features}");
Dynamic\DataOperations\SaveAndLoadFromText.cs (1)
45Console.WriteLine($"{row.Label}, {row.Features}");
Dynamic\DataOperations\ShuffleRows.cs (5)
23Console.WriteLine($"Date\tTemperature"); 26Console.WriteLine($"{row.Date.ToString("d")}" + 29Console.WriteLine(); 47Console.WriteLine($"Date\tTemperature"); 50Console.WriteLine($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\SkipRows.cs (5)
22Console.WriteLine($"Date\tTemperature"); 25Console.WriteLine($"{row.Date.ToString("d")}" + 28Console.WriteLine(); 51Console.WriteLine($"Date\tTemperature"); 54Console.WriteLine($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\TakeRows.cs (5)
23Console.WriteLine($"Date\tTemperature"); 26Console.WriteLine($"{row.Date.ToString("d")}" + 29Console.WriteLine(); 52Console.WriteLine($"Date\tTemperature"); 55Console.WriteLine($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\TrainTestSplit.cs (4)
114Console.WriteLine($"The data in the Train split."); 116Console.WriteLine($"{row.Group}, {row.Features}"); 118Console.WriteLine($"\nThe data in the Test split."); 120Console.WriteLine($"{row.Group}, {row.Features}");
Dynamic\ModelOperations\OnnxConversion.cs (2)
25Console.WriteLine("{0, -10} {1, -10}", "Score", value.Score); 31Console.WriteLine("{0, -10} {1, -10}", "Score", value.Score.GetItemOrDefault(0));
Dynamic\ModelOperations\SaveLoadModel.cs (1)
45Console.WriteLine("Value: {0}\t Key:{1}", transformation.Value,
Dynamic\ModelOperations\SaveLoadModelFile.cs (1)
44Console.WriteLine("Value: {0}\t Key:{1}", transformation.Value,
Dynamic\NgramExtraction.cs (4)
71Console.WriteLine( 78Console.Write($"'{slots[item.Key]}' - {item.Value} "); 79Console.WriteLine(""); 82Console.WriteLine(
Dynamic\SimpleDataViewImplementation.cs (1)
63Console.WriteLine(
Dynamic\TensorFlow\ImageClassification.cs (2)
62Console.WriteLine( 65Console.WriteLine(new string('-', 10));
Dynamic\TensorFlow\TextClassification.cs (5)
67Console.WriteLine("Name: {0}, Type: {1}, Shape: (-1, {2})", "Features", 72Console.WriteLine("Name: {0}, Type: {1}, Shape: (-1, {2})", 125Console.WriteLine("Number of classes: {0}", prediction.Prediction 127Console.WriteLine("Is sentiment/review positive? {0}", prediction 129Console.WriteLine("Prediction Confidence: {0}", prediction.Prediction[1]
Dynamic\TextTransform.cs (4)
80Console.WriteLine( 86Console.Write($"{value} "); 87Console.WriteLine(""); 90Console.WriteLine(
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSample.cs (2)
61Console.WriteLine("The {0}-th example with features [{1}] is " + 66Console.WriteLine("The {0}-th example with features [{1}] is " +
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSampleWithOptions.cs (2)
69Console.WriteLine("The {0}-th example with features [{1}] is" + 74Console.WriteLine("The {0}-th example with features [{1}] is" +
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (9)
48Console.WriteLine($"Label: {p.Label}, " 128Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 129Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 130Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 131Console.WriteLine($"Negative Precision: " + 134Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 135Console.WriteLine($"Positive Precision: " + 138Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 139Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (9)
59Console.WriteLine($"Label: {p.Label}, " 139Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 140Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 141Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 142Console.WriteLine($"Negative Precision: " + 145Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 146Console.WriteLine($"Positive Precision: " + 149Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 150Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\Calibrators\FixedPlatt.cs (2)
79Console.WriteLine("{0, -10} {1, -10}", "Score", value.Score); 87Console.WriteLine("{0, -10} {1, -10} {2, -10} {3, -10}", "Score",
Dynamic\Trainers\BinaryClassification\Calibrators\Isotonic.cs (2)
79Console.WriteLine("{0, -10} {1, -10}", "Score", value.Score); 87Console.WriteLine("{0, -10} {1, -10} {2, -10} {3, -10}", "Score",
Dynamic\Trainers\BinaryClassification\Calibrators\Naive.cs (2)
79Console.WriteLine("{0, -10} {1, -10}", "Score", value.Score); 87Console.WriteLine("{0, -10} {1, -10} {2, -10} {3, -10}", "Score",
Dynamic\Trainers\BinaryClassification\Calibrators\Platt.cs (2)
79Console.WriteLine("{0, -10} {1, -10}", "Score", value.Score); 87Console.WriteLine("{0, -10} {1, -10} {2, -10} {3, -10}", "Score",
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (9)
56Console.WriteLine($"Label: {p.Label}, " 136Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 137Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 138Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 139Console.WriteLine($"Negative Precision: " + 142Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 143Console.WriteLine($"Positive Precision: " + 146Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 147Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastForest.cs (9)
51Console.WriteLine($"Label: {p.Label}, " 131Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 132Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 133Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 134Console.WriteLine($"Negative Precision: " + 137Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 138Console.WriteLine($"Positive Precision: " + 141Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 142Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (9)
63Console.WriteLine($"Label: {p.Label}, " 143Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 144Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 145Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 146Console.WriteLine($"Negative Precision: " + 149Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 150Console.WriteLine($"Positive Precision: " + 153Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 154Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastTree.cs (9)
51Console.WriteLine($"Label: {p.Label}, " 134Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 135Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 136Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 137Console.WriteLine($"Negative Precision: " + 140Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 141Console.WriteLine($"Positive Precision: " + 144Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 145Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (9)
63Console.WriteLine($"Label: {p.Label}, " 146Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 147Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 148Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 149Console.WriteLine($"Negative Precision: " + 152Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 153Console.WriteLine($"Positive Precision: " + 156Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 157Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (11)
87Console.WriteLine($"Actual label: {dataPoint.Label}, " 195Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 196Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 197Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 198Console.WriteLine($"Negative Precision: " + 201Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 202Console.WriteLine($"Positive Precision: " + 205Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}"); 206Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 207Console.WriteLine($"Log Loss Reduction: {metrics.LogLossReduction:F2}"); 208Console.WriteLine($"Entropy: {metrics.Entropy:F2}");
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (11)
98Console.WriteLine($"Actual label: {dataPoint.Label}, " 206Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 207Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 208Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 209Console.WriteLine($"Negative Precision: " + 212Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 213Console.WriteLine($"Positive Precision: " + 216Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}"); 217Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 218Console.WriteLine($"Log Loss Reduction: {metrics.LogLossReduction:F2}"); 219Console.WriteLine($"Entropy: {metrics.Entropy:F2}");
Dynamic\Trainers\BinaryClassification\Gam.cs (4)
54Console.WriteLine($"Average prediction: {gam.Bias:0.00}"); 65Console.WriteLine(); 76Console.WriteLine($"Feature{i}"); 78Console.WriteLine(
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (4)
62Console.WriteLine($"Average prediction: {gam.Bias:0.00}"); 73Console.WriteLine(); 84Console.WriteLine($"Feature{i}"); 86Console.WriteLine(
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (9)
48Console.WriteLine($"Label: {p.Label}, " 131Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 132Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 133Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 134Console.WriteLine($"Negative Precision: " + 137Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 138Console.WriteLine($"Positive Precision: " + 141Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 142Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (9)
57Console.WriteLine($"Label: {p.Label}, " 140Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 141Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 142Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 143Console.WriteLine($"Negative Precision: " + 146Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 147Console.WriteLine($"Positive Precision: " + 150Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 151Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LdSvm.cs (9)
48Console.WriteLine($"Label: {p.Label}, " 128Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 129Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 130Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 131Console.WriteLine($"Negative Precision: " + 134Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 135Console.WriteLine($"Positive Precision: " + 138Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 139Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (9)
57Console.WriteLine($"Label: {p.Label}, " 137Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 138Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 139Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 140Console.WriteLine($"Negative Precision: " + 143Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 144Console.WriteLine($"Positive Precision: " + 147Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 148Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LightGbm.cs (9)
51Console.WriteLine($"Label: {p.Label}, " 131Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 132Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 133Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 134Console.WriteLine($"Negative Precision: " + 137Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 138Console.WriteLine($"Positive Precision: " + 141Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 142Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (9)
62Console.WriteLine($"Label: {p.Label}, " 142Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 143Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 144Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 145Console.WriteLine($"Negative Precision: " + 148Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 149Console.WriteLine($"Positive Precision: " + 152Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 153Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (9)
48Console.WriteLine($"Label: {p.Label}, " 128Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 129Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 130Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 131Console.WriteLine($"Negative Precision: " + 134Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 135Console.WriteLine($"Positive Precision: " + 138Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 139Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (9)
57Console.WriteLine($"Label: {p.Label}, " 137Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 138Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 139Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 140Console.WriteLine($"Negative Precision: " + 143Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 144Console.WriteLine($"Positive Precision: " + 147Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 148Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportance.cs (2)
56Console.WriteLine("Feature\tModel Weight\tChange in AUC" 61Console.WriteLine("{0}\t{1:0.00}\t{2:G4}\t{3:G4}",
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (2)
55Console.WriteLine("Feature\tModel Weight\tChange in AUC" 60Console.WriteLine("{0}\t{1:0.00}\t{2:G4}\t{3:G4}",
Dynamic\Trainers\BinaryClassification\PriorTrainer.cs (9)
48Console.WriteLine($"Label: {p.Label}, " 128Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 129Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 130Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 131Console.WriteLine($"Negative Precision: " + 134Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 135Console.WriteLine($"Positive Precision: " + 138Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 139Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (9)
56Console.WriteLine($"Label: {p.Label}, " 136Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 137Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 138Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 139Console.WriteLine($"Negative Precision: " + 142Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 143Console.WriteLine($"Positive Precision: " + 146Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 147Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (9)
68Console.WriteLine($"Label: {p.Label}, " 148Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 149Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 150Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 151Console.WriteLine($"Negative Precision: " + 154Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 155Console.WriteLine($"Positive Precision: " + 158Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 159Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (9)
56Console.WriteLine($"Label: {p.Label}, " 135Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 136Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 137Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 138Console.WriteLine($"Negative Precision: " + 141Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 142Console.WriteLine($"Positive Precision: " + 145Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 146Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (9)
70Console.WriteLine($"Label: {p.Label}, " 150Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 151Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 152Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 153Console.WriteLine($"Negative Precision: " + 156Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 157Console.WriteLine($"Positive Precision: " + 160Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 161Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (9)
48Console.WriteLine($"Label: {p.Label}, " 128Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 129Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 130Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 131Console.WriteLine($"Negative Precision: " + 134Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 135Console.WriteLine($"Positive Precision: " + 138Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 139Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (9)
60Console.WriteLine($"Label: {p.Label}, " 140Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 141Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 142Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 143Console.WriteLine($"Negative Precision: " + 146Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 147Console.WriteLine($"Positive Precision: " + 150Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 151Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (9)
48Console.WriteLine($"Label: {p.Label}, " 128Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 129Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 130Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 131Console.WriteLine($"Negative Precision: " + 134Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 135Console.WriteLine($"Positive Precision: " + 138Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 139Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (9)
57Console.WriteLine($"Label: {p.Label}, " 137Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 138Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 139Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 140Console.WriteLine($"Negative Precision: " + 143Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 144Console.WriteLine($"Positive Precision: " + 147Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 148Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (9)
51Console.WriteLine($"Label: {p.Label}, " 131Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 132Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 133Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 134Console.WriteLine($"Negative Precision: " + 137Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 138Console.WriteLine($"Positive Precision: " + 141Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 142Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (9)
60Console.WriteLine($"Label: {p.Label}, " 140Console.WriteLine($"Accuracy: {metrics.Accuracy:F2}"); 141Console.WriteLine($"AUC: {metrics.AreaUnderRocCurve:F2}"); 142Console.WriteLine($"F1 Score: {metrics.F1Score:F2}"); 143Console.WriteLine($"Negative Precision: " + 146Console.WriteLine($"Negative Recall: {metrics.NegativeRecall:F2}"); 147Console.WriteLine($"Positive Precision: " + 150Console.WriteLine($"Positive Recall: {metrics.PositiveRecall:F2}\n"); 151Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\Clustering\KMeans.cs (7)
48Console.WriteLine( 52Console.WriteLine( 79Console.WriteLine( 83Console.WriteLine( 138Console.WriteLine($"Normalized Mutual Information: " + 141Console.WriteLine($"Average Distance: " + 144Console.WriteLine($"Davies Bouldin Index: " +
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (7)
56Console.WriteLine( 60Console.WriteLine( 87Console.WriteLine( 91Console.WriteLine( 146Console.WriteLine($"Normalized Mutual Information: " + 149Console.WriteLine($"Average Distance: " + 152Console.WriteLine($"Davies Bouldin Index: " +
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (17)
72Console.WriteLine("*** Training the image classification model " + 88Console.WriteLine("Training with transfer learning finished."); 111Console.WriteLine("Prediction on a single image finished."); 113Console.WriteLine("Press any key to finish"); 114Console.ReadKey(); 121Console.WriteLine(e.Message); 147Console.WriteLine($"Scores : [{string.Join(",", prediction.Score)}], " + 155Console.WriteLine("Making bulk predictions and evaluating model's " + 162Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," + 165Console.WriteLine("Predicting and Evaluation complete."); 266Console.WriteLine($"{relativeFilePath} already exists."); 270Console.WriteLine($"Downloading {relativeFilePath}"); 282Console.WriteLine(""); 283Console.WriteLine($"Downloaded {relativeFilePath}"); 298Console.WriteLine($"Extracting."); 302Console.WriteLine(""); 303Console.WriteLine("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (18)
90MetricsCallback = (metrics) => Console.WriteLine(metrics), 109Console.WriteLine("*** Training the image classification model " + 123Console.WriteLine("Training with transfer learning finished."); 145Console.WriteLine("Prediction on a single image finished."); 147Console.WriteLine("Press any key to finish"); 148Console.ReadKey(); 173Console.WriteLine($"Scores : [{string.Join(",", prediction.Score)}], " + 181Console.WriteLine("Making bulk predictions and evaluating model's " + 188Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," + 191Console.WriteLine("Predicting and Evaluation complete."); 298Console.WriteLine($"{relativeFilePath} already exists."); 302Console.WriteLine($"Downloading {relativeFilePath}"); 314Console.WriteLine(""); 315Console.WriteLine($"Downloaded {relativeFilePath}"); 330Console.WriteLine($"Extracting."); 339Console.Write("."); 343Console.WriteLine(""); 344Console.WriteLine("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (18)
86MetricsCallback = (metrics) => Console.WriteLine(metrics), 96Console.WriteLine("*** Training the image classification model " + 113Console.WriteLine("Training with transfer learning finished."); 140Console.WriteLine("Prediction on a single image finished."); 142Console.WriteLine("Press any key to finish"); 143Console.ReadKey(); 169Console.WriteLine($"ImageFile : " + 179Console.WriteLine("Making bulk predictions and evaluating model's " + 186Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," + 189Console.WriteLine("Predicting and Evaluation complete."); 254Console.WriteLine($"{relativeFilePath} already exists."); 258Console.WriteLine($"Downloading {relativeFilePath}"); 270Console.WriteLine(""); 271Console.WriteLine($"Downloaded {relativeFilePath}"); 286Console.WriteLine($"Extracting."); 295Console.Write("."); 299Console.WriteLine(""); 300Console.WriteLine("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (18)
75MetricsCallback = (metrics) => Console.WriteLine(metrics), 89Console.WriteLine("*** Training the image classification model " + 105Console.WriteLine("Training with transfer learning finished."); 128Console.WriteLine("Prediction on a single image finished."); 130Console.WriteLine("Press any key to finish"); 131Console.ReadKey(); 156Console.WriteLine($"Scores : [{string.Join(",", prediction.Score)}], " + 164Console.WriteLine("Making bulk predictions and evaluating model's " + 171Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," + 174Console.WriteLine("Predicting and Evaluation complete."); 275Console.WriteLine($"{relativeFilePath} already exists."); 279Console.WriteLine($"Downloading {relativeFilePath}"); 291Console.WriteLine(""); 292Console.WriteLine($"Downloaded {relativeFilePath}"); 307Console.WriteLine($"Extracting."); 316Console.Write("."); 320Console.WriteLine(""); 321Console.WriteLine("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropy.cs (6)
53Console.WriteLine($"Label: {p.Label}, " + 132Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 133Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 134Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 135Console.WriteLine( 138Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropyWithOptions.cs (6)
61Console.WriteLine($"Label: {p.Label}, " + 140Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 141Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 142Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 143Console.WriteLine( 146Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LightGbm.cs (6)
56Console.WriteLine($"Label: {p.Label}, " + 135Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 136Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 137Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 138Console.WriteLine( 141Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (6)
66Console.WriteLine($"Label: {p.Label}, " + 145Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 146Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 147Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 148Console.WriteLine( 151Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LogLossPerClass.cs (1)
55Console.WriteLine($"LogLoss for label " +
Dynamic\Trainers\MulticlassClassification\NaiveBayes.cs (6)
59Console.WriteLine($"Label: {p.Label}, " + 140Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 141Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 142Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 143Console.WriteLine( 146Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (6)
54Console.WriteLine($"Label: {p.Label}, " + 133Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 134Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 135Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 136Console.WriteLine( 139Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (6)
54Console.WriteLine($"Label: {p.Label}, " + 133Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 134Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 135Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 136Console.WriteLine( 139Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportance.cs (2)
58Console.WriteLine("Feature\tChange in MicroAccuracy\t95% Confidence in " 66Console.WriteLine("{0}\t{1:G4}\t{2:G4}",
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportanceLoadFromDisk.cs (2)
66Console.WriteLine("Feature\tChange in MicroAccuracy\t95% Confidence in " 74Console.WriteLine("{0}\t{1:G4}\t{2:G4}",
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropy.cs (6)
61Console.WriteLine($"Label: {p.Label}, " + 139Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 140Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 141Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 142Console.WriteLine( 145Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (6)
70Console.WriteLine($"Label: {p.Label}, " + 149Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 150Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 151Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 152Console.WriteLine( 155Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibrated.cs (6)
61Console.WriteLine($"Label: {p.Label}, " + 140Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 141Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 142Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 143Console.WriteLine( 146Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibratedWithOptions.cs (6)
70Console.WriteLine($"Label: {p.Label}, " + 149Console.WriteLine($"Micro Accuracy: {metrics.MicroAccuracy:F2}"); 150Console.WriteLine($"Macro Accuracy: {metrics.MacroAccuracy:F2}"); 151Console.WriteLine($"Log Loss: {metrics.LogLoss:F2}"); 152Console.WriteLine( 155Console.WriteLine(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\Ranking\FastTree.cs (3)
53Console.WriteLine($"Label: {p.Label}, Score: {p.Score}"); 116Console.WriteLine("DCG: " + string.Join(", ", 120Console.WriteLine("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\FastTreeWithOptions.cs (3)
67Console.WriteLine($"Label: {p.Label}, Score: {p.Score}"); 130Console.WriteLine("DCG: " + string.Join(", ", 133Console.WriteLine("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\LightGbm.cs (3)
53Console.WriteLine($"Label: {p.Label}, Score: {p.Score}"); 116Console.WriteLine("DCG: " + string.Join(", ", 119Console.WriteLine("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\LightGbmWithOptions.cs (3)
68Console.WriteLine($"Label: {p.Label}, Score: {p.Score}"); 131Console.WriteLine("DCG: " + string.Join(", ", 134Console.WriteLine("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\PermutationFeatureImportance.cs (2)
61Console.WriteLine("Feature\tChange in NDCG@1\t95% Confidence in the" + 67Console.WriteLine("{0}\t{1:G4}\t{2:G4}",
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (2)
68Console.WriteLine("Feature\tChange in NDCG@1\t95% Confidence in the" + 74Console.WriteLine("{0}\t{1:G4}\t{2:G4}",
Dynamic\Trainers\Recommendation\MatrixFactorization.cs (5)
53Console.WriteLine($"Actual value: {p.Value:F3}," + 127Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 128Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 129Console.WriteLine("Root Mean Squared Error: " + 132Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Recommendation\MatrixFactorizationWithOptions.cs (5)
77Console.WriteLine($"Actual value: {p.Value:F3}," + 151Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 152Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 153Console.WriteLine("Root Mean Squared Error: " + 156Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (3)
82Console.WriteLine($"Predicted value at row " + 116Console.WriteLine("Top 2 predictions on the 1st row:"); 118Console.WriteLine($"Predicted value at row " +
Dynamic\Trainers\Regression\FastForest.cs (5)
52Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 110Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 111Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 112Console.WriteLine( 115Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastForestWithOptions.cs (5)
65Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 123Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 124Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 125Console.WriteLine( 128Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTree.cs (5)
52Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 110Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 111Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 112Console.WriteLine( 115Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTreeTweedie.cs (5)
52Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 110Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 111Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 112Console.WriteLine( 115Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTreeTweedieWithOptions.cs (5)
67Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 125Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 126Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 127Console.WriteLine( 130Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTreeWithOptions.cs (5)
68Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 126Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 127Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 128Console.WriteLine( 131Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\Gam.cs (5)
52Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 110Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 111Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 112Console.WriteLine( 115Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\GamAdvanced.cs (4)
54Console.WriteLine($"Average prediction: {gam.Bias:0.00}"); 65Console.WriteLine(); 76Console.WriteLine($"Feature{i}"); 78Console.WriteLine(
Dynamic\Trainers\Regression\GamWithOptions.cs (5)
63Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 121Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 122Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 123Console.WriteLine( 126Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\GamWithOptionsAdvanced.cs (4)
62Console.WriteLine($"Average prediction: {gam.Bias:0.00}"); 73Console.WriteLine(); 84Console.WriteLine($"Feature{i}"); 86Console.WriteLine(
Dynamic\Trainers\Regression\LbfgsPoissonRegression.cs (5)
50Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 108Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 109Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 110Console.WriteLine( 113Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LbfgsPoissonRegressionWithOptions.cs (5)
64Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 122Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 123Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 124Console.WriteLine( 127Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbm.cs (5)
53Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 111Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 112Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 113Console.WriteLine( 116Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbmAdvanced.cs (6)
55Console.WriteLine($"weight 0 - {weightsValues[0]}"); 57Console.WriteLine($"weight 5 - {weightsValues[5]}"); 77Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 78Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 79Console.WriteLine( 82Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (5)
72Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 130Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 131Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 132Console.WriteLine( 135Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (6)
64Console.WriteLine($"weight 0 - {weightsValues[0]}"); 66Console.WriteLine($"weight 5 - {weightsValues[5]}"); 86Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 87Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 88Console.WriteLine( 91Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OnlineGradientDescent.cs (5)
49Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 99Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 100Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 101Console.WriteLine( 104Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (5)
64Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 115Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 116Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 117Console.WriteLine( 120Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquares.cs (5)
49Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 107Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 108Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 109Console.WriteLine( 112Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (6)
59Console.WriteLine($"weight 0 - {weightsValues[0]}"); 61Console.WriteLine($"weight 3 - {weightsValues[3]}"); 78Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 79Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 80Console.WriteLine( 83Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptions.cs (5)
61Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 119Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 120Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 121Console.WriteLine( 124Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (6)
63Console.WriteLine($"weight 0 - {weightsValues[0]}"); 65Console.WriteLine($"weight 3 - {weightsValues[3]}"); 82Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 83Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 84Console.WriteLine( 87Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\PermutationFeatureImportance.cs (2)
63Console.WriteLine("Feature\tModel Weight\tChange in RMSE\t95%" + 71Console.WriteLine("{0}\t{1:0.00}\t{2:G4}\t{3:G4}",
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (2)
70Console.WriteLine("Feature\tModel Weight\tChange in RMSE\t95%" + 78Console.WriteLine("{0}\t{1:0.00}\t{2:G4}\t{3:G4}",
Dynamic\Trainers\Regression\Sdca.cs (5)
49Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 107Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 108Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 109Console.WriteLine( 112Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\SdcaWithOptions.cs (5)
65Console.WriteLine($"Label: {p.Label:F3}, Prediction: {p.Score:F3}"); 123Console.WriteLine("Mean Absolute Error: " + metrics.MeanAbsoluteError); 124Console.WriteLine("Mean Squared Error: " + metrics.MeanSquaredError); 125Console.WriteLine( 128Console.WriteLine("RSquared: " + metrics.RSquared);
Dynamic\Transforms\ApplyOnnxModel.cs (2)
41Console.WriteLine("Class #" + numClasses++ + " score = " + 44Console.WriteLine(new string('-', 10));
Dynamic\Transforms\ApplyONNXModelWithInMemoryImages.cs (2)
67Console.WriteLine("The probability of being the first class is " + 70Console.WriteLine($"The probability of being the last class is " +
Dynamic\Transforms\ApproximatedKernelMap.cs (1)
43Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\CalculateFeatureContribution.cs (5)
41Console.WriteLine($"Linear Model Parameters"); 42Console.WriteLine("Bias: " + linearModel.Model.Bias + " Feature1: " + 72Console.WriteLine("Label: " + prediction.Label + " Prediction: " + 75Console.WriteLine("Feature1: " + prediction.Features[0] + 78Console.WriteLine("Feature Contributions: " + prediction
Dynamic\Transforms\CalculateFeatureContributionCalibrated.cs (5)
42Console.WriteLine($"Linear Model Parameters"); 43Console.WriteLine("Bias: {0} Feature1: {1} Feature2: {2}", 74Console.WriteLine("Label: " + prediction.Label + " Prediction-Score: " + 78Console.WriteLine("Feature1: " + prediction.Features[0] + " Feature2: " 81Console.WriteLine("Feature Contributions: " + prediction
Dynamic\Transforms\Categorical\OneHotEncoding.cs (4)
58Console.WriteLine( 65Console.WriteLine(element); 83Console.Write($"{row[i]}\t"); 85Console.WriteLine();
Dynamic\Transforms\Categorical\OneHotEncodingMultiColumn.cs (2)
45Console.WriteLine( 51Console.WriteLine("{0}\t\t\t{1}", string.Join(" ", item.Education),
Dynamic\Transforms\Categorical\OneHotHashEncoding.cs (4)
58Console.WriteLine( 65Console.WriteLine(element); 83Console.Write($"{row[i]}\t"); 84Console.WriteLine();
Dynamic\Transforms\Categorical\OneHotHashEncodingMultiColumn.cs (2)
46Console.WriteLine( 52Console.WriteLine("{0}\t\t\t{1}", string.Join(" ", item.Education),
Dynamic\Transforms\Concatenate.cs (2)
64Console.WriteLine($"Features column obtained post-transformation."); 66Console.WriteLine(string.Join(" ", featureRow.Features));
Dynamic\Transforms\Conversion\ConvertType.cs (1)
37Console.WriteLine("A:{0,-10} Aconv:{1}", item.Survived,
Dynamic\Transforms\Conversion\ConvertTypeMultiColumn.cs (2)
61Console.WriteLine("Converted1\t Converted2\t Converted3\t Converted4"); 63Console.WriteLine($"\t{item.Converted1}\t {item.Converted2}\t\t " +
Dynamic\Transforms\Conversion\Hash.cs (3)
57Console.WriteLine("Category CategoryHashed\t Age\t AgeHashed"); 59Console.WriteLine($"{item.Category}\t {item.CategoryHashed}\t\t " + 87Console.WriteLine($"The original value of the {indices[i]} " +
Dynamic\Transforms\Conversion\HashWithOptions.cs (3)
71Console.WriteLine("Category CategoryHashed\t Age\t AgeHashed"); 73Console.WriteLine($"{item.Category}\t {item.CategoryHashed}\t\t " + 101Console.WriteLine($"The original value of the {indices[i]} " +
Dynamic\Transforms\Conversion\KeyToValueToKey.cs (6)
64Console.WriteLine($"Keys"); 66Console.WriteLine($"{string.Join(',', dataRow.Keys)}"); 74Console.WriteLine($"Keys"); 76Console.WriteLine($"{string.Join(',', dataRow.Keys)}"); 98Console.Write($"{value} "); 99Console.WriteLine("");
Dynamic\Transforms\Conversion\MapKeyToBinaryVector.cs (2)
46Console.WriteLine($" Timeframe TimeframeVector"); 48Console.WriteLine($"{featureRow.Timeframe}\t\t\t" +
Dynamic\Transforms\Conversion\MapKeyToValueMultiColumn.cs (2)
63Console.WriteLine($"Label LabelOriginalValue PredictedLabel " + 67Console.WriteLine($"{row.Label}\t\t{row.LabelOriginalValue}\t\t\t" +
Dynamic\Transforms\Conversion\MapKeyToVector.cs (2)
59Console.WriteLine("Timeframe TimeframeVector PartsCount " + 63Console.WriteLine(featureRow.Timeframe + " " +
Dynamic\Transforms\Conversion\MapKeyToVectorMultiColumn.cs (2)
47Console.WriteLine($" Timeframe TimeframeVector " + 51Console.WriteLine(featureRow.Timeframe + " " +
Dynamic\Transforms\Conversion\MapValue.cs (2)
74Console.WriteLine(" Timeframe TimeframeCategory Label Score " + 78Console.WriteLine($"{featureRow.Timeframe}\t\t" +
Dynamic\Transforms\Conversion\MapValueIdvLookup.cs (2)
57Console.WriteLine($" Price PriceCategory"); 59Console.WriteLine($"{featureRow.Price}\t\t" +
Dynamic\Transforms\Conversion\MapValueToArray.cs (2)
55Console.WriteLine($"Timeframe Features"); 57Console.WriteLine($"{featureRow.Timeframe}\t\t " +
Dynamic\Transforms\Conversion\MapValueToKeyMultiColumn.cs (4)
45Console.WriteLine($" StudyTime StudyTimeCategory Course " + 49Console.WriteLine($"{featureRow.StudyTime}\t\t" + 96Console.WriteLine($" StudyTime StudyTimeCategory " + 100Console.WriteLine($"{featureRow.StudyTime}\t\t" +
Dynamic\Transforms\CopyColumns.cs (2)
61Console.WriteLine($"Label and ImageId columns obtained " + 65Console.WriteLine($"Label: {row.Label} ImageId: {row.ImageId}");
Dynamic\Transforms\CustomMapping.cs (2)
50Console.WriteLine("Age\t IsUnderThirty"); 52Console.WriteLine($"{row.Age}\t {row.IsUnderThirty}");
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (2)
66Console.WriteLine("Age\tIsUnderThirty"); 68Console.WriteLine($"{row.Age}\t {row.IsUnderThirty}");
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (2)
40Console.WriteLine("We got a super alien with name " + firstAlien.Name + 54Console.Write("We got a super alien with name " + superAlien.Name +
Dynamic\Transforms\DropColumns.cs (3)
61Console.WriteLine($"ExtraColumn is not available, so an exception" + 74Console.WriteLine($"The columns we didn't drop are still available."); 76Console.WriteLine($"Age: {row.Age} Gender: {row.Gender} " +
Dynamic\Transforms\Expression.cs (8)
51Console.WriteLine($"Features column obtained post-transformation."); 54Console.Write(string.Join(" ", featureRow.Expr1)); 55Console.Write(" "); 56Console.Write(string.Join(" ", featureRow.Expr2)); 57Console.Write(" "); 58Console.Write(string.Join(" ", featureRow.Expr3)); 59Console.Write(" "); 60Console.WriteLine(featureRow.Expr4);
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCount.cs (4)
20Console.WriteLine($"NumericVector StringVector"); 22Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item 50Console.WriteLine($"NumericVector StringVector"); 52Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item.
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (4)
20Console.WriteLine($"NumericVector StringVector"); 22Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item. 50Console.WriteLine($"NumericVector StringVector"); 52Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformation.cs (4)
20Console.WriteLine($"Label NumericVector"); 22Console.WriteLine("{0,-25} {1,-25}", item.Label, string.Join(",", 48Console.WriteLine($"NumericVector"); 50Console.WriteLine("{0,-25}", string.Join(",", item.NumericVector));
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformationMultiColumn.cs (4)
20Console.WriteLine($"NumericVectorA NumericVectorB"); 22Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item 51Console.WriteLine($"NumericVectorA NumericVectorB"); 53Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScale.cs (2)
62Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25}", "ImagePath", 95Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25}",
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
65Console.WriteLine($"The original pixel is {pixelString} and its pixel in gray is {grayPixelString}");
Dynamic\Transforms\ImageAnalytics\ConvertToImage.cs (2)
50Console.WriteLine("{0, -25} {1, -25} {2, -25}", "Features", "Image", 77Console.WriteLine("{0, -25} {1, -25} {2, -25}", string.Join(",",
Dynamic\Transforms\ImageAnalytics\ExtractPixels.cs (2)
69Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25} {4, -25}", 109Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25} " +
Dynamic\Transforms\ImageAnalytics\LoadImages.cs (2)
61Console.WriteLine("{0, -25} {1, -25} {2, -25}", "ImagePath", "Name", 89Console.WriteLine("{0, -25} {1, -25} {2, -25}",
Dynamic\Transforms\ImageAnalytics\ResizeImages.cs (2)
64Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25}", "ImagePath", 97Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25}",
Dynamic\Transforms\IndicateMissingValues.cs (1)
46Console.WriteLine("Features: [" + string.Join(", ", row.Features) +
Dynamic\Transforms\IndicateMissingValuesMultiColumn.cs (1)
54Console.WriteLine("Features1: [" + string.Join(", ", row
Dynamic\Transforms\NormalizeBinning.cs (8)
51Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 63Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 82Console.WriteLine($"The 0-index value in resulting array would be " + 85Console.WriteLine("Where Index(x) is the index of the bin to which " + 88Console.WriteLine("Bins upper bounds are: " + string.Join(" ", 103Console.WriteLine($"The 0-index value in resulting array would be " + 106Console.WriteLine("Where Index(x) is the index of the bin to which x " + 109Console.WriteLine("Bins upper bounds are: " + string.Join(" ",
Dynamic\Transforms\NormalizeBinningMulticolumn.cs (1)
52Console.WriteLine(string.Join(", ", column[i].Select(x => x
Dynamic\Transforms\NormalizeGlobalContrast.cs (1)
38Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeLogMeanVariance.cs (5)
49Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 59Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 74Console.WriteLine("The 1-index value in resulting array would be " + 77Console.WriteLine("y = 0.5* (1 + ERF((Math.Log(x)- " + transformParams 89Console.WriteLine($"The 1-index value in resulting array would be " +
Dynamic\Transforms\NormalizeLogMeanVarianceFixZero.cs (5)
42Console.WriteLine(string.Join(", ", row.Select(x => x.ToString("f4")))); 51Console.WriteLine(string.Join(", ", row.Select(x => x.ToString("f4")))); 61Console.WriteLine("The values in the column with index 1 in the resulting array would be produced by:"); 62Console.WriteLine($"y = 0.5* (1 + ERF((Math.Log(x)- {transformParams.Mean[1]}) / ({transformParams.StandardDeviation[1]} * sqrt(2)))"); 71Console.WriteLine($"The values in the column with index 1 in the resulting array would be produced by: y = (x - ({offset})) * {scale}");
Dynamic\Transforms\NormalizeLpNorm.cs (1)
39Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeMeanVariance.cs (5)
48Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 59Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 75Console.WriteLine($"The 1-index value in resulting array would " + 78Console.WriteLine(" y = 0.5* (1 + ERF((x- " + transformParams.Mean[1] + 91Console.WriteLine($"Values for slot 1 would be transformed by " +
Dynamic\Transforms\NormalizeMinMax.cs (4)
47Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 59Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 74Console.WriteLine($"The 1-index value in resulting array would be " + 77Console.WriteLine(" y = (x - (" + (transformParams.Offset.Length == 0 ?
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (6)
73Console.WriteLine(string.Join(", ", column[i].Select(x => x 87Console.WriteLine(Environment.NewLine); 90Console.WriteLine(string.Join(", ", columnFixZero[i].Select(x => x 109Console.WriteLine(Environment.NewLine); 111Console.WriteLine($"The 1-index value in resulting array would be " + 114Console.WriteLine(" y = (x - (" + (transformParams.Offset.Length == 0 ?
Dynamic\Transforms\NormalizeSupervisedBinning.cs (10)
65Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 78Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 95Console.WriteLine($"The 1-index value in resulting array would be " + 98Console.WriteLine("y = (Index(x) / " + transformParams.Density[0] + 102Console.WriteLine("Where Index(x) is the index of the bin to which " + 105Console.WriteLine("Bins upper borders are: " + string.Join(" ", 117Console.WriteLine($"The 1-index value in resulting array would be " + 120Console.WriteLine(" y = (Index(x) / " + fixZeroParams.Density[1] + 124Console.WriteLine("Where Index(x) is the index of the bin to which x " + 127Console.WriteLine("Bins upper borders are: " + string.Join(" ",
Dynamic\Transforms\Projection\VectorWhiten.cs (2)
39Console.WriteLine($"{colName} column obtained " + 43Console.WriteLine(string.Join(" ", row.DenseValues().Select(x =>
Dynamic\Transforms\Projection\VectorWhitenWithOptions.cs (2)
38Console.WriteLine($"{colName} column obtained" + 42Console.WriteLine(string.Join(" ", row.DenseValues().Select(x =>
Dynamic\Transforms\ReplaceMissingValues.cs (2)
51Console.WriteLine("Features: [" + string.Join(", ", row.Features) + 81Console.WriteLine("Features: [" + string.Join(", ", row.Features) +
Dynamic\Transforms\ReplaceMissingValuesMultiColumn.cs (2)
57Console.WriteLine("Features1: [" + string.Join(", ", row 92Console.WriteLine("Features1: [" + string.Join(", ", row
Dynamic\Transforms\SelectColumns.cs (3)
50Console.WriteLine($"There are {transformedData.Schema.Count} columns" + 63Console.WriteLine($"Age and Educations columns obtained " + 67Console.WriteLine($"Age: {row.Age} Education: {row.Education}");
Dynamic\Transforms\StatefulCustomMapping.cs (2)
64Console.WriteLine("Sign\t SignedFibonacci"); 66Console.WriteLine($"{row.Sign}\t {row.SignedFibonacci}");
Dynamic\Transforms\Text\ApplyCustomWordEmbedding.cs (3)
70Console.WriteLine($"Number of Features: {prediction.Features.Length}"); 73Console.Write("Features: "); 75Console.Write($"{f:F4} ");
Dynamic\Transforms\Text\ApplyWordEmbedding.cs (3)
60Console.WriteLine($"Number of Features: {prediction.Features.Length}"); 63Console.Write("Features: "); 65Console.Write($"{f:F4} ");
Dynamic\Transforms\Text\FeaturizeText.cs (3)
68Console.WriteLine($"Number of Features: {prediction.Features.Length}"); 71Console.Write("Features: "); 73Console.Write($"{prediction.Features[i]:F4} ");
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (4)
86Console.WriteLine($"Number of Features: {prediction.Features.Length}"); 89Console.Write("Features: "); 91Console.Write($"{prediction.Features[i]:F4} "); 93Console.WriteLine("\nTokens: " + string.Join(",", prediction
Dynamic\Transforms\Text\LatentDirichletAllocation.cs (2)
75Console.Write($"{prediction.Features[i]:F4} "); 76Console.WriteLine();
Dynamic\Transforms\Text\NormalizeText.cs (1)
51Console.WriteLine($"Normalized Text: {prediction.NormalizedText}");
Dynamic\Transforms\Text\ProduceHashedNgrams.cs (6)
68Console.WriteLine("Number of Features: " + prediction.NgramFeatures 81Console.Write("N-grams: "); 85Console.Write($"{slots[item.Key]} "); 86Console.WriteLine(); 90Console.Write("Features: "); 92Console.Write($"{prediction.NgramFeatures[i]:F4} ");
Dynamic\Transforms\Text\ProduceHashedWordBags.cs (6)
67Console.WriteLine("Number of Features: " + prediction.BagOfWordFeatures 82Console.Write("N-grams: "); 86Console.Write($"{slots[item.Key]} "); 87Console.WriteLine(); 91Console.Write("Features: "); 93Console.Write($"{prediction.BagOfWordFeatures[i]:F4} ");
Dynamic\Transforms\Text\ProduceNgrams.cs (6)
76Console.WriteLine("Number of Features: " + prediction.NgramFeatures 88Console.Write("N-grams: "); 92Console.Write($"{slots[item.Key]} "); 93Console.WriteLine(); 97Console.Write("Features: "); 99Console.Write($"{prediction.NgramFeatures[i]:F4} ");
Dynamic\Transforms\Text\ProduceWordBags.cs (6)
73Console.WriteLine("Number of Features: " + prediction.BagOfWordFeatures 88Console.Write("N-grams: "); 92Console.Write($"{slots[item.Key]} "); 93Console.WriteLine(); 97Console.Write("Features: "); 99Console.Write($"{prediction.BagOfWordFeatures[i]:F4} ");
Dynamic\Transforms\Text\RemoveDefaultStopWords.cs (2)
55Console.WriteLine("Number of words: " + prediction.WordsWithoutStopWords 59Console.WriteLine("\nWords without stop words: " + string.Join(",",
Dynamic\Transforms\Text\RemoveStopWords.cs (2)
54Console.WriteLine("Number of words: " + prediction.WordsWithoutStopWords 58Console.WriteLine("\nWords without stop words: " + string.Join(",",
Dynamic\Transforms\Text\TokenizeIntoCharactersAsKeys.cs (2)
53Console.WriteLine($"Number of tokens: {prediction.CharTokens.Length}"); 56Console.WriteLine("\nCharacter Tokens: " + string.Join(",", prediction
Dynamic\Transforms\Text\TokenizeIntoWords.cs (2)
51Console.WriteLine($"Number of words: {prediction.Words.Length}"); 54Console.WriteLine($"\nWords: {string.Join(",", prediction.Words)}");
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnn.cs (3)
49Console.WriteLine($"{outputColumnName} column obtained post-" + 52Console.WriteLine("Data\tAlert\tScore\tMag"); 113Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}", value, prediction
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnnBatchPrediction.cs (3)
46Console.WriteLine($"{outputColumnName} column obtained post-" + 49Console.WriteLine("Data\tAlert\tScore\tMag"); 87Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}", value, prediction
Dynamic\Transforms\TimeSeries\DetectChangePointBySsa.cs (3)
69Console.WriteLine($"Output from ChangePoint predictions on new data:"); 70Console.WriteLine("Data\tAlert\tScore\tP-Value\tMartingale value"); 128Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}\t{4:0.00}", value,
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaBatchPrediction.cs (3)
70Console.WriteLine(outputColumnName + " column obtained " + 73Console.WriteLine("Data\tAlert\tScore\tP-Value\tMartingale value"); 104Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}\t{4:0.00}", value,
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaStream.cs (3)
69Console.WriteLine($"Output from ChangePoint predictions on new data:"); 70Console.WriteLine("Data\tAlert\tScore\tP-Value\tMartingale value"); 132Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}\t{4:0.00}", value,
Dynamic\Transforms\TimeSeries\DetectEntireAnomalyBySrCnn.cs (2)
46Console.WriteLine("Index\tData\tAnomaly\tAnomalyScore\tMag\tExpectedValue\tBoundaryUnit\tUpperBoundary\tLowerBoundary"); 84Console.WriteLine("{0}\t{1:0.00}\t{2}\t\t{3:0.00}\t{4:0.00}\t\t{5:0.00}\t\t{6:0.00}\t\t{7:0.00}\t\t{8:0.00}",
Dynamic\Transforms\TimeSeries\DetectIidChangePoint.cs (3)
64Console.WriteLine($"{outputColumnName} column obtained " + 67Console.WriteLine("Data\tAlert\tScore\tP-Value\tMartingale value"); 143Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}\t{4:0.00}", value,
Dynamic\Transforms\TimeSeries\DetectIidChangePointBatchPrediction.cs (3)
64Console.WriteLine($"{outputColumnName} column obtained " + 67Console.WriteLine("Data\tAlert\tScore\tP-Value\tMartingale value"); 94Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}\t{4:0.00}", value,
Dynamic\Transforms\TimeSeries\DetectIidSpike.cs (3)
56Console.WriteLine($"{outputColumnName} column obtained " + 59Console.WriteLine("Data\tAlert\tScore\tP-Value"); 106Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}", value,
Dynamic\Transforms\TimeSeries\DetectIidSpikeBatchPrediction.cs (3)
55Console.WriteLine($"{outputColumnName} column obtained " + 58Console.WriteLine("Data\tAlert\tScore\tP-Value"); 81Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}", value,
Dynamic\Transforms\TimeSeries\DetectSeasonality.cs (1)
37Console.WriteLine($"Seasonality Period: #{period}");
Dynamic\Transforms\TimeSeries\DetectSpikeBySsa.cs (3)
65Console.WriteLine($"Output from spike predictions on new data:"); 66Console.WriteLine("Data\tAlert\tScore\tP-Value"); 118Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}", value,
Dynamic\Transforms\TimeSeries\DetectSpikeBySsaBatchPrediction.cs (3)
72Console.WriteLine($"{outputColumnName} column obtained " + 75Console.WriteLine("Data\tAlert\tScore\tP-Value"); 107Console.WriteLine("{0}\t{1}\t{2:0.00}\t{3:0.00}", value,
Dynamic\Transforms\TimeSeries\Forecasting.cs (4)
61Console.WriteLine($"Forecasted values:"); 62Console.WriteLine("[{0}]", string.Join(", ", forecast.Forecast)); 87Console.WriteLine("[{0}]", string.Join(", ", forecast.Forecast)); 92Console.WriteLine("[{0}]", string.Join(", ", forecast.Forecast));
Dynamic\Transforms\TimeSeries\ForecastingWithConfidenceInterval.cs (5)
112Console.WriteLine($"Forecasted values:"); 113Console.WriteLine("[{0}]", string.Join(", ", forecast)); 114Console.WriteLine($"Confidence intervals:"); 116Console.Write($"[{confidenceIntervalLowerBounds[index]} -" + 118Console.WriteLine();
Dynamic\Transforms\TimeSeries\LocalizeRootCause.cs (2)
30Console.WriteLine($"Root cause item #{count} ..."); 31Console.WriteLine($"Score: {item.Score}, Path: {String.Join(" ", item.Path)}, Direction: {item.Direction}, Dimension:{String.Join(" ", item.Dimension)}");
Dynamic\Transforms\TimeSeries\LocalizeRootCauseMultidimension.cs (2)
33Console.WriteLine($"Prepared cause #{count} ..."); 34Console.WriteLine($"Score: {item.Score}, Path: {String.Join(" ", item.Path)}, Direction: {item.Direction}, Dimension:{String.Join(" ", item.Dimension)}");
Dynamic\Transforms\TreeFeaturization\FastForestBinaryFeaturizationWithOptions.cs (4)
90Console.WriteLine("The original feature vector [" + String.Join( 94Console.WriteLine(" Trees' output values: [" + String.Join(",", 97Console.WriteLine(" Leave IDs' 0-1 representation: [" + String 100Console.WriteLine(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastForestRegressionFeaturizationWithOptions.cs (4)
91Console.WriteLine("The original feature vector [" + String.Join(",", 95Console.WriteLine(" Trees' output values: [" + String.Join(",", 98Console.WriteLine(" Leave IDs' 0-1 representation: [" + String 101Console.WriteLine(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (4)
92Console.WriteLine("The original feature vector [" + String.Join( 96Console.WriteLine(" Trees' output values: [" + String.Join(",", 99Console.WriteLine(" Leave IDs' 0-1 representation: [" + String 102Console.WriteLine(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeRankingFeaturizationWithOptions.cs (4)
88Console.WriteLine("The original feature vector [" + String.Join(",", 92Console.WriteLine(" Trees' output values: [" + String.Join(",", 95Console.WriteLine(" Leave IDs' 0-1 representation: [" + String 98Console.WriteLine(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeRegressionFeaturizationWithOptions.cs (4)
91Console.WriteLine("The original feature vector [" + String.Join(",", 95Console.WriteLine(" Trees' output values: [" + String.Join(",", 98Console.WriteLine(" Leave IDs' 0-1 representation: [" + String 101Console.WriteLine(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeTweedieFeaturizationWithOptions.cs (4)
91Console.WriteLine("The original feature vector [" + String.Join(",", 95Console.WriteLine(" Trees' output values: [" + String.Join(",", 98Console.WriteLine(" Leave IDs' 0-1 representation: [" + String 101Console.WriteLine(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (4)
81Console.WriteLine("The original feature vector [" + String.Join( 85Console.WriteLine(" Trees' output values: [" + String.Join(",", 88Console.WriteLine(" Leave IDs' 0-1 representation: [" + String 91Console.WriteLine(" Paths IDs' 0-1 representation: [" + String
Dynamic\WithOnFitDelegate.cs (3)
51Console.WriteLine(binningTransformer == null); 58Console.WriteLine(binningTransformer == null); 69Console.WriteLine(
Program.cs (3)
22Console.WriteLine(type.Name); 30Console.WriteLine($"An error occurred while running {type.Name}: {ex.Message}"); 37Console.WriteLine($"Number of samples that ran without any exception: {samples}");
Microsoft.ML.Samples.GPU (80)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\ImageClassification.cs (2)
62Console.WriteLine( 65Console.WriteLine(new string('-', 10));
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (5)
67Console.WriteLine("Name: {0}, Type: {1}, Shape: (-1, {2})", "Features", 72Console.WriteLine("Name: {0}, Type: {1}, Shape: (-1, {2})", 125Console.WriteLine("Number of classes: {0}", prediction.Prediction 127Console.WriteLine("Is sentiment/review positive? {0}", prediction 129Console.WriteLine("Prediction Confidence: {0}", prediction.Prediction[1]
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (17)
72Console.WriteLine("*** Training the image classification model " + 88Console.WriteLine("Training with transfer learning finished."); 111Console.WriteLine("Prediction on a single image finished."); 113Console.WriteLine("Press any key to finish"); 114Console.ReadKey(); 121Console.WriteLine(e.Message); 147Console.WriteLine($"Scores : [{string.Join(",", prediction.Score)}], " + 155Console.WriteLine("Making bulk predictions and evaluating model's " + 162Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," + 165Console.WriteLine("Predicting and Evaluation complete."); 266Console.WriteLine($"{relativeFilePath} already exists."); 270Console.WriteLine($"Downloading {relativeFilePath}"); 282Console.WriteLine(""); 283Console.WriteLine($"Downloaded {relativeFilePath}"); 298Console.WriteLine($"Extracting."); 302Console.WriteLine(""); 303Console.WriteLine("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (18)
90MetricsCallback = (metrics) => Console.WriteLine(metrics), 109Console.WriteLine("*** Training the image classification model " + 123Console.WriteLine("Training with transfer learning finished."); 145Console.WriteLine("Prediction on a single image finished."); 147Console.WriteLine("Press any key to finish"); 148Console.ReadKey(); 173Console.WriteLine($"Scores : [{string.Join(",", prediction.Score)}], " + 181Console.WriteLine("Making bulk predictions and evaluating model's " + 188Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," + 191Console.WriteLine("Predicting and Evaluation complete."); 298Console.WriteLine($"{relativeFilePath} already exists."); 302Console.WriteLine($"Downloading {relativeFilePath}"); 314Console.WriteLine(""); 315Console.WriteLine($"Downloaded {relativeFilePath}"); 330Console.WriteLine($"Extracting."); 339Console.Write("."); 343Console.WriteLine(""); 344Console.WriteLine("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (18)
86MetricsCallback = (metrics) => Console.WriteLine(metrics), 96Console.WriteLine("*** Training the image classification model " + 113Console.WriteLine("Training with transfer learning finished."); 140Console.WriteLine("Prediction on a single image finished."); 142Console.WriteLine("Press any key to finish"); 143Console.ReadKey(); 169Console.WriteLine($"ImageFile : " + 179Console.WriteLine("Making bulk predictions and evaluating model's " + 186Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," + 189Console.WriteLine("Predicting and Evaluation complete."); 254Console.WriteLine($"{relativeFilePath} already exists."); 258Console.WriteLine($"Downloading {relativeFilePath}"); 270Console.WriteLine(""); 271Console.WriteLine($"Downloaded {relativeFilePath}"); 286Console.WriteLine($"Extracting."); 295Console.Write("."); 299Console.WriteLine(""); 300Console.WriteLine("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (18)
75MetricsCallback = (metrics) => Console.WriteLine(metrics), 89Console.WriteLine("*** Training the image classification model " + 105Console.WriteLine("Training with transfer learning finished."); 128Console.WriteLine("Prediction on a single image finished."); 130Console.WriteLine("Press any key to finish"); 131Console.ReadKey(); 156Console.WriteLine($"Scores : [{string.Join(",", prediction.Score)}], " + 164Console.WriteLine("Making bulk predictions and evaluating model's " + 171Console.WriteLine($"Micro-accuracy: {metrics.MicroAccuracy}," + 174Console.WriteLine("Predicting and Evaluation complete."); 275Console.WriteLine($"{relativeFilePath} already exists."); 279Console.WriteLine($"Downloading {relativeFilePath}"); 291Console.WriteLine(""); 292Console.WriteLine($"Downloaded {relativeFilePath}"); 307Console.WriteLine($"Extracting."); 316Console.Write("."); 320Console.WriteLine(""); 321Console.WriteLine("Extracting is completed.");
Program.cs (2)
21Console.WriteLine(type.Name); 27Console.WriteLine("Number of samples that ran without any exception: " + samples);
Microsoft.ML.Samples.OneDal (6)
Program.cs (6)
182Console.WriteLine("algorithm,all workflow time[ms],training accuracy,testing accuracy,training F1 score,testing F1 score"); 183Console.WriteLine($"Random Forest Binary,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}"); 189Console.WriteLine("algorithm,all workflow time[ms],training RMSE,testing RMSE,training R2 score,testing R2 score"); 190Console.WriteLine($"Random Forest Regression,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}"); 197Console.WriteLine("algorithm,all workflow time[ms],training RMSE,testing RMSE,training R2 score,testing R2 score"); 198Console.WriteLine($"OLS Regression,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
Microsoft.ML.StandardTrainers (21)
Optimizer\DifferentiableFunction.cs (7)
194Console.WriteLine(Header); 231Console.WriteLine("{0,-9}{1,-18:0.0000e0}{2,-18:0.0000e0}{3,-15:0.0000e0}{4,0:0.0000e0}", n, numDeriv, dirDeriv, diff, normDiff); 258Console.WriteLine(Header); 278Console.WriteLine("{0,-9}{1,-18:0.0000e0}{2,-18:0.0000e0}{3,-15:0.0000e0}{4,0:0.0000e0}", n, numDeriv, dirDeriv, diff, normDiff); 297Console.WriteLine(Header); 316Console.WriteLine("{0,-9}{1,-18:0.0000e0}{2,-18:0.0000e0}{3,-15:0.0000e0}{4,0:0.0000e0}", n, numDeriv, dirDeriv, diff, normDiff); 351Console.WriteLine("{0,-18:0.0000e0}{1,-18:0.0000e0}{2,-15:0.0000e0}{3,0:0.0000e0}", numDeriv, dirDeriv, diff, normDiff);
Optimizer\LineSearch.cs (7)
498Console.WriteLine(deriv); 502Console.WriteLine(deriv); 519Console.WriteLine("{0}\t{1}", n, norm); 528Console.WriteLine(VectorUtils.Norm(grad)); 529Console.WriteLine(); 530Console.WriteLine(); 537Console.WriteLine(VectorUtils.Norm(grad));
Optimizer\OptimizationMonitor.cs (3)
85Console.Error.Write(_checkingMessage); 86Console.Error.Flush(); 91Console.Error.Write('\b');
Standard\LogisticRegression\LbfgsPredictorBase.cs (3)
363Console.Write("."); 365Console.WriteLine("\t{0}\t{1}", numExamples, normDiff); 404Console.WriteLine();
Standard\SdcaBinary.cs (1)
1351Console.WriteLine("Table: {0} out of {1}", c, _rgit.Length);
Microsoft.ML.TensorFlow.Tests (3)
TensorflowTests.cs (3)
1511MetricsCallback = (metric) => Console.WriteLine(metric), 1667Console.WriteLine(metric); 1803MetricsCallback = (metric) => { Console.WriteLine(metric); lastEpoch = metric.Train != null ? metric.Train.Epoch : 0; },
Microsoft.ML.TestFramework (4)
BaseTestClass.cs (3)
36Console.WriteLine($"Unhandled exception: {e.ExceptionObject}"); 75Console.WriteLine($"Starting test: {FullTestName}"); 83Console.WriteLine($"Finished test: {FullTestName} " +
GlobalBase.cs (1)
75Console.WriteLine("Assert handler invoked but ignored: {0}", msg);
Microsoft.ML.Tests (8)
ExpressionLanguageTests\ExpressionLanguageTests.cs (1)
441private static TextWriter OutWriter { get { return Writer ?? Console.Out; } }
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (7)
109Console.WriteLine(binningTransformer == null); 116Console.WriteLine(binningTransformer == null); 127Console.WriteLine( 363Console.WriteLine($"Feature {i}: Difference in RMS - {featureImportance[i].RootMeanSquaredError.Mean}"); 481Console.WriteLine(row); 661Console.WriteLine(metrics.MicroAccuracy); 669Console.WriteLine(microAccuracies.Average());
Microsoft.ML.TimeSeries.Tests (1)
TimeSeriesDirectApi.cs (1)
1073Console.WriteLine(data.Value);
Microsoft.ML.Tokenizers.Data.Tests (1)
src\Common\tests\RetryHelper.cs (1)
61Console.WriteLine(diagnostic);
Microsoft.ML.Tokenizers.Tests (1)
src\Common\tests\RetryHelper.cs (1)
61Console.WriteLine(diagnostic);
Microsoft.ML.TorchSharp (1)
AutoFormerV2\ObjectDetectionMetrics.cs (1)
72Console.WriteLine($"total : {total}, filtered: {filterNum}, filter ratio: {(total == 0 ? 0f : ((double)filterNum / (double)total)):P}");
MiddlewareAnalysisSample (3)
Startup.cs (3)
103Console.WriteLine($"MiddlewareStarting: {name}; {httpContext.Request.Path}"); 109Console.WriteLine($"MiddlewareException: {name}; {exception.Message}"); 115Console.WriteLine($"MiddlewareFinished: {name}; {httpContext.Response.StatusCode}");
MilvusPlayground.ApiService (1)
Program.cs (1)
31Console.WriteLine("Drop collection {0}", collectionName);
MinimalSample (3)
Program.cs (3)
35Console.WriteLine("Running filter!"); 46Console.WriteLine($"Building filter! Num args: {routeContext.MethodInfo.GetParameters().Length}"); 49Console.WriteLine("Running filter!");
MSBuild (85)
AutomaticEncodingRestorer.cs (4)
33_originalOutputEncoding = Console.OutputEncoding; 41_originalInputEncoding = Console.InputEncoding; 55Console.OutputEncoding = _originalOutputEncoding; 59Console.InputEncoding = _originalInputEncoding;
Modifiers.cs (2)
240Console.WriteLine("'{0}' is a non-standard casing. Replace the use with the standard casing like 'RecursiveDir' or 'FullPath' for a small performance improvement.", name); 301Console.WriteLine("'{0}' is a non-standard casing. Replace the use with the standard casing like 'RecursiveDir' or 'FullPath' for a small performance improvement.", name);
PrintLineDebuggerWriters.cs (1)
69public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.WriteLine(SimpleFormat(id, callsite, args));
ProjectSchemaValidationHandler.cs (2)
53Console.WriteLine(AssemblyResources.GetString("SchemaFileLocation"), schemaFile); 264Console.WriteLine(
TerminalLogger\Terminal.cs (8)
43if (Console.IsOutputRedirected) 48return Console.BufferHeight; 57if (Console.IsOutputRedirected) 62return Console.BufferWidth; 74_originalOutputEncoding = Console.OutputEncoding; 75Console.OutputEncoding = Encoding.UTF8; 81Output = Console.Out; 205Console.OutputEncoding = _originalOutputEncoding;
XMake.cs (68)
214Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidConfigurationFile", builder.ToString())); 270Console.CancelKeyPress += Console_CancelKeyPress; 438Console.WriteLine("\n{0}{1}{0}", new string('=', 41 - ("Process".Length / 2)), "Process"); 439Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak Working Set", currentProcess.PeakWorkingSet64, "bytes"); 440Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak Paged Memory", currentProcess.PeakPagedMemorySize64, "bytes"); // Not very useful one 441Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak Virtual Memory", currentProcess.PeakVirtualMemorySize64, "bytes"); // Not very useful one 442Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak Privileged Processor Time", currentProcess.PrivilegedProcessorTime.TotalMilliseconds, "ms"); 443Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak User Processor Time", currentProcess.UserProcessorTime.TotalMilliseconds, "ms"); 444Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak Total Processor Time", currentProcess.TotalProcessorTime.TotalMilliseconds, "ms"); 446Console.WriteLine("{0}{0}", new string('=', 41)); 506Console.WriteLine("\n{0}{1}{0}", new string('=', 41 - (category.CategoryName.Length / 2)), category.CategoryName); 516Console.WriteLine("{0}{0}", new string('=', 41)); 545Console.WriteLine("||{0,50}|{1}|{2,8}|", counter.CounterName, valueString, friendlyCounterType); 631Console.WriteLine($"Waiting for debugger to attach ({currentProcess.MainModule.FileName} PID {currentProcess.Id}). Press enter to continue..."); 632Console.ReadLine(); 687Console.CancelKeyPress += cancelHandler; 804Console.WriteLine(ResourceUtilities.GetResourceString("PossiblyOmittedMaxCPUSwitch")); 842exitType = OutputPropertiesAfterEvaluation(getProperty, getItem, project, Console.Out); 915exitType = OutputBuildInformationInJson(result, getProperty, getItem, getTargetResult, loggers, exitType, Console.Out); 947Console.WriteLine(e.Message); 948Console.WriteLine(); 958Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("ConfigurationFailurePrefixNoErrorCode", e.ErrorCode, e.Message)); 965Console.WriteLine(e.Message); 976Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerFailurePrefixNoErrorCode", e.ErrorCode, e.Message)); 982Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerFailurePrefixWithErrorCode", e.Message)); 989Console.WriteLine(e.InnerException.ToString()); 1000Console.WriteLine($"MSBUILD : error {e.ErrorCode}: {e.Message}"); 1002Console.WriteLine("This is an unhandled exception from a logger -- PLEASE OPEN A BUG AGAINST THE LOGGER OWNER."); 1006Console.WriteLine(e.InnerException.ToString()); 1012Console.WriteLine( 1019Console.WriteLine($"MSBUILD : error {e.ErrorCode}: {e.Message}"); 1024Console.WriteLine("This is an unhandled exception from a project cache -- PLEASE OPEN A BUG AGAINST THE PROJECT CACHE OWNER."); 1030Console.WriteLine(e.InnerException.ToString()); 1037Console.WriteLine( 1046Console.WriteLine("{0}\r\n{1}", AssemblyResources.GetString("FatalError"), e.ToString()); 1048Console.WriteLine("This is an unhandled exception in MSBuild Engine -- PLEASE OPEN A BUG AGAINST THE MSBUILD TEAM.\r\n{0}", e.ToString()); 1060Console.CancelKeyPress -= cancelHandler; 1119Console.Error.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("BuildFailedWithPropertiesItemsOrTargetResultsRequested")); 1430Console.WriteLine(ResourceUtilities.GetResourceString("UnsupportedSwitchForSolutionFiles"), CommandLineSwitches.ParameterizedSwitch.Preprocess); 1451Console.WriteLine(ResourceUtilities.GetResourceString("UnsupportedSwitchForSolutionFiles"), CommandLineSwitches.ParameterizedSwitch.Targets); 1672Console.WriteLine(AssemblyResources.GetString("FatalError")); 1674Console.WriteLine("This is an unhandled exception in MSBuild -- PLEASE OPEN A BUG AGAINST THE MSBUILD TEAM."); 1676Console.WriteLine(exception.ToString()); 1677Console.WriteLine(); 1727Console.Error.WriteLine(message); 1918Console.OutputEncoding = Encoding.UTF8; 1920Console.InputEncoding = Encoding.UTF8; 1933codepage = Console.OutputEncoding.CodePage; 2531Console.WriteLine($"Waiting for debugger to attach... ({currentProcess.MainModule.FileName} PID {currentProcess.Id})"); 2781Console.WriteLine($"{Path.Combine(s_exePath, s_exeName)} {equivalentCommandLine} {projectFile}"); 3217TextWriter writer = Console.Out; 3236TextWriter writer = Console.Out; 4416Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("OptionalLoggerCreationMessage", loggerDescription.Name, e.Message)); 4491Console.WriteLine(message); 4577Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("MSBuildVersionMessage", ProjectCollection.DisplayVersion, NativeMethods.FrameworkName)); 4589Console.WriteLine(AssemblyResources.GetString("HelpMessage_1_Syntax")); 4590Console.WriteLine(AssemblyResources.GetString("HelpMessage_2_Description")); 4591Console.WriteLine(AssemblyResources.GetString("HelpMessage_3_SwitchesHeader")); 4594Console.WriteLine(AssemblyResources.GetString(parameterizedSwitchRsouceId)); 4598Console.WriteLine(AssemblyResources.GetString(parameterlessSwitchRsouceId)); 4600Console.WriteLine(AssemblyResources.GetString("HelpMessage_7_ResponseFile")); 4601Console.WriteLine(AssemblyResources.GetString("HelpMessage_16_Examples")); 4602Console.WriteLine(AssemblyResources.GetString("HelpMessage_37_DocsLink")); 4610Console.WriteLine(AssemblyResources.GetString("HelpPrompt")); 4621Console.WriteLine(ProjectCollection.Version.ToString()); 4625Console.Write(ProjectCollection.Version.ToString()); 4635Console.WriteLine(availability); 4646Console.WriteLine(jsonNode.ToJsonString(options));
MSBuildTaskHost (4)
Modifiers.cs (2)
240Console.WriteLine("'{0}' is a non-standard casing. Replace the use with the standard casing like 'RecursiveDir' or 'FullPath' for a small performance improvement.", name); 301Console.WriteLine("'{0}' is a non-standard casing. Replace the use with the standard casing like 'RecursiveDir' or 'FullPath' for a small performance improvement.", name);
OutOfProcTaskHost.cs (2)
94Console.WriteLine($"Waiting for debugger to attach ({currentProcess.MainModule.FileName} PID {currentProcess.Id}). Press enter to continue..."); 95Console.ReadLine();
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
127[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Console))]
netstandard (1)
netstandard.cs (1)
431[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Console))]
NonDISample (2)
Program.cs (2)
31Console.WriteLine($"Protect returned: {protectedPayload}"); 35Console.WriteLine($"Unprotect returned: {unprotectedPayload}");
PhotinoTestApp (1)
Program.cs (1)
28Console.Write(
PrepareTests (9)
MinimizeUtil.cs (2)
82Console.WriteLine($"[{DateTime.UtcNow}] Walking {unitDirPath}"); 279Console.WriteLine("Directory not grouped under configuration/TFM: " + relativePath);
Program.cs (2)
33Console.Error.WriteLine("--source argument must be provided"); 39Console.Error.WriteLine("--destination argument must be provided");
TestDiscovery.cs (5)
27Console.WriteLine($"Found {assemblies.Count} test assemblies"); 48Console.WriteLine($"Discovered tests in {stopwatch.Elapsed}"); 52Console.WriteLine($"Test discovery failed"); 121Console.Error.WriteLine($"Error: {e.Message}"); 132Console.WriteLine($"Failed to discover tests in {pathToAssembly}:{Environment.NewLine}{errorOutput}");
PresentationCore (1)
MS\Internal\MediaTrace.cs (1)
70System.Diagnostics.Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
PresentationFramework (7)
MS\Internal\Data\AccessorTable.cs (5)
131Console.WriteLine($"After generation {_generation}, removed {originalCount - _table.Count} of {originalCount} entries from AccessorTable, new count is {_table.Count}"); 148Console.WriteLine("No stats available for AccessorTable."); 152Console.WriteLine("AccessorTable had {0} hits, {1} misses ({2,2}%) in {3} generations.", 154Console.WriteLine(" Age Hits Pct Cumulative"); 161Console.WriteLine("{0,5} {1,6} {2,5} {3,5}",
MS\Internal\Documents\DocumentsTrace.cs (1)
109TextWriterTraceListener consoleListener = new TextWriterTraceListener( Console.Out );
MS\Internal\Utility\TraceLog.cs (1)
53Console.WriteLine(_log[k]);
QueueSharing (4)
Program.cs (4)
20Console.Write("Create and (c)reate, (a)ttach to existing, or attach (o)r create? "); 21var key = Console.ReadKey(); 22Console.WriteLine(); 36Console.WriteLine("Unknown option, defaulting to (c)create.");
ReachFramework (81)
AlphaFlattener\DrawingContext.cs (3)
819Console.WriteLine(" DrawGeometry(" + _comment + ")"); 915Console.WriteLine(" DrawImage(" + _comment + ")"); 965Console.WriteLine(" DrawGlyphRun(" + _comment + ")");
AlphaFlattener\Flattener.cs (38)
172Console.WriteLine("TreeFlatten for subtree"); 189Console.WriteLine("end TreeFlatten for subtree"); 190Console.WriteLine("AlphaFlatten for subtree"); 198Console.WriteLine("end AlphaFlatten for subtree"); 330Console.WriteLine(); 331Console.WriteLine("Stage 2: Calculating intersections using bounding boxes"); 332Console.WriteLine(); 342Console.WriteLine(); 343Console.WriteLine("Original display list"); 344Console.WriteLine(); 353Console.WriteLine(); 355Console.WriteLine("Primitives in display list: {0}", count); 357Console.WriteLine(); 375Console.WriteLine(); 376Console.WriteLine("Stage 4: Alpha flattening"); 377Console.WriteLine(); 393Console.Write(i); 394Console.Write(": "); 412Console.WriteLine(""); 431Console.WriteLine("Delete command {0}", i); 737Console.WriteLine("Make {0} opaque", i); 823Console.WriteLine(); 824Console.WriteLine("Start 3: Display list optimization"); 825Console.WriteLine(); 997Console.WriteLine(); 998Console.WriteLine("Interesting primitives: {0}", vip); 999Console.WriteLine("Area with transparency: {0}", DisplayList.LeftPad(target, 0)); 1000Console.WriteLine(); 1004Console.WriteLine( 1012Console.WriteLine(); 1072Console.WriteLine("Serialized primitives to " + name); 1078Console.WriteLine(e.ToString()); 1243Console.WriteLine(); 1244Console.WriteLine("\r\nStage 1: Tree Flattening"); 1245Console.WriteLine(); 1279Console.WriteLine(); 1280Console.WriteLine("End AlphaFlattening"); 1281Console.WriteLine();
AlphaFlattener\Primitive.cs (1)
538Console.WriteLine("Drawing of type '" + d.GetType() + "' not handled.");
AlphaFlattener\PrimitiveList.cs (35)
83Console.WriteLine(); 85Console.WriteLine(" No Type Und Ovr TrO Bounding Box Clipping"); 89Console.Write(" Transform"); 92Console.WriteLine(); 102Console.Write(LeftPad(index, 4) + LeftPad(typ, 18) + ":"); 108Console.Write(' '); 112Console.Write('@'); 117Console.Write(" "); 123Console.Write(LeftPad(info.underlay.Count, 3)); 128Console.Write(' ' + LeftPad(info.overlap.Count, 3)); 132Console.Write('$'); 133Console.Write(LeftPad(info.overlapHasTransparency, 3)); 137Console.Write(" "); 140Console.Write(' '); 144Console.Write(" "); 147Console.Write(LeftPad(info.bounds, 0)); 153Console.Write(LeftPad(clip.Bounds, 0)); 160Console.Write(" {"); 161Console.Write(LeftPad(m.M11, 3) + ' '); 162Console.Write(LeftPad(m.M12, 3) + ' '); 163Console.Write(LeftPad(m.M21, 3) + ' '); 164Console.Write(LeftPad(m.M22, 3) + ' '); 165Console.Write(LeftPad(m.OffsetX, 6) + ' '); 166Console.Write(LeftPad(m.OffsetY, 6)); 167Console.Write("} "); 178Console.Write(" \""); 182Console.Write(chars[i]); 185Console.Write('"'); 203Console.Write(" SolidColorBrush({0})", sb.Color); 211Console.Write(' '); 212Console.Write(LeftPad(extra, 0)); 215Console.WriteLine(); 299Console.Write("skip "); 374Console.Write(" <{0} {1}>", one, two); 380Console.WriteLine();
AlphaFlattener\Utility.cs (2)
55Console.WriteLine("{0} {1} {2}", s_count, elapsed.TotalSeconds, s_total); 997Console.WriteLine("Combine({0})", mode);
Serialization\VisualTreeFlattener.cs (2)
156Console.WriteLine("Saving " + uri); 755Console.WriteLine("Drawing of type '" + d.GetType() + "' not handled.");
Redis (1)
Program.cs (1)
29Console.WriteLine(protectedData);
RemoteExecutorConsoleApp (1)
RemoteExecutorConsoleApp.cs (1)
22Console.Error.WriteLine("Usage: {0} assemblyName typeName methodName exceptionFile [additionalArgs]", typeof(Program).GetTypeInfo().Assembly.GetName().Name);
Replay (22)
Replay.cs (20)
76Console.WriteLine($"Binary Log: {options.BinlogPath}"); 77Console.WriteLine($"Client Directory: {options.ClientDirectory}"); 78Console.WriteLine($"Output Directory: {options.OutputDirectory}"); 79Console.WriteLine($"Pipe Name: {options.PipeName}"); 80Console.WriteLine($"Parallel: {options.MaxParallel}"); 81Console.WriteLine($"Iterations: {options.Iterations}"); 82Console.WriteLine(); 83Console.WriteLine("Starting server"); 88Console.WriteLine("Failed to start server"); 92Console.WriteLine($"Process Id: {serverProcessId}"); 95Console.WriteLine("Press any key to continue"); 96Console.ReadKey(intercept: true); 97Console.WriteLine("Continuing"); 104Console.WriteLine(); 105Console.WriteLine($"Iteration: {i + 1}"); 112Console.WriteLine($"{buildData.CompilerCall.GetDiagnosticName()} ... {buildData.BuildResponse.Type}"); 116Console.WriteLine($"Pipe Name: {options.PipeName}"); 117Console.WriteLine($"Compilation Events: {compilerCalls.Count}"); 118Console.WriteLine($"Time: {stopwatch.Elapsed:mm\\:ss}"); 125Console.WriteLine("Shutting down server");
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (2)
62Console.WriteLine(message); 63Console.WriteLine(stackTrace);
ResultsOfTGenerator (11)
Program.cs (11)
45Console.WriteLine($"Will generate class file at {classFilePath}"); 49Console.WriteLine("Press any key to continue or Ctrl-C to cancel"); 50Console.ReadKey(); 213Console.WriteLine(); 214Console.WriteLine($"{file.Length:N0} bytes written to {file.FullName} successfully!"); 215Console.WriteLine(); 220Console.WriteLine($"Will generate tests file at {testFilePath}"); 224Console.WriteLine("Press any key to continue or Ctrl-C to cancel"); 225Console.ReadKey(); 299Console.WriteLine(); 300Console.WriteLine($"{file.Length:N0} bytes written to {file.FullName} successfully!");
Roslyn.PerformanceTests (1)
helloworld\HelloWorld.cs (1)
11System.Console.WriteLine("Hello, World!");
Roslyn.Test.Performance.Utilities (2)
Benchview.cs (1)
93System.Console.Write(System.IO.File.ReadAllText(submissionJson));
Logger.cs (1)
64Console.WriteLine(DateTime.Now + " : " + v);
RoutingSandbox (7)
Program.cs (7)
23Console.WriteLine("Choose a sample to run:"); 24Console.WriteLine($"1. {EndpointRoutingScenario}"); 25Console.WriteLine($"2. {RouterScenario}"); 26Console.WriteLine(); 28scenario = Console.ReadLine(); 49Console.WriteLine($"unknown scenario {scenario}"); 50Console.WriteLine($"usage: dotnet run -- ({EndpointRoutingScenario}|{RouterScenario})");
RoutingWebSite (7)
Program.cs (7)
25Console.WriteLine("Choose a sample to run:"); 26Console.WriteLine($"1. {EndpointRoutingScenario}"); 27Console.WriteLine($"2. {RouterScenario}"); 28Console.WriteLine(); 30scenario = Console.ReadLine(); 51Console.WriteLine($"unknown scenario {scenario}"); 52Console.WriteLine($"usage: dotnet run -- ({EndpointRoutingScenario}|{RouterScenario})");
RunTests (18)
ConsoleUtil.cs (10)
17Console.Write(message); 23Console.WriteLine(); 29Console.Write("##vso[task.logissue type=warning]"); 30Console.WriteLine(message); 36Console.WriteLine(message); 52var saved = Console.ForegroundColor; 55Console.Out.Flush(); 56Console.ForegroundColor = color; 58Console.Out.Flush(); 62Console.ForegroundColor = saved;
Options.cs (1)
203optionSet.WriteOptionDescriptions(Console.Out);
Program.cs (6)
66Console.CancelKeyPress += delegate 300Console.WriteLine($"Skipping {name} because it is not included or is excluded"); 309Console.WriteLine($"Skipping {name} because {options.Configuration} does not exist"); 318Console.WriteLine($"Skipping {name} {tfm} does not match the target framework"); 338Console.WriteLine($"Found unit test assembly '{matches[0]}' in '{targetFrameworkDirectory}'"); 343Console.WriteLine($"{targetFrameworkDirectory} does not contain unit tests");
TestRunner.cs (1)
428var color = testResult.Succeeded ? Console.ForegroundColor : ConsoleColor.Red;
SampleStartups (5)
StartupBlockingOnStart.cs (1)
50Console.ReadLine();
StartupInjection.cs (4)
46Console.WriteLine("NormalStartup.ConfigureServices"); 51Console.WriteLine("NormalStartup.Configure"); 63Console.WriteLine("InjectedStartup.ConfigureServices"); 68Console.WriteLine("InjectedStartup.Configure");
SignalR.Client.FunctionalTestApp (1)
Program.cs (1)
52Console.WriteLine($"Forcing URL to: {url}");
SignalRSamples (1)
Hubs\UploadHub.cs (1)
29Console.WriteLine($"received: {item}");
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72Console.WriteLine(log);
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72Console.WriteLine(log);
SqlServerEndToEnd.DbSetup (1)
Program.cs (1)
20Console.WriteLine("Database created!");
StackDepthTest (3)
Program.cs (3)
38Console.WriteLine("You must pass an integer argument in to this program."); 42Console.WriteLine($"Running in {IntPtr.Size * 8}-bit mode"); 51Console.WriteLine($"Could not parse {args[0]}");
StartRequestDelegateUrlApp (2)
Program.cs (2)
33Console.WriteLine($"Now listening on: {address}"); 35Console.WriteLine("Application started. Press Ctrl+C to shut down.");
StartRouteBuilderUrlApp (2)
Program.cs (2)
34Console.WriteLine($"Now listening on: {address}"); 36Console.WriteLine("Application started. Press Ctrl+C to shut down.");
StartWithIApplicationBuilderUrlApp (2)
Program.cs (2)
37Console.WriteLine($"Now listening on: {address}"); 39Console.WriteLine("Application started. Press Ctrl+C to shut down.");
Stress.ApiService (126)
ConsoleStresser.cs (124)
11var stdout = Console.OpenStandardOutput(); 14Console.SetOut(con); 16Console.WriteLine(); 17Console.WriteLine("Console stress"); 18Console.WriteLine("=============="); 19Console.WriteLine(); 21Console.WriteLine("UTF-8 characters:"); 22Console.WriteLine("Emojis: \U0001F600, \U0001F680, \U0001F4A9"); 23Console.WriteLine("Chinese: \u8fd9\u662f\u4e00\u4e2a\u4e2d\u6587\u5b57\u7b26\u4e32"); // "This is a Chinese string" 24Console.WriteLine(); 26Console.WriteLine("Entire URL in one segment:"); 27Console.Write("\x1b[36mhttp://localhost:7000\x1b[0m"); 28Console.WriteLine(); 30Console.WriteLine("Scheme and host in separate segment to port:"); 31Console.Write("\x1b[36mhttp://localhost\x1b[0m"); 32Console.Write("\x1b[31m:7001\x1b[0m"); 33Console.WriteLine(); 35Console.WriteLine("Everything in different segments:"); 36Console.Write("\x1b[36mhttp\x1b[0m"); 37Console.Write("\x1b[31m://\x1b[0m"); 38Console.Write("\x1b[32mlocalhost\x1b[0m"); 39Console.Write("\x1b[33m:7002\x1b[0m"); 40Console.WriteLine(); 41Console.WriteLine(); 43Console.WriteLine("URL examples:"); 44Console.Write("\x1b[36m"); // Set color so we can see the difference between URLs and the rest of the text 45Console.WriteLine("https://www.example.com"); 46Console.WriteLine("https://subdomain.example.com"); 47Console.WriteLine("http://www.example.com"); 48Console.WriteLine("http://example.com/path/to/page"); 49Console.WriteLine("https://www.example.com?query=string&param=value"); 50Console.WriteLine("https://www.example.com#anchor"); 51Console.WriteLine("https://255.255.255.255"); 52Console.WriteLine("ftp://example.com/resource"); 53Console.WriteLine("mailto:user@example.com"); 54Console.WriteLine("https://user:password@example.com"); 55Console.WriteLine("https://example.com:8080"); 56Console.WriteLine("https://example.com/path/to/page.html"); 57Console.WriteLine("https://www.example.co.uk"); 58Console.WriteLine("https://example.io"); 59Console.WriteLine("https://xn--n3h.com (Punycode for Unicode characters)"); 60Console.WriteLine("https://www.example.com/path%20with%20spaces"); 61Console.WriteLine("https://[2001:db8::1] (IPv6 address)"); 62Console.WriteLine("http://www.example.com/foo.php?bar[]=1&bar[]=2&bar[]=3"); 63Console.WriteLine("https://www.example.com/path/to/page?#"); 64Console.WriteLine("https://user:password@example.com/path?query=string#anchor"); 65Console.WriteLine("https://www.example.com/? (Question mark at end of URL)"); 66Console.WriteLine("https://example.com/# (Hash at end of URL)"); 67Console.WriteLine("https://www.example.com/path/to/page/?query=string#anchor"); 68Console.WriteLine("https://example.com./path/to/page/ (Dot at the end of domain)"); 69Console.WriteLine("https://www-example.com (Dash in domain)"); 70Console.WriteLine("https://example.com/path/to/page/index.html?query=string#section1"); 71Console.WriteLine("https://example.com/empty/"); 72Console.WriteLine("https://example.com/empty/. (Dot at end of URL)"); 73Console.WriteLine("https://www.example.com/path/with/semicolon; (Semicolon at end of URL)"); 74Console.WriteLine("https://www.example.com/path/with/semicolon, (Comma at end of URL)"); 75Console.WriteLine("https://www.example.com/path/with/plus+sign"); 76Console.WriteLine("https://www.example.com/path/with/equals=sign"); 77Console.WriteLine("https://www.example.com/path/with/ampersand&sign"); 78Console.WriteLine("https://www.example.com/path/with/percent%25encoded"); 79Console.WriteLine("https://www.example.com/path/with/dollar$sign"); 80Console.WriteLine("https://www.example.com/path/with/exclamation!mark"); 81Console.WriteLine("https://www.example.com/;path/"); 82Console.WriteLine("https://www.example.com/path/?query;string"); 83Console.WriteLine("https://;www.example.com/"); 84Console.WriteLine("https://www;.example.com/"); 85Console.WriteLine("https://www.exa;mple.com/"); 87Console.Write("\x1b[0m"); // reset color 90Console.WriteLine(); 91Console.WriteLine("ANSI Console Foreground and Background Colors"); 96Console.Write("\x1b[" + color + "m"); // Set foreground color 97Console.WriteLine($"This is foreground color {color}"); 99Console.Write("\x1b[0m"); // Reset colors to default 104Console.Write("\x1b[" + color + "m"); // Set background color 105Console.Write($"This is background color {color}"); 106Console.WriteLine("\x1b[0m"); // Reset colors to default after each background to maintain readability 108Console.Write("\x1b[0m"); // Reset all colors to default at the end 110Console.WriteLine(); 111Console.WriteLine("\u001b[36;45mThis text is Cyan with a Magenta background.\u001b[0m"); 112Console.WriteLine("\u001b[31mThis text has a red foreground using ANSI escape codes.\u001b[0m"); 113Console.WriteLine("\u001b[42mThis text has a green background using ANSI escape codes.\u001b[0m"); 114Console.WriteLine("\u001b[1mThis text is bold using ANSI escape codes.\u001b[0m"); 115Console.WriteLine("\u001b[4mThis text is underlined using ANSI escape codes.\u001b[0m"); 116Console.WriteLine("\u001b[31;1;4mThis text is red, bold, and underlined.\u001b[0m"); 117Console.WriteLine("\u001b[31;3;4mThis text is red, italic and underlined.\u001b[0m"); 118Console.WriteLine("\u001b[31;3;4;9mThis text is red, italic and strikethrough.\u001b[0m"); 119Console.WriteLine("\u001b[31;42;3;4mThis text is red, green background, italic and underlined.\u001b[0m"); 121Console.WriteLine(); 122Console.WriteLine("\u001b[38;5;221mThis text is a Xterm text color using ANSI escape codes.\u001b[0m"); 123Console.WriteLine("\u001b[48;5;95mThis text is a Xterm bakground color using ANSI escape codes.\u001b[0m"); 124Console.WriteLine("\u001b[38;5;221m\u001b[48;5;95mThis text is a Xterm text and bakground color using ANSI escape codes.\u001b[0m"); 125Console.WriteLine("\u001b[38;5;243mThis text is a Xterm gray text color using ANSI escape codes.\u001b[0m"); 126Console.WriteLine("\u001b[48;5;243mThis text is a Xterm gray background color using ANSI escape codes.\u001b[0m"); 127Console.WriteLine("\u001b[38;5;1mThis text is a Xterm red color using ANSI escape codes.\u001b[0m"); 128Console.WriteLine("\u001b[38;5;9mThis text is a Xterm bright red color using ANSI escape codes.\u001b[0m"); 129Console.WriteLine("\u001b[48;5;1mThis text is a Xterm red background color using ANSI escape codes.\u001b[0m"); 130Console.WriteLine("\u001b[48;5;9mThis text is a Xterm bright red background color using ANSI escape codes.\u001b[0m"); 131Console.WriteLine("\u001b[3;38;5;9mThis text is a Xterm bright red color and italic using ANSI escape codes.\u001b[0m"); 132Console.WriteLine("\u001b[4;38;5;9mThis text is a Xterm bright red color and underlined using ANSI escape codes.\u001b[0m"); 133Console.WriteLine("\u001b[9;38;5;9mThis text is a Xterm bright red color and strikethrough using ANSI escape codes.\u001b[0m"); 135Console.WriteLine(); 136Console.WriteLine("\u001b[38;5;321mThis text is a Xterm text color using invalid color value.\u001b[0m"); 137Console.WriteLine("\u001b[38;5;100This text is a Xterm text color using unfinished escape sequence (m here to finish the sequence late).\u001b[0m"); 138Console.WriteLine("\u001b[38;5;100This text is a Xterm text color using unfinished escape sequence.\u001b[0m"); 140Console.WriteLine(); 141Console.WriteLine("A link in escape sequence: \u001b]8;;https://example.com\u001b\\The link text\u001b]8;;\u001b\\"); 142Console.WriteLine("A link with formatted link text in escape sequnce: \u001b]8;;https://example.com\u001b\\The \u001b[38;5;100mlink\u001b[0m formatted text\u001b]8;;\u001b\\"); 144Console.WriteLine(); 145Console.WriteLine("HTML:"); 146Console.WriteLine("<b>BOLD!</b>"); 147Console.WriteLine("<script>alert('Hello, World!')</script>"); 148Console.WriteLine("<span style=\"color: #ff0000; background-color: #00ff00; font-weight: bold; text-decoration: underline;\">This text is red with a green background, bold, and underlined using HTML.</span>"); 150Console.WriteLine(); 151Console.WriteLine("Long continious !!! content:"); 152Console.WriteLine(new string('!', 1000)); 153Console.WriteLine(); 154Console.WriteLine("Long continious letter content:"); 157Console.Write(new string(i % 2 == 0 ? 'a' : 'b', 50)); 159Console.WriteLine(); 160Console.WriteLine(); 161Console.WriteLine("Long world content:"); 166Console.Write(" "); 168Console.Write(new string(i % 2 == 0 ? 'a' : 'b', 50)); 170Console.WriteLine();
Program.cs (2)
38Console.Error.WriteLine($"{i} Error"); 42Console.Out.WriteLine($"{i} Out");
Swaggatherer (10)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
SwaggathererApplication.cs (1)
62Console.WriteLine($"Processing {Input.Values.Count} files...");
System.Console (38)
src\libraries\Common\src\System\Console\ConsoleUtils.cs (1)
28bool enabled = !Console.IsOutputRedirected;
System\ConsolePal.Unix.cs (36)
49useReadLine: !Console.IsInputRedirected); 86encoding: Console.InputEncoding 101if (Console.IsInputRedirected) 109encoding: Console.InputEncoding, 111bufferSize: Console.ReadBufferSize, 124if (Console.IsInputRedirected) 139if (Console.IsInputRedirected) 147if (!Console.IsInputRedirected) 156private static ConsoleColor s_trackedForegroundColor = Console.UnknownColor; 157private static ConsoleColor s_trackedBackgroundColor = Console.UnknownColor; 173lock (Console.Out) // synchronize with other writers 175s_trackedForegroundColor = Console.UnknownColor; 176s_trackedBackgroundColor = Console.UnknownColor; 196if (Console.IsOutputRedirected) 210if (!Console.IsOutputRedirected) 218if (!Console.IsOutputRedirected) 226if (Console.IsOutputRedirected) 234lock (Console.Out) 353lock (Console.Out) 393if (!Console.IsOutputRedirected) 404if (Console.IsInputRedirected || Console.IsOutputRedirected) 433Debug.Assert(!Console.IsInputRedirected); 438lock (Console.Out) 652lock (Console.Out) 751if (((int)value & ~0xF) != 0 && value != Console.UnknownColor) 756lock (Console.Out) 762if (s_trackedForegroundColor != Console.UnknownColor) 767if (s_trackedBackgroundColor != Console.UnknownColor) 879lock (Console.Out) // ensure that writing the ANSI string and setting initialized to true are done atomically 889s_terminalHandle = !Console.IsOutputRedirected ? Interop.Sys.FileDescriptors.STDOUT_FILENO : 890!Console.IsInputRedirected ? Interop.Sys.FileDescriptors.STDIN_FILENO : 902if (!Console.IsInputRedirected) 950lock (Console.Out) // synchronize with other writers 960lock (Console.Out) // synchronize with other writers 1023lock (Console.Out)
System\IO\StdInReader.cs (1)
37Debug.Assert(!Console.IsInputRedirected); // stdin is a terminal.
System.Diagnostics.TextWriterTraceListener (4)
System\Diagnostics\ConsoleTraceListener.cs (3)
9: base(Console.Out) 14: base(useErrorStream ? Console.Error : Console.Out)
System\Diagnostics\TextWriterTraceListener.cs (1)
12/// such as <see cref='System.Console.Out'/> or <see cref='System.IO.FileStream'/>.</para>
System.Drawing.Common.Tests (3)
System\Drawing\Drawing2D\MatrixTests.cs (3)
831Console.WriteLine(i); 832Console.WriteLine($"Expected: {string.Join(", ", expected)}"); 833Console.WriteLine($"Actual: {string.Join(", ", actual)}");
System.Net.Quic (1)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (1)
23Console.WriteLine($"0x{handle.ToInt64():x} {_stacktrace?.ToString() ?? "no stacktrace..."}");
System.Net.Security (1)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (1)
23Console.WriteLine($"0x{handle.ToInt64():x} {_stacktrace?.ToString() ?? "no stacktrace..."}");
System.Security.Cryptography (1)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (1)
23Console.WriteLine($"0x{handle.ToInt64():x} {_stacktrace?.ToString() ?? "no stacktrace..."}");
System.Windows.Forms.Design.Tests (20)
CodeDomHelpers.cs (5)
22Console.WriteLine($"Expected: {expected.Count} elements"); 25Console.WriteLine($"- [{i}] {GetConstructionString(expected[i])}"); 28Console.WriteLine(""); 30Console.WriteLine($"Actual: {actual.Count} elements"); 33Console.WriteLine($"- [{i}] {GetConstructionString(actual[i])}");
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (15)
1699Console.WriteLine("---- DUMPING ----"); 1702Console.WriteLine(key); 1707Console.WriteLine("- [0]: null"); 1711Console.WriteLine($"- [0]: {state0}, {state0.Count} elements"); 1714Console.WriteLine($" - {CodeDomHelpers.GetConstructionString(e)}"); 1721Console.WriteLine("- [1]: null"); 1725Console.WriteLine($"- [1]: {state1}"); 1731Console.WriteLine("- [2]: null"); 1735Console.WriteLine($"- [2]: {state2}"); 1741Console.WriteLine("- [3]: null"); 1745Console.WriteLine($"- [3]: {state3}"); 1751Console.WriteLine("- [4]: null"); 1755Console.WriteLine($"- [4]: {state4}"); 1761Console.WriteLine("- [5]: null"); 1765Console.WriteLine($"- [5]: {state5}");
SystemdTestApp (1)
Startup.cs (1)
43Console.WriteLine("Unobserved exception: {0}", e.Exception);
Templates.Blazor.Tests (9)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
Templates.Blazor.WebAssembly.Auth.Tests (11)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Shared\E2ETesting\BrowserFixture.cs (1)
98Console.WriteLine($"Failed to delete browser profile directory '{userProfileDirectory}': '{ex}'. Will retry.");
src\Shared\E2ETesting\WaitAssert.cs (1)
161Console.WriteLine($"Failed to take a screenshot {ex.ToString()}");
Templates.Blazor.WebAssembly.Tests (11)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Shared\E2ETesting\BrowserFixture.cs (1)
98Console.WriteLine($"Failed to delete browser profile directory '{userProfileDirectory}': '{ex}'. Will retry.");
src\Shared\E2ETesting\WaitAssert.cs (1)
161Console.WriteLine($"Failed to take a screenshot {ex.ToString()}");
Templates.Mvc.Tests (11)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Shared\E2ETesting\BrowserFixture.cs (1)
98Console.WriteLine($"Failed to delete browser profile directory '{userProfileDirectory}': '{ex}'. Will retry.");
src\Shared\E2ETesting\WaitAssert.cs (1)
161Console.WriteLine($"Failed to take a screenshot {ex.ToString()}");
Templates.Tests (11)
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
src\Shared\E2ETesting\BrowserFixture.cs (1)
98Console.WriteLine($"Failed to delete browser profile directory '{userProfileDirectory}': '{ex}'. Will retry.");
src\Shared\E2ETesting\WaitAssert.cs (1)
161Console.WriteLine($"Failed to take a screenshot {ex.ToString()}");
TestDiscoveryWorker (4)
Program.cs (4)
65await Console.Out.WriteLineAsync($"Discovering tests in {testDescriptor}...").ConfigureAwait(false); 82await Console.Error.WriteLineAsync($"Channel failed to write for '{assemblyFileName}'").ConfigureAwait(false); 89await Console.Out.WriteLineAsync($"Discovered {testsToWrite.Count} tests in {testDescriptor}").ConfigureAwait(false); 103await Console.Error.WriteLineAsync(ex.ToString()).ConfigureAwait(false);
TestProject.AppHost (2)
Program.cs (1)
10var s = Console.ReadLine();
TestProgram.cs (1)
173await Console.Out.WriteLineAsync("$ENDPOINTS: " + JsonSerializer.Serialize(root, JsonSerializerOptions.Default));
vbc (8)
src\Compilers\Core\CommandLine\ConsoleUtil.cs (6)
17/// This will update the <see cref="Console.Out"/> value to have UTF-8 encoding for the duration of the 22Encoding savedEncoding = Console.OutputEncoding; 25Console.OutputEncoding = s_utf8Encoding; 26return func(Console.Out); 32Console.OutputEncoding = savedEncoding; 45if (textWriter != Console.Out)
src\Compilers\Shared\BuildClient.cs (1)
127textWriter = textWriter ?? Console.Out;
src\Compilers\VisualBasic\vbc\Program.cs (1)
26Console.WriteLine(e.Message);
VBCSCompiler (8)
src\Compilers\Core\CommandLine\ConsoleUtil.cs (6)
17/// This will update the <see cref="Console.Out"/> value to have UTF-8 encoding for the duration of the 22Encoding savedEncoding = Console.OutputEncoding; 25Console.OutputEncoding = s_utf8Encoding; 26return func(Console.Out); 32Console.OutputEncoding = savedEncoding; 45if (textWriter != Console.Out)
src\Compilers\Server\VBCSCompiler\BuildServerController.cs (1)
53Console.CancelKeyPress += (sender, e) => { cancellationTokenSource.Cancel(); };
src\Compilers\Shared\BuildClient.cs (1)
127textWriter = textWriter ?? Console.Out;
VisualBasicSyntaxGenerator (1)
Program.vb (1)
5Imports System.Console
WaitForSandbox.DbSetup (1)
Program.cs (1)
15Console.WriteLine("Database created!");
Wasm.Performance.ConsoleHost (10)
Scenarios\ComponentRenderingScenarioBase.cs (1)
38Console.WriteLine($"{Name}: {durationPerCycle:F1}ms per cycle (cycles tested: {numCycles})");
src\Shared\CommandLineUtils\CommandLine\AnsiConsole.cs (7)
18OriginalForegroundColor = Console.ForegroundColor; 27return new AnsiConsole(Console.Out, useConsoleColor); 32return new AnsiConsole(Console.Error, useConsoleColor); 41Console.ForegroundColor = (ConsoleColor)(((int)Console.ForegroundColor & 0x08) | ((int)color & 0x07)); 52Console.ForegroundColor = (ConsoleColor)((int)Console.ForegroundColor ^ 0x08);
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (2)
64public TextWriter Out { get; set; } = Console.Out; 65public TextWriter Error { get; set; } = Console.Error;
Wasm.Performance.Driver (13)
Program.cs (13)
33Console.Error.WriteLine("Usage Driver <stress-run-duration-seconds>"); 39Console.Error.WriteLine("Stress run duration must be a positive integer."); 47Console.WriteLine($"Stress run duration: {stressRunDuration}."); 53Console.WriteLine("Application started."); 76Console.WriteLine($"Test app listening at {testAppUrl}."); 119Console.WriteLine("Done executing benchmark"); 125Console.WriteLine($"[Browser Log]: {message.Text}"); 258Console.WriteLine(builder); 263Console.WriteLine(); 264Console.WriteLine($"Download size: {(benchmarkResult.DownloadSize / 1024)}kb."); 265Console.WriteLine("| Name | Description | Duration | NumExecutions | "); 266Console.WriteLine("--------------------------"); 269Console.WriteLine($"| {result.Descriptor.Name} | {result.Name} | {result.Duration} | {result.NumExecutions} |");
WebSocketSample (6)
Program.cs (6)
15Console.Error.WriteLine("Usage: WebSocketSample <URL>"); 16Console.Error.WriteLine(""); 17Console.Error.WriteLine("To connect to an ASP.NET Connection Handler, use 'ws://example.com/path/to/hub' or 'wss://example.com/path/to/hub' (for HTTPS)"); 30Console.WriteLine("Connected"); 35while ((line = Console.ReadLine()) != null) 59Console.WriteLine(Encoding.UTF8.GetString(buffer, 0, result.Count));
WebTransportInteractiveSampleApp (2)
Program.cs (2)
107Console.WriteLine("RECEIVED FROM CLIENT:"); 108Console.WriteLine(message);
WebTransportSampleApp (2)
Program.cs (2)
39Console.WriteLine(System.Text.Encoding.Default.GetString(memory.Span)); 90Console.WriteLine($"\n\n\n\n\nCertificate: {certStr}\n\n\n\n"); // <-- you will need to put this output into the JS API call to allow the connection
WinFormsControlsTest (29)
ListViewTest.cs (1)
32Console.WriteLine($"nearest index: {index}");
TaskDialogSamples.cs (28)
67Console.WriteLine("User confirmed to stop the operation."); 87Console.WriteLine("User confirmed to stop the operation."); 118Console.WriteLine("Do not show this confirmation again."); 120Console.WriteLine("User confirmed to stop the operation."); 147Console.WriteLine("Saving"); 149Console.WriteLine("Not saving"); 151Console.WriteLine("Canceling"); 188Console.WriteLine($"Playing with {resultingMines} mines..."); 190Console.WriteLine("User canceled."); 245Console.WriteLine("Reconnecting."); 247Console.WriteLine("Not reconnecting."); 391Console.WriteLine("Showing Results!"); 469page1.Created += (s, e) => Console.WriteLine("Page1 Created"); 470page1.Destroyed += (s, e) => Console.WriteLine("Page1 Destroyed"); 471page1.HelpRequest += (s, e) => Console.WriteLine("Page1 HelpRequest"); 478page1.Expander.ExpandedChanged += (s, e) => Console.WriteLine($"Expander ExpandedChanged: {page1.Expander.Expanded}"); 492buttonOK.Click += (s, e) => Console.WriteLine($"Button '{s}' Click"); 493buttonHelp.Click += (s, e) => Console.WriteLine($"Button '{s}' Click"); 497Console.WriteLine($"Button '{s}' Click"); 502Console.WriteLine($"Button '{s}' Click"); 507Console.WriteLine($"(returns) Button '{s}' Click"); 512Console.WriteLine($"Button '{s}' Click"); 523page2.Created += (s, e) => Console.WriteLine("Page2 Created"); 524page2.Destroyed += (s, e) => Console.WriteLine("Page2 Destroyed"); 530page1.Verification.CheckedChanged += (s, e) => Console.WriteLine($"CheckBox CheckedChanged: {page1.Verification.Checked}"); 535radioButton1.CheckedChanged += (s, e) => Console.WriteLine($"RadioButton1 CheckedChanged: {radioButton1.Checked}"); 536radioButton2.CheckedChanged += (s, e) => Console.WriteLine($"RadioButton2 CheckedChanged: {radioButton2.Checked}"); 539Console.WriteLine($"---> Dialog Result: {dialogResult}");
XmlFileLogger (1)
XmlFileLogger.cs (1)
84Console.WriteLine(e);
xunit.console (80)
common\ConsoleHelper.cs (4)
53Console.Out.Write(colorString); 58=> Console.ForegroundColor = c; 61=> Console.Out.Write("\x1b[m"); 64=> Console.ResetColor();
ConsoleRunner.cs (74)
50Console.CancelKeyPress += (sender, e) => 54Console.WriteLine("Canceling... (Press Ctrl+C again to terminate)"); 69Console.Write("Press any key to start execution..."); 70Console.ReadKey(true); 71Console.WriteLine(); 95Console.WriteLine(); 96Console.Write("Press any key to continue..."); 97Console.ReadKey(); 98Console.WriteLine(); 108Console.WriteLine($"error: {ex.Message}"); 115Console.WriteLine(ex.StackTrace); 166Console.WriteLine($"Type {type.FullName} in assembly {dllFile} appears to be a runner reporter, but does not have an empty constructor."); 182Console.WriteLine($"Microsoft.DotNet.XUnitConsoleRunner v{typeof(ConsoleRunner).Assembly.GetName().Version} ({IntPtr.Size * 8}-bit {platform})"); 189Console.WriteLine("Copyright (C) .NET Foundation."); 190Console.WriteLine(); 191Console.WriteLine($"usage: {executableName} <assemblyFile> [configFile] [assemblyFile [configFile]...] [options] [reporter] [resultFormat filename [...]]"); 192Console.WriteLine(); 193Console.WriteLine("Note: Configuration files must end in .json (XML is not supported on .NET Core)"); 194Console.WriteLine(); 195Console.WriteLine("Valid options:"); 196Console.WriteLine(" -nologo : do not show the copyright message"); 197Console.WriteLine(" -nocolor : do not output results with colors"); 198Console.WriteLine(" -failskips : convert skipped tests into failures"); 199Console.WriteLine(" -stoponfail : stop on first test failure"); 200Console.WriteLine(" -parallel option : set parallelization based on option"); 201Console.WriteLine(" : none - turn off all parallelization"); 202Console.WriteLine(" : collections - only parallelize collections"); 203Console.WriteLine(" : assemblies - only parallelize assemblies"); 204Console.WriteLine(" : all - parallelize assemblies & collections"); 205Console.WriteLine(" -maxthreads count : maximum thread count for collection parallelization"); 206Console.WriteLine(" : default - run with default (1 thread per CPU thread)"); 207Console.WriteLine(" : unlimited - run with unbounded thread count"); 208Console.WriteLine(" : (number) - limit task thread pool size to 'count'"); 209Console.WriteLine(" -wait : wait for input after completion"); 210Console.WriteLine(" -diagnostics : enable diagnostics messages for all test assemblies"); 211Console.WriteLine(" -internaldiagnostics : enable internal diagnostics messages for all test assemblies"); 213Console.WriteLine(" -pause : pause before doing any work, to help attach a debugger"); 215Console.WriteLine(" -debug : launch the debugger to debug the tests"); 216Console.WriteLine(" -serialize : serialize all test cases (for diagnostic purposes only)"); 217Console.WriteLine(" -trait \"name=value\" : only run tests with matching name/value traits"); 218Console.WriteLine(" : if specified more than once, acts as an OR operation"); 219Console.WriteLine(" -notrait \"name=value\" : do not run tests with matching name/value traits"); 220Console.WriteLine(" : if specified more than once, acts as an AND operation"); 221Console.WriteLine(" -method \"name\" : run a given test method (can be fully specified or use a wildcard;"); 222Console.WriteLine(" : i.e., 'MyNamespace.MyClass.MyTestMethod' or '*.MyTestMethod')"); 223Console.WriteLine(" : if specified more than once, acts as an OR operation"); 224Console.WriteLine(" -nomethod \"name\" : do not run a given test method (can be fully specified or use a wildcard;"); 225Console.WriteLine(" : i.e., 'MyNamespace.MyClass.MyTestMethod' or '*.MyTestMethod')"); 226Console.WriteLine(" : if specified more than once, acts as an AND operation"); 227Console.WriteLine(" -class \"name\" : run all methods in a given test class (should be fully"); 228Console.WriteLine(" : specified; i.e., 'MyNamespace.MyClass')"); 229Console.WriteLine(" : if specified more than once, acts as an OR operation"); 230Console.WriteLine(" -noclass \"name\" : do not run any methods in a given test class (should be fully"); 231Console.WriteLine(" : specified; i.e., 'MyNamespace.MyClass')"); 232Console.WriteLine(" : if specified more than once, acts as an AND operation"); 233Console.WriteLine(" -namespace \"name\" : run all methods in a given namespace (i.e.,"); 234Console.WriteLine(" : 'MyNamespace.MySubNamespace')"); 235Console.WriteLine(" : if specified more than once, acts as an OR operation"); 236Console.WriteLine(" -nonamespace \"name\" : do not run any methods in a given namespace (i.e.,"); 237Console.WriteLine(" : 'MyNamespace.MySubNamespace')"); 238Console.WriteLine(" : if specified more than once, acts as an AND operation"); 239Console.WriteLine(" -noautoreporters : do not allow reporters to be auto-enabled by environment"); 240Console.WriteLine(" : (for example, auto-detecting TeamCity or AppVeyor)"); 241Console.WriteLine(" -framework \"name\" : set the target framework"); 242Console.WriteLine(); 247Console.WriteLine("Reporters: (optional, choose only one)"); 250Console.WriteLine($" -{reporter.RunnerSwitch.ToLowerInvariant().PadRight(21)} : {reporter.Description}"); 252Console.WriteLine(); 255Console.WriteLine("Result formats: (optional, choose one or more)"); 257transform => Console.WriteLine($" -{$"{transform.CommandLine} <filename>".PadRight(21).Substring(0, 21)} : {transform.Description}") 408Console.WriteLine("Canceling due to test failure..."); 421Console.WriteLine($"{e.GetType().FullName}: {e.Message}"); 424Console.WriteLine(e.StackTrace); 441Console.WriteLine($"File not found: {fileName}");
Sinks\DiagnosticMessageSink.cs (2)
45Console.WriteLine($" {assemblyDisplayName}: {diagnosticMessage.Message}"); 47Console.WriteLine($" {diagnosticMessage.Message}");