2220 references to WriteLine
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 (31)
DiagnosticAnalyzerRunner.cs (7)
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");
Program.cs (24)
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); 222Console.WriteLine(text); 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 (12)
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 (1)
19Console.WriteLine(message);
Aspire.RuntimeIdentifier.Tool (2)
Program.cs (2)
64Console.WriteLine("Unable to find the best rid to use"); 68Console.WriteLine(bestRidForPlatform);
Aspire.Workload.Tests (12)
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 (1)
19Console.WriteLine(message);
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 (2)
Program.cs (2)
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 (7)
Program.cs (7)
26Console.WriteLine($"Unhandled exception: {ex.Message}"); 27Console.WriteLine(ex.StackTrace); 35Console.WriteLine($"Version: {instance.Version}"); 113Console.WriteLine("Failed"); 125Console.WriteLine("passed"); 130Console.WriteLine("FAILED"); 131Console.WriteLine(textWriter.ToString());
BuildValidator (1)
DemoLogger.cs (1)
48Console.WriteLine(message);
ClientSample (9)
HubSample.cs (4)
69connection.On<string>("Send", Console.WriteLine); 73Console.WriteLine("Connection closed..."); 96Console.WriteLine("Exiting..."); 142Console.WriteLine("Failed to connect, trying again in 5000(ms)");
Program.cs (1)
17Console.WriteLine($"Ready for debugger to attach. Process ID: {Process.GetCurrentProcess().Id}");
RawSample.cs (2)
35Console.WriteLine($"Connecting to {baseUrl}..."); 49Console.WriteLine($"Connected to {baseUrl}");
StreamingSample.cs (1)
39Console.WriteLine($"received: {item}");
Tcp\TcpConnection.cs (1)
100Console.WriteLine($"Unexpected exception in {nameof(TcpConnection)}.{nameof(StartAsync)}: " + ex);
CodeGenerator (2)
Program.cs (2)
67Console.WriteLine($"{path} updated."); 71Console.WriteLine($"{path} already up to date.");
csc (1)
src\Compilers\CSharp\csc\Program.cs (1)
24Console.WriteLine(e.Message);
CSharpErrorFactsGenerator (1)
Program.cs (1)
21Console.WriteLine(
CSharpSyntaxGenerator (5)
Program.cs (5)
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.");
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 (4)
Program.cs (4)
25Console.WriteLine("Running HelloWorld: Press any key to shutdown and start the next sample..."); 36Console.WriteLine("Running CustomUrl: Press any key to shutdown and start the next sample..."); 52Console.WriteLine("Running CustomRouter: Press any key to shutdown and start the next sample..."); 70Console.WriteLine("Running CustomApplicationBuilder: Press any key to shutdown and start the next sample...");
DesignSurface (7)
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 (3)
19Console.WriteLine("Begin the demo..."); 33Console.WriteLine("Bye!"); 37Console.WriteLine($"Exception (strike a key to quit!): {ex.Message}");
Diagnostics.EFCore.FunctionalTests (1)
DatabaseErrorPageMiddlewareTest.cs (1)
302Console.WriteLine(content);
DnnAnalyzer (1)
DnnAnalyzer.cs (1)
25Console.WriteLine($"Graph node: '{name}', operation type: '{opType}', output type: '{type}'{inputsString}");
dotnet-dev-certs (3)
Program.cs (1)
50Console.WriteLine("Press any key to continue...");
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}");
dotnet-getdocument (2)
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}");
dotnet-openapi (3)
Program.cs (1)
46Console.WriteLine(output);
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}");
dotnet-razorpagegenerator (6)
Program.cs (6)
20Console.WriteLine("Invalid argument(s)."); 21Console.WriteLine(@"Usage: 48Console.WriteLine($"{results.Count} files successfully generated."); 104Console.WriteLine(" No .cshtml or .razor files were found."); 112Console.WriteLine(" Done!"); 131Console.WriteLine($"One or more parse errors encountered. This will not prevent the generator from continuing: {Environment.NewLine}{diagnostics}.");
dotnet-sql-cache (2)
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}");
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (1)
38Console.WriteLine(str);
dotnet-svcutil-lib (9)
CmdCredentialsProvider.cs (5)
48Console.WriteLine(SR.WrnUserBasicCredentialsInClearText); 143Console.WriteLine(string.Format(CultureInfo.InvariantCulture, SR.CertificateSelectionMessageFormat, serviceUri.Authority)); 158Console.WriteLine(FormatCertificate(cert, certId)); 227Console.WriteLine(string.Format(CultureInfo.InvariantCulture, SR.ErrServerCertFailedValidationFormat, sslPolicyErrors, FormatCertificate(cert))); 259Console.WriteLine(SR.EnterOrEscapeMessage);
Shared\Utilities\DebugUtils.cs (1)
43Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue");
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}");
ToolConsole.cs (1)
138Console.WriteLine(str);
dotnet-user-jwts (2)
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}");
dotnet-user-secrets (2)
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 24Console.WriteLine($"Process ID: {Environment.ProcessId}");
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 (3)
Program.cs (3)
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 (2)
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue"); 26Console.WriteLine($"Process ID: {Process.GetCurrentProcess().Id}");
HelixTestRunner (1)
ProcessUtil.cs (1)
211public static void PrintMessage(string message) => Console.WriteLine($"{DateTime.UtcNow.ToString("O", CultureInfo.InvariantCulture)} {message}");
Http2SampleApp (1)
Program.cs (1)
75Console.WriteLine($"Process ID: {Environment.ProcessId}");
HttpClientApp (2)
Program.cs (2)
24Console.WriteLine(await response.Content.ReadAsStringAsync()); 29Console.WriteLine(await response.Content.ReadAsStringAsync());
HttpStress (17)
Program.cs (17)
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); 387Console.WriteLine("Starting server."); 511Console.WriteLine($"Starting {concurrentRequests} client workers."); 549Console.WriteLine(" Total: " + total.ToString("N0", CultureInfo.InvariantCulture)); 554Console.WriteLine("~~ Reuse address failures: " + reuseAddressFailure.ToString("N0", CultureInfo.InvariantCulture) + "~~"); 570Console.WriteLine(fail[i].ToString("N0", CultureInfo.InvariantCulture)); 606Console.WriteLine($"Error from iteration {i} ({operation}) in task {taskNum} with {success.Sum()} successes / {fail.Sum()} fails:");
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 (49)
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 (26)
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}"); 141Console.WriteLine("start profiling now"); 143Console.WriteLine("Starting serial indexing"); 153Console.WriteLine("Serial: " + (DateTime.Now - start)); 160Console.WriteLine("start profiling now"); 162Console.WriteLine("Starting parallel indexing"); 174Console.WriteLine("Project parallel: " + (DateTime.Now - start)); 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"); 211Console.WriteLine("Starting navigate to"); 223Console.WriteLine("Time to search: " + (DateTime.Now - start));
IIS.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
IIS.ShadowCopy.Tests (1)
ShadowCopyTests.cs (1)
388Console.WriteLine($@"Failed to delete directory {directoryPath}: {e.Message}");
illink (87)
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimDataFlowAnalysis.cs (1)
137 Console.WriteLine (tracingInfo);
Infrastructure.Common (9)
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));
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 (9)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Program.cs (8)
30Console.WriteLine(new string('a', 30000)); 37Console.WriteLine($"Random number: {args[1]}"); 44Console.WriteLine(new string('a', 31000)); 84Console.WriteLine($"Is Console redirection: {Console.IsOutputRedirected}"); 86Console.WriteLine("彡⾔"); 89Console.WriteLine("Wow!"); 93Console.WriteLine(new string('a', 40000)); 109Console.WriteLine("TEST MESSAGE");
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (1)
117Console.WriteLine("TEST MESSAGE");
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 (16)
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 (1)
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 (1)
Startup.cs (1)
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 (1)
UserJwtsTestFixture.cs (1)
113Console.WriteLine("Failed to delete " + directory);
Microsoft.AspNetCore.Components.Performance (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
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 (27)
BasicBlazorHybridTest.cs (26)
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..."); 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 (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.Grpc.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.Hosting (9)
Internal\WebHost.cs (1)
232Console.WriteLine("Application startup exception: " + ex.ToString());
Internal\WebHostLifetime.cs (1)
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 (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.Http.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.OpenApi.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.Security.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.Server.HttpSys.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
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 (3)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72Console.WriteLine(log);
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72Console.WriteLine(log);
Microsoft.AspNetCore.SignalR.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
46Console.WriteLine($"'docker info' output: {output}");
Microsoft.AspNetCore.WebSockets.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (2)
762Console.WriteLine($"Waiting for debugger to attach ({currentProcess.MainModule!.FileName} PID {currentProcess.Id}). Press enter to continue..."); 1097Console.WriteLine(Strings.CreateDiagnosticReport());
BackEnd\Components\Scheduler\SchedulingPlan.cs (3)
258Console.WriteLine("Projects with the most immediate children:"); 274Console.WriteLine("Configs in hierarchy by number of occurrences:"); 332Console.WriteLine("Projects by expense:");
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
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 (1)
592Console.WriteLine(e.Message);
PrintLineDebuggerWriters.cs (1)
69public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.WriteLine(SimpleFormat(id, callsite, args));
Microsoft.Build.CommandLine.UnitTests (1)
CommandLineSwitches_Tests.cs (1)
1621Console.WriteLine(e.Message);
Microsoft.Build.Engine.OM.UnitTests (3)
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 (83)
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 (7)
250Console.WriteLine("MultiInputItemsThatCorrelatesWithMultipleTransformOutputItems"); 301Console.WriteLine("InputItemsTransformedToDifferentNumberOfOutputsFewer"); 330Console.WriteLine("InputItemsTransformedToDifferentNumberOfOutputsFewer1"); 359Console.WriteLine("InputItemsTransformedToDifferentNumberOfOutputsMore"); 389Console.WriteLine("InputItemsTransformedToDifferentNumberOfOutputsMore1"); 419Console.WriteLine("InputItemsTransformedToDifferentNumberOfOutputsTwoWays"); 462Console.WriteLine("MultiInputItemsThatCorrelatesWithMultipleTransformOutputItems2");
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 (8)
441Console.WriteLine(input); 462Console.WriteLine("verifying item names..."); 466Console.WriteLine("verifying metadata ..."); 469Console.WriteLine("===OK==="); 476Console.WriteLine("Expecting " + expected.Count + " distinct values for <" + test + ">"); 515Console.WriteLine(message); 525Console.WriteLine("Expecting " + expected.Count + " distinct values for <" + test + ">"); 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 (2)
412Console.WriteLine("NegationParseTest()"); 493Console.WriteLine(e.BaseMessage);
FileMatcher_Tests.cs (3)
600Console.WriteLine($"Input {input.Item1} with pattern {input.Item2} failed"); 1247Console.WriteLine(result); 1267Console.WriteLine(result);
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.Tasks.CodeAnalysis (1)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62Console.WriteLine(message);
Microsoft.Build.Tasks.Core (1)
PrintLineDebuggerWriters.cs (1)
69public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.WriteLine(SimpleFormat(id, callsite, args));
Microsoft.Build.Tasks.UnitTests (46)
Copy_Tests.cs (1)
2637Console.WriteLine("CopyToDestinationFolderWithHardLinkFallbackNetwork test could not access the network.");
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 (23)
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);
ObjectModelHelpers.cs (14)
450Console.WriteLine("ERROR: Items were returned in the incorrect order..."); 451Console.WriteLine("Expected: " + expectedItemSpecs); 452Console.WriteLine("Actual: " + actualItemSpecs); 822Console.WriteLine("================================= EXPECTED ==========================================="); 823Console.WriteLine(newExpectedProjectContents); 825Console.WriteLine("================================== ACTUAL ============================================"); 826Console.WriteLine(newActualProjectContents); 891Console.WriteLine(ex.ToString()); 929Console.WriteLine(ex.ToString()); 1570Console.WriteLine("================================= EXPECTED ==========================================="); 1571Console.WriteLine(newExpectedProjectContents); 1573Console.WriteLine("================================== ACTUAL ============================================"); 1574Console.WriteLine(newActualProjectContents); 1922Action<string> LogLine = testOutput == null ? (Action<string>)Console.WriteLine : testOutput.WriteLine;
RunnerUtilities.cs (1)
177Console.WriteLine(data);
TestEnvironment.cs (1)
366Console.WriteLine(message);
Microsoft.Build.Utilities.Core (1)
PrintLineDebuggerWriters.cs (1)
69public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.WriteLine(SimpleFormat(id, callsite, args));
Microsoft.Build.Utilities.UnitTests (13)
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);
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 (4)
51Console.WriteLine(eventArgs.Message); 67Console.WriteLine(eventArgs.Message); 74Console.WriteLine(eventArgs.Message); 81Console.WriteLine(eventArgs.Message);
Microsoft.Cci.Extensions (1)
Traversers\DependencyTraverser.cs (1)
106Console.WriteLine("Why");
Microsoft.CodeAnalysis (8)
InternalUtilities\Debug.cs (1)
62Console.WriteLine(message);
InternalUtilities\FailFast.cs (7)
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());
Microsoft.CodeAnalysis.CodeStyle (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62Console.WriteLine(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
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());
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
4494Console.WriteLine(outWriter.ToString()); 7053Console.WriteLine(outWriter.ToString()); 9219Console.WriteLine(writer.ToString());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Diagnostics\CompilationEventTests.cs (7)
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(",");
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 (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62Console.WriteLine(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
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());
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62Console.WriteLine(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
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());
Microsoft.CodeAnalysis.InteractiveHost (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62Console.WriteLine(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
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());
Microsoft.CodeAnalysis.LanguageServer (1)
Program.cs (1)
134Console.WriteLine(JsonSerializer.Serialize(new NamedPipeInformation(clientPipeName)));
Microsoft.CodeAnalysis.Test.Utilities (1)
CompilationVerifier.cs (1)
282Console.WriteLine(il);
Microsoft.CodeAnalysis.UnitTests (1)
Analyzers\AnalyzerFileReferenceAppDomainTests.cs (1)
123Console.WriteLine($"Resolve in {AppDomain.CurrentDomain.Id} for {e.Name}");
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (9)
ExpressionTrees\Sources\ExprLambdaUtils.vb (3)
35Console.WriteLine("FAIL") 36Console.WriteLine("expected: '" & expected & "'") 37Console.WriteLine("actual: '" & actual & "'")
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 (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62Console.WriteLine(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
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());
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62Console.WriteLine(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
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());
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
160Console.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.SignCheckLibrary (1)
Logging\ConsoleLogger.cs (1)
17Console.WriteLine(message);
Microsoft.DotNet.SwaggerGenerator.CmdLine (1)
Program.cs (1)
63Console.WriteLine(versionString);
Microsoft.DotNet.VersionTools.Cli (1)
ConsoleLogger.cs (1)
12Console.WriteLine(String.Format(message, values));
Microsoft.Extensions.AI.AotCompatibility.TestApp (1)
Program.cs (1)
22System.Console.WriteLine("Success!");
Microsoft.Extensions.Caching.MicroBenchmarks (1)
Program.cs (1)
9Console.WriteLine("Release mode only");
Microsoft.Extensions.ObjectPool.Microbenchmark (2)
src\Shared\BenchmarkRunner\Program.cs (2)
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");
Microsoft.Extensions.SecretManager.Tools.Tests (1)
UserSecretsTestFixture.cs (1)
94Console.WriteLine("Failed to delete " + directory);
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerFactoryTests.cs (1)
267System.Console.WriteLine(s);
Microsoft.ML.AutoML.Samples (80)
AutoFit\BinaryClassificationExperiment.cs (15)
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..."); 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 (11)
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..."); 65Console.WriteLine($"LogLoss: {metrics.LogLoss}"); 66Console.WriteLine($"LogLossReduction: {metrics.LogLossReduction}"); 67Console.WriteLine($"MacroAccuracy: {metrics.MacroAccuracy}"); 68Console.WriteLine($"MicroAccuracy: {metrics.MicroAccuracy}");
AutoFit\RankingExperiment.cs (10)
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..."); 84Console.WriteLine($"NormalizedDiscountedCumulativeGains: {metrics.NormalizedDiscountedCumulativeGains}"); 85Console.WriteLine($"DiscountedCumulativeGains: {metrics.DiscountedCumulativeGains}");
AutoFit\RecommendationExperiment.cs (12)
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..."); 86Console.WriteLine($"MeanAbsoluteError: {metrics.MeanAbsoluteError}"); 87Console.WriteLine($"MeanSquaredError: {metrics.MeanSquaredError}"); 88Console.WriteLine($"RootMeanSquaredError: {metrics.RootMeanSquaredError}"); 89Console.WriteLine($"RSquared: {metrics.RSquared}");
AutoFit\RegressionExperiment.cs (11)
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..."); 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 (2)
31Console.WriteLine("Done"); 35Console.WriteLine($"Exception {ex}");
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 (5)
GetNextPipelineTests.cs (1)
36Console.WriteLine(serialized);
SweeperTests.cs (4)
75Console.WriteLine($"{metric}\t{x1},{x2}"); 80Console.WriteLine($"Best: {bestResult.MetricValue}"); 131Console.WriteLine($"{metric}\t{x1},{x2},{x3},{x4}"); 136Console.WriteLine($"Best: {bestResult.MetricValue}");
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.GenAI.Samples (6)
Llama\LlamaSample.cs (1)
33Console.WriteLine("Loading Llama from huggingface model weight folder");
MEAI\Llama3_1.cs (1)
34Console.WriteLine("Loading Llama from huggingface model weight folder");
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");
Microsoft.ML.IntegrationTests (2)
IntegrationTestBaseClass.cs (2)
65Console.WriteLine($"Starting test: {FullTestName}"); 78Console.WriteLine($"Finished test: {FullTestName}");
Microsoft.ML.Maml (2)
MAML.cs (2)
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.Samples (836)
Dynamic\DataOperations\BootstrapSample.cs (2)
48Console.WriteLine($"Label\tFeature"); 51Console.WriteLine($"{row.Label}\t{row.Feature}");
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 (4)
23Console.WriteLine($"Date\tTemperature"); 26Console.WriteLine( 56Console.WriteLine($"Date\tTemperature"); 59Console.WriteLine(
Dynamic\DataOperations\FilterRowsByCustomPredicate.cs (4)
30Console.WriteLine("Name"); 33Console.WriteLine(row.Name); 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 (4)
30Console.WriteLine("Name"); 33Console.WriteLine(row.Name); 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 (1)
104Console.WriteLine(featuresColumn.Value.ToString());
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 (4)
23Console.WriteLine($"Date\tTemperature"); 26Console.WriteLine($"{row.Date.ToString("d")}" + 47Console.WriteLine($"Date\tTemperature"); 50Console.WriteLine($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\SkipRows.cs (4)
22Console.WriteLine($"Date\tTemperature"); 25Console.WriteLine($"{row.Date.ToString("d")}" + 51Console.WriteLine($"Date\tTemperature"); 54Console.WriteLine($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\TakeRows.cs (4)
23Console.WriteLine($"Date\tTemperature"); 26Console.WriteLine($"{row.Date.ToString("d")}" + 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\NgramExtraction.cs (3)
71Console.WriteLine( 79Console.WriteLine(""); 82Console.WriteLine(
Dynamic\SimpleDataViewImplementation.cs (1)
63Console.WriteLine(
Dynamic\TensorFlow\ImageClassification.cs (2)
62Console.WriteLine( 65Console.WriteLine(new string('-', 10));
Dynamic\TextTransform.cs (3)
80Console.WriteLine( 87Console.WriteLine(""); 90Console.WriteLine(
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\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 (3)
54Console.WriteLine($"Average prediction: {gam.Bias:0.00}"); 76Console.WriteLine($"Feature{i}"); 78Console.WriteLine(
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (3)
62Console.WriteLine($"Average prediction: {gam.Bias:0.00}"); 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 (1)
56Console.WriteLine("Feature\tModel Weight\tChange in AUC"
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
55Console.WriteLine("Feature\tModel Weight\tChange in AUC"
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 (16)
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"); 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 (15)
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"); 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."); 343Console.WriteLine(""); 344Console.WriteLine("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (15)
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"); 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."); 299Console.WriteLine(""); 300Console.WriteLine("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (15)
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"); 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."); 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 (1)
58Console.WriteLine("Feature\tChange in MicroAccuracy\t95% Confidence in "
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
66Console.WriteLine("Feature\tChange in MicroAccuracy\t95% Confidence in "
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 (1)
61Console.WriteLine("Feature\tChange in NDCG@1\t95% Confidence in the" +
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (1)
68Console.WriteLine("Feature\tChange in NDCG@1\t95% Confidence in the" +
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 (3)
54Console.WriteLine($"Average prediction: {gam.Bias:0.00}"); 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 (3)
62Console.WriteLine($"Average prediction: {gam.Bias:0.00}"); 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 (1)
63Console.WriteLine("Feature\tModel Weight\tChange in RMSE\t95%" +
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (1)
70Console.WriteLine("Feature\tModel Weight\tChange in RMSE\t95%" +
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 (4)
42Console.WriteLine($"Linear Model Parameters"); 74Console.WriteLine("Label: " + prediction.Label + " Prediction-Score: " + 78Console.WriteLine("Feature1: " + prediction.Features[0] + " Feature2: " 81Console.WriteLine("Feature Contributions: " + prediction
Dynamic\Transforms\Categorical\OneHotEncoding.cs (1)
58Console.WriteLine(
Dynamic\Transforms\Categorical\OneHotEncodingMultiColumn.cs (1)
45Console.WriteLine(
Dynamic\Transforms\Categorical\OneHotHashEncoding.cs (1)
58Console.WriteLine(
Dynamic\Transforms\Categorical\OneHotHashEncodingMultiColumn.cs (1)
46Console.WriteLine(
Dynamic\Transforms\Concatenate.cs (2)
64Console.WriteLine($"Features column obtained post-transformation."); 66Console.WriteLine(string.Join(" ", featureRow.Features));
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 (5)
64Console.WriteLine($"Keys"); 66Console.WriteLine($"{string.Join(',', dataRow.Keys)}"); 74Console.WriteLine($"Keys"); 76Console.WriteLine($"{string.Join(',', dataRow.Keys)}"); 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 (1)
40Console.WriteLine("We got a super alien with name " + firstAlien.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 (1)
51Console.WriteLine($"Features column obtained post-transformation.");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCount.cs (2)
20Console.WriteLine($"NumericVector StringVector"); 50Console.WriteLine($"NumericVector StringVector");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (2)
20Console.WriteLine($"NumericVector StringVector"); 50Console.WriteLine($"NumericVector StringVector");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformation.cs (2)
20Console.WriteLine($"Label NumericVector"); 48Console.WriteLine($"NumericVector");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformationMultiColumn.cs (2)
20Console.WriteLine($"NumericVectorA NumericVectorB"); 51Console.WriteLine($"NumericVectorA NumericVectorB");
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
65Console.WriteLine($"The original pixel is {pixelString} and its pixel in gray is {grayPixelString}");
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 (1)
70Console.WriteLine($"Number of Features: {prediction.Features.Length}");
Dynamic\Transforms\Text\ApplyWordEmbedding.cs (1)
60Console.WriteLine($"Number of Features: {prediction.Features.Length}");
Dynamic\Transforms\Text\FeaturizeText.cs (1)
68Console.WriteLine($"Number of Features: {prediction.Features.Length}");
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (2)
86Console.WriteLine($"Number of Features: {prediction.Features.Length}"); 93Console.WriteLine("\nTokens: " + string.Join(",", prediction
Dynamic\Transforms\Text\NormalizeText.cs (1)
51Console.WriteLine($"Normalized Text: {prediction.NormalizedText}");
Dynamic\Transforms\Text\ProduceHashedNgrams.cs (1)
68Console.WriteLine("Number of Features: " + prediction.NgramFeatures
Dynamic\Transforms\Text\ProduceHashedWordBags.cs (1)
67Console.WriteLine("Number of Features: " + prediction.BagOfWordFeatures
Dynamic\Transforms\Text\ProduceNgrams.cs (1)
76Console.WriteLine("Number of Features: " + prediction.NgramFeatures
Dynamic\Transforms\Text\ProduceWordBags.cs (1)
73Console.WriteLine("Number of Features: " + prediction.BagOfWordFeatures
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 (2)
49Console.WriteLine($"{outputColumnName} column obtained post-" + 52Console.WriteLine("Data\tAlert\tScore\tMag");
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnnBatchPrediction.cs (2)
46Console.WriteLine($"{outputColumnName} column obtained post-" + 49Console.WriteLine("Data\tAlert\tScore\tMag");
Dynamic\Transforms\TimeSeries\DetectChangePointBySsa.cs (2)
69Console.WriteLine($"Output from ChangePoint predictions on new data:"); 70Console.WriteLine("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaBatchPrediction.cs (2)
70Console.WriteLine(outputColumnName + " column obtained " + 73Console.WriteLine("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaStream.cs (2)
69Console.WriteLine($"Output from ChangePoint predictions on new data:"); 70Console.WriteLine("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectEntireAnomalyBySrCnn.cs (1)
46Console.WriteLine("Index\tData\tAnomaly\tAnomalyScore\tMag\tExpectedValue\tBoundaryUnit\tUpperBoundary\tLowerBoundary");
Dynamic\Transforms\TimeSeries\DetectIidChangePoint.cs (2)
64Console.WriteLine($"{outputColumnName} column obtained " + 67Console.WriteLine("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectIidChangePointBatchPrediction.cs (2)
64Console.WriteLine($"{outputColumnName} column obtained " + 67Console.WriteLine("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectIidSpike.cs (2)
56Console.WriteLine($"{outputColumnName} column obtained " + 59Console.WriteLine("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\DetectIidSpikeBatchPrediction.cs (2)
55Console.WriteLine($"{outputColumnName} column obtained " + 58Console.WriteLine("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\DetectSeasonality.cs (1)
37Console.WriteLine($"Seasonality Period: #{period}");
Dynamic\Transforms\TimeSeries\DetectSpikeBySsa.cs (2)
65Console.WriteLine($"Output from spike predictions on new data:"); 66Console.WriteLine("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\DetectSpikeBySsaBatchPrediction.cs (2)
72Console.WriteLine($"{outputColumnName} column obtained " + 75Console.WriteLine("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\Forecasting.cs (1)
61Console.WriteLine($"Forecasted values:");
Dynamic\Transforms\TimeSeries\ForecastingWithConfidenceInterval.cs (2)
112Console.WriteLine($"Forecasted values:"); 114Console.WriteLine($"Confidence intervals:");
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 (1)
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 (65)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\ImageClassification.cs (2)
62Console.WriteLine( 65Console.WriteLine(new string('-', 10));
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (16)
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"); 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 (15)
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"); 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."); 343Console.WriteLine(""); 344Console.WriteLine("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (15)
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"); 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."); 299Console.WriteLine(""); 300Console.WriteLine("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (15)
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"); 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."); 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 (3)
Optimizer\DifferentiableFunction.cs (3)
194Console.WriteLine(Header); 258Console.WriteLine(Header); 297Console.WriteLine(Header);
Microsoft.ML.TestFramework (3)
BaseTestClass.cs (3)
36Console.WriteLine($"Unhandled exception: {e.ExceptionObject}"); 75Console.WriteLine($"Starting test: {FullTestName}"); 83Console.WriteLine($"Finished test: {FullTestName} " +
Microsoft.ML.Tests (2)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (2)
127Console.WriteLine( 363Console.WriteLine($"Feature {i}: Difference in RMS - {featureImportance[i].RootMeanSquaredError.Mean}");
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}");
MinimalSample (3)
Program.cs (3)
35Console.WriteLine("Running filter!"); 46Console.WriteLine($"Building filter! Num args: {routeContext.MethodInfo.GetParameters().Length}"); 49Console.WriteLine("Running filter!");
MSBuild (38)
PrintLineDebuggerWriters.cs (1)
69public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.WriteLine(SimpleFormat(id, callsite, args));
ProjectSchemaValidationHandler.cs (1)
264Console.WriteLine(
XMake.cs (36)
214Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidConfigurationFile", builder.ToString())); 631Console.WriteLine($"Waiting for debugger to attach ({currentProcess.MainModule.FileName} PID {currentProcess.Id}). Press enter to continue..."); 804Console.WriteLine(ResourceUtilities.GetResourceString("PossiblyOmittedMaxCPUSwitch")); 947Console.WriteLine(e.Message); 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( 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()); 2531Console.WriteLine($"Waiting for debugger to attach... ({currentProcess.MainModule.FileName} PID {currentProcess.Id})"); 2781Console.WriteLine($"{Path.Combine(s_exePath, s_exeName)} {equivalentCommandLine} {projectFile}"); 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()); 4646Console.WriteLine(jsonNode.ToJsonString(options));
MSBuildTaskHost (1)
OutOfProcTaskHost.cs (1)
94Console.WriteLine($"Waiting for debugger to attach ({currentProcess.MainModule.FileName} PID {currentProcess.Id}). Press enter to continue...");
NonDISample (2)
Program.cs (2)
31Console.WriteLine($"Protect returned: {protectedPayload}"); 35Console.WriteLine($"Unprotect returned: {unprotectedPayload}");
PrepareTests (6)
MinimizeUtil.cs (2)
82Console.WriteLine($"[{DateTime.UtcNow}] Walking {unitDirPath}"); 279Console.WriteLine("Directory not grouped under configuration/TFM: " + relativePath);
TestDiscovery.cs (4)
27Console.WriteLine($"Found {assemblies.Count} test assemblies"); 48Console.WriteLine($"Discovered tests in {stopwatch.Elapsed}"); 52Console.WriteLine($"Test discovery failed"); 132Console.WriteLine($"Failed to discover tests in {pathToAssembly}:{Environment.NewLine}{errorOutput}");
PresentationFramework (3)
MS\Internal\Data\AccessorTable.cs (3)
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."); 154Console.WriteLine(" Age Hits Pct Cumulative");
QueueSharing (1)
Program.cs (1)
36Console.WriteLine("Unknown option, defaulting to (c)create.");
ReachFramework (20)
AlphaFlattener\DrawingContext.cs (3)
819Console.WriteLine(" DrawGeometry(" + _comment + ")"); 915Console.WriteLine(" DrawImage(" + _comment + ")"); 965Console.WriteLine(" DrawGlyphRun(" + _comment + ")");
AlphaFlattener\Flattener.cs (13)
172Console.WriteLine("TreeFlatten for subtree"); 189Console.WriteLine("end TreeFlatten for subtree"); 190Console.WriteLine("AlphaFlatten for subtree"); 198Console.WriteLine("end AlphaFlatten for subtree"); 331Console.WriteLine("Stage 2: Calculating intersections using bounding boxes"); 343Console.WriteLine("Original display list"); 376Console.WriteLine("Stage 4: Alpha flattening"); 412Console.WriteLine(""); 824Console.WriteLine("Start 3: Display list optimization"); 1072Console.WriteLine("Serialized primitives to " + name); 1078Console.WriteLine(e.ToString()); 1244Console.WriteLine("\r\nStage 1: Tree Flattening"); 1280Console.WriteLine("End AlphaFlattening");
AlphaFlattener\Primitive.cs (1)
538Console.WriteLine("Drawing of type '" + d.GetType() + "' not handled.");
AlphaFlattener\PrimitiveList.cs (1)
85Console.WriteLine(" No Type Und Ovr TrO Bounding Box Clipping");
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);
Replay (18)
Replay.cs (17)
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}"); 83Console.WriteLine("Starting server"); 88Console.WriteLine("Failed to start server"); 92Console.WriteLine($"Process Id: {serverProcessId}"); 95Console.WriteLine("Press any key to continue"); 97Console.WriteLine("Continuing"); 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 (1)
62Console.WriteLine(message);
ResultsOfTGenerator (6)
Program.cs (6)
45Console.WriteLine($"Will generate class file at {classFilePath}"); 49Console.WriteLine("Press any key to continue or Ctrl-C to cancel"); 214Console.WriteLine($"{file.Length:N0} bytes written to {file.FullName} successfully!"); 220Console.WriteLine($"Will generate tests file at {testFilePath}"); 224Console.WriteLine("Press any key to continue or Ctrl-C to cancel"); 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 (1)
Logger.cs (1)
64Console.WriteLine(DateTime.Now + " : " + v);
RoutingSandbox (5)
Program.cs (5)
23Console.WriteLine("Choose a sample to run:"); 24Console.WriteLine($"1. {EndpointRoutingScenario}"); 25Console.WriteLine($"2. {RouterScenario}"); 49Console.WriteLine($"unknown scenario {scenario}"); 50Console.WriteLine($"usage: dotnet run -- ({EndpointRoutingScenario}|{RouterScenario})");
RoutingWebSite (5)
Program.cs (5)
25Console.WriteLine("Choose a sample to run:"); 26Console.WriteLine($"1. {EndpointRoutingScenario}"); 27Console.WriteLine($"2. {RouterScenario}"); 51Console.WriteLine($"unknown scenario {scenario}"); 52Console.WriteLine($"usage: dotnet run -- ({EndpointRoutingScenario}|{RouterScenario})");
RunTests (7)
ConsoleUtil.cs (2)
30Console.WriteLine(message); 36Console.WriteLine(message);
Program.cs (5)
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");
SampleStartups (4)
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 (87)
ConsoleStresser.cs (87)
17Console.WriteLine("Console stress"); 18Console.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" 26Console.WriteLine("Entire URL in one segment:"); 30Console.WriteLine("Scheme and host in separate segment to port:"); 35Console.WriteLine("Everything in different segments:"); 43Console.WriteLine("URL examples:"); 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/"); 91Console.WriteLine("ANSI Console Foreground and Background Colors"); 97Console.WriteLine($"This is foreground color {color}"); 106Console.WriteLine("\x1b[0m"); // Reset colors to default after each background to maintain readability 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"); 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"); 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"); 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\\"); 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>"); 151Console.WriteLine("Long continious !!! content:"); 152Console.WriteLine(new string('!', 1000)); 154Console.WriteLine("Long continious letter content:"); 161Console.WriteLine("Long world content:");
Swaggatherer (1)
SwaggathererApplication.cs (1)
62Console.WriteLine($"Processing {Input.Values.Count} files...");
System.Drawing.Common.Tests (2)
System\Drawing\Drawing2D\MatrixTests.cs (2)
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}");
Templates.Blazor.WebAssembly.Auth.Tests (2)
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 (2)
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 (2)
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 (2)
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()}");
vbc (1)
src\Compilers\VisualBasic\vbc\Program.cs (1)
26Console.WriteLine(e.Message);
VisualBasicSyntaxGenerator (5)
Program.vb (5)
106WriteLine("VBSyntaxGenerator.exe input output [/source] [/test] [/grammar]") 107WriteLine(" /source Generates syntax model source code.") 108WriteLine(" /test Generates syntax model unit tests.") 109WriteLine(" /gettext Generates GetText method only.") 110WriteLine(" /grammar Generates grammar file only.")
WaitForSandbox.DbSetup (1)
Program.cs (1)
15Console.WriteLine("Database created!");
Wasm.Performance.ConsoleHost (1)
Scenarios\ComponentRenderingScenarioBase.cs (1)
38Console.WriteLine($"{Name}: {durationPerCycle:F1}ms per cycle (cycles tested: {numCycles})");
Wasm.Performance.Driver (9)
Program.cs (9)
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}"); 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 (2)
Program.cs (2)
30Console.WriteLine("Connected"); 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}");
xunit.console (63)
ConsoleRunner.cs (61)
54Console.WriteLine("Canceling... (Press Ctrl+C again to terminate)"); 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."); 191Console.WriteLine($"usage: {executableName} <assemblyFile> [configFile] [assemblyFile [configFile]...] [options] [reporter] [resultFormat filename [...]]"); 193Console.WriteLine("Note: Configuration files must end in .json (XML is not supported on .NET Core)"); 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"); 247Console.WriteLine("Reporters: (optional, choose only one)"); 250Console.WriteLine($" -{reporter.RunnerSwitch.ToLowerInvariant().PadRight(21)} : {reporter.Description}"); 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}");