2220 references to WriteLine
Accessibility_Core_App (16)
TaskDialogTesting.cs (16)
19
page1.Created += (s, e) => Console.
WriteLine
("Page1 Created");
20
page1.Destroyed += (s, e) => Console.
WriteLine
("Page1 Destroyed");
21
page1.HelpRequest += (s, e) => Console.
WriteLine
("Page1 HelpRequest");
28
page1.Expander.ExpandedChanged += (s, e) => Console.
WriteLine
($"Expander ExpandedChanged: {page1.Expander.Expanded}");
42
buttonOK.Click += (s, e) => Console.
WriteLine
($"Button '{s}' Click");
43
buttonHelp.Click += (s, e) => Console.
WriteLine
($"Button '{s}' Click");
47
Console.
WriteLine
($"Button '{s}' Click");
52
Console.
WriteLine
($"Button '{s}' Click");
57
Console.
WriteLine
($"(returns) Button '{s}' Click");
62
Console.
WriteLine
($"Button '{s}' Click");
73
page2.Created += (s, e) => Console.
WriteLine
("Page2 Created");
74
page2.Destroyed += (s, e) => Console.
WriteLine
("Page2 Destroyed");
80
page1.Verification.CheckedChanged += (s, e) => Console.
WriteLine
($"CheckBox CheckedChanged: {page1.Verification.Checked}");
85
radioButton1.CheckedChanged += (s, e) => Console.
WriteLine
($"RadioButton1 CheckedChanged: {radioButton1.Checked}");
86
radioButton2.CheckedChanged += (s, e) => Console.
WriteLine
($"RadioButton2 CheckedChanged: {radioButton2.Checked}");
89
Console.
WriteLine
($"---> Dialog Result: {dialogResult}");
AnalyzerRunner (31)
DiagnosticAnalyzerRunner.cs (7)
89
Console.
WriteLine
($"Found {allDiagnostics.Length} diagnostics in {stopwatch.GetSummary(preciseMemory: true)}");
122
Console.
WriteLine
($"{document.FilePath ?? document.Name}: {currentDocumentPerformance.EditsPerSecond:0.00} ({currentDocumentPerformance.AllocatedBytesPerEdit} bytes)");
135
Console.
WriteLine
("Slowest files in each project:");
138
Console.
WriteLine
($" {solution.GetProject(projectGroup.Key).Name}");
142
Console.
WriteLine
($" {document.FilePath ?? document.Name}: {pair.Value.EditsPerSecond:0.00} ({pair.Value.AllocatedBytesPerEdit} bytes)");
154
Console.
WriteLine
($"{project.Name} ({project.DocumentIds.Count} documents): {averageEditsInProject:0.00} edits per second");
160
Console.
WriteLine
($" {group.Key}: {group.Count()} instances");
Program.cs (24)
84
Console.
WriteLine
(workspaceDiagnostic.Message);
88
Console.
WriteLine
($"Loaded solution in {stopwatch.GetSummary(preciseMemory: true)}");
94
Console.
WriteLine
($"Statistics gathered in {stopwatch.GetSummary(preciseMemory: true)}");
102
Console.
WriteLine
("Pausing 5 seconds before starting analysis...");
170
Console.
WriteLine
($" {pair.Value.severity} {pair.Key}: {pair.Value.count} instances ({pair.Value.description})");
178
Console.
WriteLine
("Number of projects:\t\t" + projects.Count);
179
Console.
WriteLine
("Number of documents:\t\t" + projects.Sum(x => x.DocumentIds.Count));
183
Console.
WriteLine
("Number of syntax nodes:\t\t" + statistics.NumberofNodes);
184
Console.
WriteLine
("Number of syntax tokens:\t" + statistics.NumberOfTokens);
185
Console.
WriteLine
("Number of syntax trivia:\t" + statistics.NumberOfTrivia);
222
Console.
WriteLine
(text);
228
Console.
WriteLine
("Usage: AnalyzerRunner <AnalyzerAssemblyOrFolder> <Solution> [options]");
229
Console.
WriteLine
("Options:");
230
Console.
WriteLine
("/all Run all analyzers, including ones that are disabled by default");
231
Console.
WriteLine
("/stats Display statistics of the solution");
232
Console.
WriteLine
("/a <analyzer name> Enable analyzer with <analyzer name> (when this is specified, only analyzers specificed are enabled. Use: /a <name1> /a <name2>, etc.");
233
Console.
WriteLine
("/concurrent Executes analyzers in concurrent mode");
234
Console.
WriteLine
("/suppressed Reports suppressed diagnostics");
235
Console.
WriteLine
("/log <logFile> Write logs into the log file specified");
236
Console.
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.");
237
Console.
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.");
238
Console.
WriteLine
("/persist Enable persistent storage (e.g. SQLite; only applies to IIncrementalAnalyzer testing)");
239
Console.
WriteLine
("/fsa Enable full solution analysis (only applies to IIncrementalAnalyzer testing)");
240
Console.
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)
59
Console.
WriteLine
($"** Found playwright dependencies in {probePath}");
Aspire.EndToEnd.Tests (12)
tests\Shared\Playwright\PlaywrightProvider.cs (1)
59
Console.
WriteLine
($"** Found playwright dependencies in {probePath}");
tests\Shared\WorkloadTesting\AspireProject.cs (1)
487
Console.
WriteLine
(msg);
tests\Shared\WorkloadTesting\BuildEnvironment.cs (6)
184
Console.
WriteLine
($"*** Using path for projects: {TestRootPath}");
188
Console.
WriteLine
($"*** Using Sdk path: {sdkForWorkloadPath}");
193
Console.
WriteLine
($"*** Using NuGet cache: {NuGetPackagesPath}");
208
Console.
WriteLine
($"*** Using NuGet cache (never deleted automatically): {NuGetPackagesPath}");
230
Console.
WriteLine
($"\tFailed to delete {TestRootPath} . Deleting subdirectories.");
240
Console.
WriteLine
($"\tFailed to delete {dir} : {ioex.Message}. Ignoring.");
tests\Shared\WorkloadTesting\TemplateCustomHive.cs (3)
40
Console.
WriteLine
($"** Custom hive exists, skipping installation: {_customHiveDirectory}");
60
Console.
WriteLine
($"** Custom hive exists, skipping installation: {_customHiveDirectory}");
69
Console.
WriteLine
($"*** Creating templates custom hive: {_customHiveDirectory}");
tests\Shared\WorkloadTesting\TestOutputWrapper.cs (1)
19
Console.
WriteLine
(message);
Aspire.RuntimeIdentifier.Tool (2)
Program.cs (2)
64
Console.
WriteLine
("Unable to find the best rid to use");
68
Console.
WriteLine
(bestRidForPlatform);
Aspire.Workload.Tests (12)
tests\Shared\Playwright\PlaywrightProvider.cs (1)
59
Console.
WriteLine
($"** Found playwright dependencies in {probePath}");
tests\Shared\WorkloadTesting\AspireProject.cs (1)
487
Console.
WriteLine
(msg);
tests\Shared\WorkloadTesting\BuildEnvironment.cs (6)
184
Console.
WriteLine
($"*** Using path for projects: {TestRootPath}");
188
Console.
WriteLine
($"*** Using Sdk path: {sdkForWorkloadPath}");
193
Console.
WriteLine
($"*** Using NuGet cache: {NuGetPackagesPath}");
208
Console.
WriteLine
($"*** Using NuGet cache (never deleted automatically): {NuGetPackagesPath}");
230
Console.
WriteLine
($"\tFailed to delete {TestRootPath} . Deleting subdirectories.");
240
Console.
WriteLine
($"\tFailed to delete {dir} : {ioex.Message}. Ignoring.");
tests\Shared\WorkloadTesting\TemplateCustomHive.cs (3)
40
Console.
WriteLine
($"** Custom hive exists, skipping installation: {_customHiveDirectory}");
60
Console.
WriteLine
($"** Custom hive exists, skipping installation: {_customHiveDirectory}");
69
Console.
WriteLine
($"*** Creating templates custom hive: {_customHiveDirectory}");
tests\Shared\WorkloadTesting\TestOutputWrapper.cs (1)
19
Console.
WriteLine
(message);
AutobahnTestApp (6)
Program.cs (6)
30
Console.
WriteLine
("Using HttpSys server");
38
Console.
WriteLine
("Detected ANCM, using Kestrel");
47
Console.
WriteLine
($"Using Kestrel, URL: {urls}");
64
Console.
WriteLine
($"Using SSL with certificate: {certPath}");
80
Console.
WriteLine
($"Unhandled exception (Scenario: {scenarioName}): {a.ExceptionObject.ToString()}");
83
Console.
WriteLine
($"Starting Server for Scenario: {scenarioName}");
BoundTreeGenerator (2)
Program.cs (2)
58
Console.
WriteLine
("Validation failed. Stopping generation");
90
Console.
WriteLine
($"Error: {type.Name} has a field {field.Name} of type 'Conversion'. Types that are not BoundConversions" +
BuildActionTelemetryTable (6)
Program.cs (6)
433
Console.
WriteLine
("Loading assemblies and finding CodeActions ...");
438
Console.
WriteLine
($"Generating Kusto datatable of {codeActionAndProviderTypes.Length} CodeAction and provider hashes ...");
445
Console.
WriteLine
($"Writing datatable to {filepath} ...");
449
Console.
WriteLine
("Complete.");
464
Console.
WriteLine
($"Loading assembly from {GetRelativePath(path, currentDirectory)}.");
541
Console.
WriteLine
($"Descriptions were missing for the following type names:{Environment.NewLine}{string.Join(Environment.NewLine, missingDescriptions)}");
BuildBoss (7)
Program.cs (7)
26
Console.
WriteLine
($"Unhandled exception: {ex.Message}");
27
Console.
WriteLine
(ex.StackTrace);
35
Console.
WriteLine
($"Version: {instance.Version}");
113
Console.
WriteLine
("Failed");
125
Console.
WriteLine
("passed");
130
Console.
WriteLine
("FAILED");
131
Console.
WriteLine
(textWriter.ToString());
BuildValidator (1)
DemoLogger.cs (1)
48
Console.
WriteLine
(message);
ClientSample (9)
HubSample.cs (4)
69
connection.On<string>("Send", Console.
WriteLine
);
73
Console.
WriteLine
("Connection closed...");
96
Console.
WriteLine
("Exiting...");
142
Console.
WriteLine
("Failed to connect, trying again in 5000(ms)");
Program.cs (1)
17
Console.
WriteLine
($"Ready for debugger to attach. Process ID: {Process.GetCurrentProcess().Id}");
RawSample.cs (2)
35
Console.
WriteLine
($"Connecting to {baseUrl}...");
49
Console.
WriteLine
($"Connected to {baseUrl}");
StreamingSample.cs (1)
39
Console.
WriteLine
($"received: {item}");
Tcp\TcpConnection.cs (1)
100
Console.
WriteLine
($"Unexpected exception in {nameof(TcpConnection)}.{nameof(StartAsync)}: " + ex);
CodeGenerator (2)
Program.cs (2)
67
Console.
WriteLine
($"{path} updated.");
71
Console.
WriteLine
($"{path} already up to date.");
csc (1)
src\Compilers\CSharp\csc\Program.cs (1)
24
Console.
WriteLine
(e.Message);
CSharpErrorFactsGenerator (1)
Program.cs (1)
21
Console.
WriteLine
(
CSharpSyntaxGenerator (5)
Program.cs (5)
32
Console.
WriteLine
(inputFile + " not found.");
79
Console.
WriteLine
("Invalid usage:");
81
Console.
WriteLine
(programName + " input-file output-file [/test | /grammar]");
82
Console.
WriteLine
(programName + " input-file /sig");
105
Console.
WriteLine
("Generating grammar failed.");
CustomEncryptorSample (2)
Program.cs (2)
26
Console.
WriteLine
($"Protect returned: {protectedPayload}");
30
Console.
WriteLine
($"Unprotect returned: {unprotectedPayload}");
DaprServiceC (1)
Program.cs (1)
20
Console.
WriteLine
("Goodbye, World!");
DefaultBuilder.SampleApp (4)
Program.cs (4)
25
Console.
WriteLine
("Running HelloWorld: Press any key to shutdown and start the next sample...");
36
Console.
WriteLine
("Running CustomUrl: Press any key to shutdown and start the next sample...");
52
Console.
WriteLine
("Running CustomRouter: Press any key to shutdown and start the next sample...");
70
Console.
WriteLine
("Running CustomApplicationBuilder: Press any key to shutdown and start the next sample...");
DesignSurface (7)
MainForm.cs (4)
108
Console.
WriteLine
("Invalid selection");
375
Console.
WriteLine
("Invalid selection");
411
Console.
WriteLine
("Invalid selection");
417
Console.
WriteLine
($"{Name} the DesignSurface N. {n} has generated errors during loading!");
Program.cs (3)
19
Console.
WriteLine
("Begin the demo...");
33
Console.
WriteLine
("Bye!");
37
Console.
WriteLine
($"Exception (strike a key to quit!): {ex.Message}");
Diagnostics.EFCore.FunctionalTests (1)
DatabaseErrorPageMiddlewareTest.cs (1)
302
Console.
WriteLine
(content);
DnnAnalyzer (1)
DnnAnalyzer.cs (1)
25
Console.
WriteLine
($"Graph node: '{name}', operation type: '{opType}', output type: '{type}'{inputsString}");
dotnet-dev-certs (3)
Program.cs (1)
50
Console.
WriteLine
("Press any key to continue...");
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
dotnet-getdocument (2)
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
dotnet-openapi (3)
Program.cs (1)
46
Console.
WriteLine
(output);
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
dotnet-razorpagegenerator (6)
Program.cs (6)
20
Console.
WriteLine
("Invalid argument(s).");
21
Console.
WriteLine
(@"Usage:
48
Console.
WriteLine
($"{results.Count} files successfully generated.");
104
Console.
WriteLine
(" No .cshtml or .razor files were found.");
112
Console.
WriteLine
(" Done!");
131
Console.
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)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
dotnet-svcutil.xmlserializer (1)
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (1)
38
Console.
WriteLine
(str);
dotnet-svcutil-lib (9)
CmdCredentialsProvider.cs (5)
48
Console.
WriteLine
(SR.WrnUserBasicCredentialsInClearText);
143
Console.
WriteLine
(string.Format(CultureInfo.InvariantCulture, SR.CertificateSelectionMessageFormat, serviceUri.Authority));
158
Console.
WriteLine
(FormatCertificate(cert, certId));
227
Console.
WriteLine
(string.Format(CultureInfo.InvariantCulture, SR.ErrServerCertFailedValidationFormat, sslPolicyErrors, FormatCertificate(cert)));
259
Console.
WriteLine
(SR.EnterOrEscapeMessage);
Shared\Utilities\DebugUtils.cs (1)
43
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
Shared\Utilities\ProcessRunner.cs (2)
114
Console.
WriteLine
($"Starting process in the background: {Path.GetFileName(proc.ProcessName)}, ID: {proc.Id}.");
115
Console.
WriteLine
($"{Path.GetFileName(currentDir)}>{processName} {processArgs}{Environment.NewLine}");
ToolConsole.cs (1)
138
Console.
WriteLine
(str);
dotnet-user-jwts (2)
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
dotnet-user-secrets (2)
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
24
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
EntityFrameworkCoreSample (1)
Program.cs (1)
38
Console.
WriteLine
(protectedData);
EventHubsConsumer (3)
Program.cs (3)
7
Console.
WriteLine
("EventHub consumer/processor test");
20
Console.
WriteLine
("Starting EventHubConsumerClient...");
33
Console.
WriteLine
("Starting EventProcessorClient...");
GenerateRulesMissingDocumentation (3)
Program.cs (3)
119
Console.
WriteLine
($"##[warning]Failed to check '{helpLink}': {response.StatusCode}");
130
Console.
WriteLine
($"##[warning]Timeout while checking '{helpLink}'.");
135
Console.
WriteLine
($"##[warning]Failed while checking '{helpLink}' (${e.StatusCode}, ${e.HttpRequestError}): ${e.Message}");
GetDocument.Insider (2)
src\Tools\Shared\CommandLine\DebugHelper.cs (2)
22
Console.
WriteLine
("Waiting for debugger to attach. Press ENTER to continue");
26
Console.
WriteLine
($"Process ID: {Process.GetCurrentProcess().Id}");
HelixTestRunner (1)
ProcessUtil.cs (1)
211
public static void PrintMessage(string message) => Console.
WriteLine
($"{DateTime.UtcNow.ToString("O", CultureInfo.InvariantCulture)} {message}");
Http2SampleApp (1)
Program.cs (1)
75
Console.
WriteLine
($"Process ID: {Environment.ProcessId}");
HttpClientApp (2)
Program.cs (2)
24
Console.
WriteLine
(await response.Content.ReadAsStringAsync());
29
Console.
WriteLine
(await response.Content.ReadAsStringAsync());
HttpStress (17)
Program.cs (17)
364
Console.
WriteLine
($"{i} = {clientOperations[i].Item1}");
374
Console.
WriteLine
(" .NET Core: " + Path.GetFileName(Path.GetDirectoryName(typeof(object).Assembly.Location)));
375
Console.
WriteLine
(" ASP.NET Core: " + Path.GetFileName(Path.GetDirectoryName(typeof(IWebHostBuilder).Assembly.Location)));
376
Console.
WriteLine
(" Tracing: " + (logPath == null ? (object)false : logPath.Length == 0 ? (object)true : logPath));
377
Console.
WriteLine
(" ASP.NET Log: " + aspnetLog);
378
Console.
WriteLine
(" Concurrency: " + concurrentRequests);
379
Console.
WriteLine
("Content Length: " + maxContentLength);
380
Console.
WriteLine
(" HTTP Versions: " + string.Join<Version>(", ", httpVersions));
381
Console.
WriteLine
(" Lifetime: " + (connectionLifetime.HasValue ? $"{connectionLifetime}ms" : "(infinite)"));
382
Console.
WriteLine
(" Operations: " + string.Join(", ", clientOperations.Select(o => o.Item1)));
383
Console.
WriteLine
(" Random Seed: " + seed);
387
Console.
WriteLine
("Starting server.");
511
Console.
WriteLine
($"Starting {concurrentRequests} client workers.");
549
Console.
WriteLine
(" Total: " + total.ToString("N0", CultureInfo.InvariantCulture));
554
Console.
WriteLine
("~~ Reuse address failures: " + reuseAddressFailure.ToString("N0", CultureInfo.InvariantCulture) + "~~");
570
Console.
WriteLine
(fail[i].ToString("N0", CultureInfo.InvariantCulture));
606
Console.
WriteLine
($"Error from iteration {i} ({operation}) in task {taskNum} with {success.Sum()} successes / {fail.Sum()} fails:");
IdeBenchmarks (5)
InheritanceMargin\InheritanceMarginServiceBenchmarks.cs (2)
41
Console.
WriteLine
("Found solution.");
63
Console.
WriteLine
($"Total {items.Length} items are generated.");
SQLitePersistentStorageBenchmark.cs (2)
71
Console.
WriteLine
("Storage type: " + _storage.GetType());
135
Console.
WriteLine
("Creating: " + tempDir);
StackTraceExplorer\StackTraceExplorerBenchmarks.cs (1)
22
Console.
WriteLine
($"Total {result.ParsedFrames.Length} items");
IdeCoreBenchmarks (49)
ClassificationBenchmarks.cs (3)
62
Console.
WriteLine
("Found Roslyn.sln: " + Process.GetCurrentProcess().Id);
78
Console.
WriteLine
("Opening roslyn. Attach to: " + Process.GetCurrentProcess().Id);
82
Console.
WriteLine
("Finished opening roslyn: " + (DateTime.Now - start));
FindReferencesBenchmarks.cs (9)
59
Console.
WriteLine
("Found Compilers.slnf: " + Process.GetCurrentProcess().Id);
75
Console.
WriteLine
("Opening roslyn. Attach to: " + Process.GetCurrentProcess().Id);
79
Console.
WriteLine
("Finished opening roslyn: " + (DateTime.Now - start));
88
Console.
WriteLine
("Successfully got persistent storage instance");
97
Console.
WriteLine
("Time to get first compilation: " + (DateTime.Now - start));
106
Console.
WriteLine
("Starting find-refs");
109
Console.
WriteLine
("Time to find-refs: " + (DateTime.Now - start));
111
Console.
WriteLine
($"References count: {refList.Count}");
113
Console.
WriteLine
($"Locations count: {locations.Count}");
IncrementalSourceGeneratorBenchmarks.cs (11)
68
Console.
WriteLine
("Found Roslyn.sln: " + Process.GetCurrentProcess().Id);
83
Console.
WriteLine
("Opening roslyn. Attach to: " + Process.GetCurrentProcess().Id);
88
Console.
WriteLine
("Finished opening roslyn: " + (DateTime.Now - start));
107
Console.
WriteLine
("Registering");
148
Console.
WriteLine
("Getting compilation: " + project.Name);
150
Console.
WriteLine
("Compilation time: " + (DateTime.Now - start));
151
Console.
WriteLine
("Syntax tree count: " + compilation.SyntaxTrees.Count());
156
Console.
WriteLine
("First generator run: " + (DateTime.Now - start));
161
Console.
WriteLine
("Start profiling now");
177
Console.
WriteLine
("Incremental time: " + incrementalTime);
181
Console.
WriteLine
("Total incremental time: " + totalIncrementalTime);
NavigateToBenchmarks.cs (26)
65
Console.
WriteLine
("Found Roslyn.sln: " + Process.GetCurrentProcess().Id);
80
Console.
WriteLine
("Opening roslyn. Attach to: " + Process.GetCurrentProcess().Id);
85
Console.
WriteLine
("Finished opening roslyn: " + (DateTime.Now - start));
87
Console.
WriteLine
("Doc count: " + docCount);
106
Console.
WriteLine
("start profiling now");
108
Console.
WriteLine
("Starting serial parsing.");
120
Console.
WriteLine
("Serial: " + (DateTime.Now - start));
121
Console.
WriteLine
($"{nameof(DocumentState.TestAccessor.TryReuseSyntaxTree)} - {DocumentState.TestAccessor.TryReuseSyntaxTree}");
122
Console.
WriteLine
($"{nameof(DocumentState.TestAccessor.CouldReuseBecauseOfEqualPPNames)} - {DocumentState.TestAccessor.CouldReuseBecauseOfEqualPPNames}");
123
Console.
WriteLine
($"{nameof(DocumentState.TestAccessor.CouldReuseBecauseOfNoDirectives)} - {DocumentState.TestAccessor.CouldReuseBecauseOfNoDirectives}");
124
Console.
WriteLine
($"{nameof(DocumentState.TestAccessor.CouldReuseBecauseOfNoPPDirectives)} - {DocumentState.TestAccessor.CouldReuseBecauseOfNoPPDirectives}");
125
Console.
WriteLine
($"{nameof(DocumentState.TestAccessor.CouldNotReuse)} - {DocumentState.TestAccessor.CouldNotReuse}");
141
Console.
WriteLine
("start profiling now");
143
Console.
WriteLine
("Starting serial indexing");
153
Console.
WriteLine
("Serial: " + (DateTime.Now - start));
160
Console.
WriteLine
("start profiling now");
162
Console.
WriteLine
("Starting parallel indexing");
174
Console.
WriteLine
("Project parallel: " + (DateTime.Now - start));
181
Console.
WriteLine
("Attach now");
183
Console.
WriteLine
("Starting indexing");
188
Console.
WriteLine
("Successfully got persistent storage instance");
201
Console.
WriteLine
("Indexing time : " + indexTime);
202
Console.
WriteLine
("Solution parallel: " + (DateTime.Now - start));
204
Console.
WriteLine
("DB flushed");
211
Console.
WriteLine
("Starting navigate to");
223
Console.
WriteLine
("Time to search: " + (DateTime.Now - start));
IIS.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
IIS.ShadowCopy.Tests (1)
ShadowCopyTests.cs (1)
388
Console.
WriteLine
($@"Failed to delete directory {directoryPath}: {e.Message}");
illink (87)
Linker\ConsoleLogger.cs (1)
12
Console.
WriteLine
(message.ToString ());
Linker\Driver.cs (86)
1328
Console.
WriteLine
(_linker);
1330
Console.
WriteLine
($"illink [options] {resolvers}");
1331
Console.
WriteLine
(" -a FILE [MODE] Assembly file used as root assembly with optional MODE value to alter default root mode");
1332
Console.
WriteLine
(" Mode can be one of the following values");
1333
Console.
WriteLine
(" all: Keep all members in root assembly");
1334
Console.
WriteLine
(" default: Use entry point for applications and all members for libraries");
1335
Console.
WriteLine
(" entrypoint: Use assembly entry point as only root in the assembly");
1336
Console.
WriteLine
(" library: All assembly members and data needed for secondary trimming are retained");
1337
Console.
WriteLine
(" visible: Keep all members and types visible outside of the assembly");
1338
Console.
WriteLine
(" -x FILE XML descriptor file with members to be kept");
1341
Console.
WriteLine
("Options");
1342
Console.
WriteLine
(" -d PATH Specify additional directory to search in for assembly references");
1343
Console.
WriteLine
(" -reference FILE Specify additional file location used to resolve assembly references");
1344
Console.
WriteLine
(" -b Update debug symbols for all modified files. Defaults to false");
1345
Console.
WriteLine
(" --preserve-symbol-paths Preserve debug header paths to pdb files. Defaults to false");
1346
Console.
WriteLine
(" -out PATH Specify the output directory. Defaults to 'output'");
1348
Console.
WriteLine
(" @FILE Read response file for more options");
1351
Console.
WriteLine
("Actions");
1352
Console.
WriteLine
(" --trim-mode ACTION Sets action for assemblies annotated with IsTrimmable attribute. Defaults to 'link'");
1353
Console.
WriteLine
(" copy: Analyze whole assembly and save it to the output");
1354
Console.
WriteLine
(" copyused: Same as copy but only for assemblies which are needed");
1355
Console.
WriteLine
(" link: Remove any unused IL or metadata and optimizes the assembly");
1356
Console.
WriteLine
(" skip: Do not process the assembly");
1357
Console.
WriteLine
(" addbypassngen: Add BypassNGenAttribute to unused methods");
1358
Console.
WriteLine
(" addbypassngenused: Same as addbypassngen but unused assemblies are removed");
1359
Console.
WriteLine
(" --action ACTION Sets action for assemblies that have no IsTrimmable attribute. Defaults to 'link'");
1360
Console.
WriteLine
(" --action ACTION ASM Overrides the default action for specific assembly name");
1363
Console.
WriteLine
("Advanced Options");
1365
Console.
WriteLine
(" --custom-step CFG Add a custom step <config> to the existing pipeline");
1366
Console.
WriteLine
(" Step can use one of following configurations");
1367
Console.
WriteLine
(" TYPE,PATH_TO_ASSEMBLY: Add user defined type as last step to the pipeline");
1368
Console.
WriteLine
(" -NAME:TYPE,PATH_TO_ASSEMBLY: Inserts step type before existing step with name");
1369
Console.
WriteLine
(" +NAME:TYPE,PATH_TO_ASSEMBLY: Add step type after existing step");
1370
Console.
WriteLine
(" --custom-data KEY=VALUE Populates context data set with user specified key-value pair");
1371
Console.
WriteLine
(" --deterministic Produce a deterministic output for modified assemblies");
1372
Console.
WriteLine
(" --ignore-descriptors Skips reading embedded descriptors (short -z). Defaults to false");
1373
Console.
WriteLine
(" --skip-unresolved Ignore unresolved types, methods, and assemblies. Defaults to true");
1374
Console.
WriteLine
(" --output-pinvokes PATH Output a JSON file with all modules and entry points of the P/Invokes found");
1375
Console.
WriteLine
(" --verbose Log messages indicating progress and warnings");
1376
Console.
WriteLine
(" --nowarn WARN Disable specific warning messages");
1377
Console.
WriteLine
(" --warn VERSION Only print out warnings with version <= VERSION. Defaults to '9999'");
1378
Console.
WriteLine
(" VERSION is an integer in the range 0-9999.");
1379
Console.
WriteLine
(" --warnaserror[+|-] Report all warnings as errors");
1380
Console.
WriteLine
(" --warnaserror[+|-] WARN Report specific warnings as errors");
1381
Console.
WriteLine
(" --singlewarn[+|-] Show at most one analysis warning per assembly");
1382
Console.
WriteLine
(" --singlewarn[+|-] ASM Show at most one analysis warning for a specific assembly");
1386
Console.
WriteLine
("Trimming");
1387
Console.
WriteLine
(" --disable-opt NAME [ASM] Disable one of the default optimizations globaly or for a specific assembly name");
1388
Console.
WriteLine
(" beforefieldinit: Unused static fields are removed if there is no static ctor");
1389
Console.
WriteLine
(" ipconstprop: Interprocedural constant propagation on return values");
1390
Console.
WriteLine
(" overrideremoval: Overrides of virtual methods on types that are never instantiated are removed");
1391
Console.
WriteLine
(" unreachablebodies: Instance methods that are marked but not executed are converted to throws");
1392
Console.
WriteLine
(" unusedinterfaces: Removes interface types from declaration when not used");
1393
Console.
WriteLine
(" unusedtypechecks: Inlines never successful type checks");
1394
Console.
WriteLine
(" substitutefeatureguards: Substitutes properties annotated as FeatureGuard(typeof(RequiresUnreferencedCodeAttribute)) to false");
1395
Console.
WriteLine
(" --enable-opt NAME [ASM] Enable one of the additional optimizations globaly or for a specific assembly name");
1396
Console.
WriteLine
(" sealer: Any method or type which does not have override is marked as sealed");
1397
Console.
WriteLine
(" --explicit-reflection Adds to members never used through reflection DisablePrivateReflection attribute. Defaults to false");
1398
Console.
WriteLine
(" --feature FEATURE VALUE Apply any optimizations defined when this feature setting is a constant known at link time");
1399
Console.
WriteLine
(" --keep-com-interfaces Keep COM interfaces implemented by kept types. Defaults to true");
1400
Console.
WriteLine
(" --keep-compilers-resources Keep assembly resources used for F# compilation resources. Defaults to false");
1401
Console.
WriteLine
(" --keep-dep-attributes Keep attributes used for manual dependency tracking. Defaults to false");
1402
Console.
WriteLine
(" --keep-metadata NAME Keep metadata which would otherwise be removed if not used");
1403
Console.
WriteLine
(" all: Metadata for any member are all kept");
1404
Console.
WriteLine
(" parametername: All parameter names are kept");
1405
Console.
WriteLine
(" --new-mvid Generate a new guid for each linked assembly (short -g). Defaults to true");
1406
Console.
WriteLine
(" --strip-descriptors Remove XML descriptor resources for linked assemblies. Defaults to true");
1407
Console.
WriteLine
(" --strip-security Remove metadata and code related to Code Access Security. Defaults to true");
1408
Console.
WriteLine
(" --substitutions FILE Configuration file with field or methods substitution rules");
1409
Console.
WriteLine
(" --ignore-substitutions Skips reading embedded substitutions. Defaults to false");
1410
Console.
WriteLine
(" --strip-substitutions Remove XML substitution resources for linked assemblies. Defaults to true");
1411
Console.
WriteLine
(" --used-attrs-only Attribute usage is removed if the attribute type is not used. Defaults to false");
1412
Console.
WriteLine
(" --link-attributes FILE Supplementary custom attribute definitions for attributes controlling the trimming behavior.");
1413
Console.
WriteLine
(" --ignore-link-attributes Skips reading embedded attributes. Defaults to false");
1414
Console.
WriteLine
(" --strip-link-attributes Remove XML link attributes resources for linked assemblies. Defaults to true");
1417
Console.
WriteLine
("Analyzer");
1418
Console.
WriteLine
(" --dependencies-file FILE Specify the dependencies output. Defaults to 'output/linker-dependencies.xml'");
1419
Console.
WriteLine
(" if 'xml' is file format, 'output/linker-dependencies.dgml if 'dgml' is file format");
1420
Console.
WriteLine
(" --dump-dependencies Dump dependencies for the ILLink analyzer tool");
1421
Console.
WriteLine
(" --dependencies-file-format FORMAT Specify output file type. Defaults to 'xml'");
1422
Console.
WriteLine
(" xml: outputs an .xml file");
1423
Console.
WriteLine
(" dgml: outputs a .dgml file");
1424
Console.
WriteLine
(" --reduced-tracing Reduces dependency output related to assemblies that will not be modified");
1425
Console.
WriteLine
("");
1437
Console.
WriteLine
("For more information, visit the project Web site");
1438
Console.
WriteLine
(" https://github.com/dotnet/runtime/tree/main/src/tools/illink");
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimDataFlowAnalysis.cs (1)
137
Console.
WriteLine
(tracingInfo);
Infrastructure.Common (9)
FrameworkHelper.cs (1)
47
Console.
WriteLine
(String.Format("Detected current FrameworkID as \"{0}\" from description \"{1}\"",
OSHelper.cs (1)
85
Console.
WriteLine
(String.Format("Detected current OSID as \"{0}\" from RuntimeEnvironment and description \"{1}\"",
ServiceUtilHelper.cs (6)
119
System.Console.
WriteLine
(String.Format("Using root certificate:{0}{1}",
208
System.Console.
WriteLine
(String.Format("Using client certificate:{0}{1}",
321
System.Console.
WriteLine
(String.Format("Using peer trust certificate:{0}{1}",
533
Console.
WriteLine
(String.Format("Invoking {0} ...", requestUri));
545
Console.
WriteLine
(String.Format("Invoking {0} ...", requestUri));
557
Console.
WriteLine
(String.Format("Invoking {0} ...", requestUri));
xunit\IssueAttribute.cs (1)
123
Console.
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)
414
Console.
WriteLine
(trace);
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72
Console.
WriteLine
(log);
InProcessWebSite (9)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Program.cs (8)
30
Console.
WriteLine
(new string('a', 30000));
37
Console.
WriteLine
($"Random number: {args[1]}");
44
Console.
WriteLine
(new string('a', 31000));
84
Console.
WriteLine
($"Is Console redirection: {Console.IsOutputRedirected}");
86
Console.
WriteLine
("彡⾔");
89
Console.
WriteLine
("Wow!");
93
Console.
WriteLine
(new string('a', 40000));
109
Console.
WriteLine
("TEST MESSAGE");
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (1)
117
Console.
WriteLine
("TEST MESSAGE");
InteropClient (51)
InteropClient.cs (49)
123
Console.
WriteLine
("Use TLS: " + options.UseTls);
124
Console.
WriteLine
("Use Test CA: " + options.UseTestCa);
125
Console.
WriteLine
("Client type: " + options.ClientType);
126
Console.
WriteLine
("Server host: " + options.ServerHost);
127
Console.
WriteLine
("Server port: " + options.ServerPort);
287
Console.
WriteLine
("running empty_unary");
290
Console.
WriteLine
("Passed!");
295
Console.
WriteLine
("running large_unary");
304
Console.
WriteLine
("Passed!");
309
Console.
WriteLine
("running client_streaming");
320
Console.
WriteLine
("Passed!");
325
Console.
WriteLine
("running server_streaming");
339
Console.
WriteLine
("Passed!");
344
Console.
WriteLine
("running ping_pong");
388
Console.
WriteLine
("Passed!");
393
Console.
WriteLine
("running empty_stream");
401
Console.
WriteLine
("Passed!");
406
Console.
WriteLine
("running compute_engine_creds");
423
Console.
WriteLine
("Passed!");
428
Console.
WriteLine
("running jwt_token_creds");
442
Console.
WriteLine
("Passed!");
447
Console.
WriteLine
("running oauth2_auth_token");
463
Console.
WriteLine
("Passed!");
468
Console.
WriteLine
("running per_rpc_creds");
480
Console.
WriteLine
("Passed!");
485
Console.
WriteLine
("running cancel_after_begin");
497
Console.
WriteLine
("Passed!");
502
Console.
WriteLine
("running cancel_after_first_response");
529
Console.
WriteLine
("Passed!");
534
Console.
WriteLine
("running timeout_on_sleeping_server");
562
Console.
WriteLine
("Passed!");
567
Console.
WriteLine
("running custom_metadata");
607
Console.
WriteLine
("Passed!");
612
Console.
WriteLine
("running status_code_and_message");
649
Console.
WriteLine
("Passed!");
654
Console.
WriteLine
("running special_status_message");
676
Console.
WriteLine
("Passed!");
681
Console.
WriteLine
("running unimplemented_service");
685
Console.
WriteLine
("Passed!");
690
Console.
WriteLine
("running unimplemented_method");
694
Console.
WriteLine
("Passed!");
699
Console.
WriteLine
("running client_compressed_unary");
736
Console.
WriteLine
("Passed!");
741
Console.
WriteLine
("running client_compressed_streaming");
787
Console.
WriteLine
("Passed!");
792
Console.
WriteLine
("running server_compressed_unary");
816
Console.
WriteLine
("Passed!");
821
Console.
WriteLine
("running server_compressed_streaming");
837
Console.
WriteLine
("Passed!");
Program.cs (2)
27
Console.
WriteLine
("Application started.");
30
Console.
WriteLine
($"NetCoreAppVersion: {runtimeVersion}");
InteropWebsite (4)
Program.cs (1)
53
Console.
WriteLine
($"Enabling connection encryption: {useTls}");
Startup.cs (3)
40
Console.
WriteLine
("Application started.");
43
Console.
WriteLine
($"NetCoreAppVersion: {runtimeVersion}");
45
Console.
WriteLine
($"AspNetCoreAppVersion: {aspNetCoreVersion}");
IOperationGenerator (16)
IOperationClassWriter.cs (1)
99
Console.
WriteLine
("Encountered xml errors, not generating");
IOperationClassWriter.Verifier.cs (14)
20
Console.
WriteLine
($"All IOperation node names must start with I. {abstractNode.Name} does not.");
26
Console.
WriteLine
($"All IOperation node names must end with Operation. {abstractNode.Name} does not.");
32
Console.
WriteLine
($"{abstractNode.Name}'s base type is not an IOperation type.");
40
Console.
WriteLine
($"{abstractNode.Name} does not have correctly formatted comments, please ensure that there is a <summary> block for the type.");
48
Console.
WriteLine
($"{abstractNode.Name}.{prop.Name} does not have correctly formatted comments, please ensure that there is a <summary> block for the property.");
58
Console.
WriteLine
($"{abstractNode.Name}.{prop.Name} has nullable IOperation elements. This is not allowed in IOperation and will mess up Children generation.");
70
Console.
WriteLine
($"{node.Name} has unexpected value for {nameof(Node.HasType)}: {node.HasTypeText}");
76
Console.
WriteLine
($"{node.Name} has unexpected value for {nameof(Node.HasConstantValue)}: {node.HasConstantValueText}");
82
Console.
WriteLine
($"{node.Name} is marked as having a constant value without having a type");
96
Console.
WriteLine
($"{node.Name} has inconsistent ChildrenOrder and properties");
105
Console.
WriteLine
($"{node.Name} has more than 1 IOperation property and must declare an explicit ordering with the ChildrenOrder attribute.");
106
Console.
WriteLine
($"Properties: {string.Join(", ", properties)}");
116
Console.
WriteLine
($"{node.Name}'s ChildrenOrder contains unknown property {child}");
123
Console.
WriteLine
($"{node.Name}'s ChildrenOrder is missing {remainingProp}");
Program.cs (1)
32
Console.
WriteLine
("Deserialize returned null.");
IStartupInjectionAssemblyName (1)
Program.cs (1)
16
Console.
WriteLine
(applicationName);
JwtClientSample (4)
Program.cs (4)
46
hubConnection.On<string, string>("Message", (sender, message) => Console.
WriteLine
($"[{userId}] {sender}: {message}"));
48
Console.
WriteLine
($"[{userId}] Connection Started");
65
Console.
WriteLine
($"[{userId}] Token refreshed");
78
Console.
WriteLine
($"[{userId}] Connection terminated with error: {ex}");
Kestrel.SampleApp (1)
Startup.cs (1)
191
Console.
WriteLine
($"{pair.Path} - {pair.Value}");
KeyManagementSample (7)
Program.cs (7)
31
Console.
WriteLine
("Performed a protect operation.");
38
Console.
WriteLine
($"The key ring contains {allKeys.Count} key(s).");
41
Console.
WriteLine
($"Key {key.KeyId:B}: Created = {key.CreationDate:u}, IsRevoked = {key.IsRevoked}");
46
Console.
WriteLine
("Revoked all existing keys.");
52
Console.
WriteLine
("Added a new key.");
56
Console.
WriteLine
($"The key ring contains {allKeys.Count} key(s).");
59
Console.
WriteLine
($"Key {key.KeyId:B}: Created = {key.CreationDate:u}, IsRevoked = {key.IsRevoked}");
KeyManagementSimulator (16)
Program.cs (16)
33
Console.
WriteLine
("Invalid argument: days must be a positive integer.");
48
Console.
WriteLine
("Invalid argument: instances must be a positive integer.");
64
Console.
WriteLine
("Invalid argument: seed must be a positive integer.");
76
Console.
WriteLine
($"Unknown argument: {args[i]}");
171
Console.
WriteLine
($"[{i}] missing default key of [{instanceIndex}] at {refreshTime}");
188
Console.
WriteLine
("Individual missing key scores (lower is better)");
194
Console.
WriteLine
($"Instance {i}: {Math.Round(cumulativeProblemTime.TotalHours, 2)} hours");
198
Console.
WriteLine
($"Total missing key score (lower is better) = {Math.Round(totalProblemTime.TotalHours, 2)} hours");
199
Console.
WriteLine
($"Elapsed Time = {endTime - startTime}");
200
Console.
WriteLine
($"IXmlRepository.GetAllElements Call Count = {repository.GetAllElementsCallCount}");
201
Console.
WriteLine
($"IXmlRepository.StoreElement Call Count = {repository.StoreElementCallCount}");
202
Console.
WriteLine
($"IXmlEncryptor.Encrypt Call Count = {encryptor.EncryptCallCount}");
203
Console.
WriteLine
($"IXmlDecryptor.Decrypt Call Count = {decryptor.DecryptCallCount}");
204
Console.
WriteLine
($"Seed = {seed}");
226
Console.
WriteLine
("Usage: your_program [-d days] [-i instances] [-s seed]");
419
Console.
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)
113
Console.
WriteLine
("Failed to delete " + directory);
Microsoft.AspNetCore.Components.Performance (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
DebugProxyLauncher.cs (2)
51
Console.
WriteLine
($"Invalid value for NO_PROXY: {noProxyEnvVar} (Expected values: \"localhost\" or \"127.0.0.1\")");
161
Console.
WriteLine
(eventArgs.Data);
Microsoft.AspNetCore.Components.WebView.Photino (1)
BlazorWindow.cs (1)
83
Console.
WriteLine
($"Starting Photino window...");
Microsoft.AspNetCore.Components.WebViewE2E.Test (27)
BasicBlazorHybridTest.cs (26)
21
Console.
WriteLine
($"Current directory: {Environment.CurrentDirectory}");
22
Console.
WriteLine
($"Current assembly: {typeof(Program).Assembly.Location}");
27
Console.
WriteLine
($"Adding new native path: {newNativePath}");
29
Console.
WriteLine
($"New PATH env var: {Environment.GetEnvironmentVariable("PATH")}");
32
Console.
WriteLine
($"Found {thisAppFiles.Length} files in this app:");
35
Console.
WriteLine
($"\t{file}");
44
Console.
WriteLine
($"Creating BlazorWindow...");
56
Console.
WriteLine
($"Exception {ex.GetType().FullName} while creating window: {ex.Message}");
57
Console.
WriteLine
(ex.StackTrace);
60
Console.
WriteLine
($"Hooking exception handler...");
68
Console.
WriteLine
($"Setting up root components...");
71
Console.
WriteLine
($"Running window...");
76
Console.
WriteLine
($"RegisterWebMessageReceivedHandler...");
102
Console.
WriteLine
($"Waiting for WebView ready...");
106
Console.
WriteLine
($"WebView not ready yet, waiting 1sec...");
111
Console.
WriteLine
($"WebView never became ready, failing the test...");
115
Console.
WriteLine
($"WebView is ready!");
133
Console.
WriteLine
($"All tests passed!");
138
Console.
WriteLine
("EXCEPTION DURING TEST: " + ex.Message);
139
Console.
WriteLine
(ex.StackTrace);
156
Console.
WriteLine
($"Exception while running window: {ex}");
161
Console.
WriteLine
($"Test passed? {testPassed}");
175
Console.
WriteLine
($"Asking WebView for current controlDiv value...");
181
Console.
WriteLine
($"WebView reported the expected controlDiv value of {controlValueToWaitFor}!");
184
Console.
WriteLine
($"Waiting for controlDiv to have value '{controlValueToWaitFor}', but it's still '{_latestControlDivValue}', so waiting {WaitTimeInMS}ms.");
188
Console.
WriteLine
($"Waited {MaxWaitTimes * WaitTimeInMS}ms but couldn't get controlDiv to have value '{controlValueToWaitFor}' (last value is '{_latestControlDivValue}').");
Program.cs (1)
27
Console.
WriteLine
($"Exception while running {typeof(BasicBlazorHybridTest).FullName}: {ex}");
Microsoft.AspNetCore.ConcurrencyLimiter.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.Grpc.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.Hosting (9)
Internal\WebHost.cs (1)
232
Console.
WriteLine
("Application startup exception: " + ex.ToString());
Internal\WebHostLifetime.cs (1)
68
Console.
WriteLine
(_shutdownMessage);
WebHostBuilder.cs (3)
146
Console.
WriteLine
("The environment variable 'Hosting:Environment' is obsolete and has been replaced with 'ASPNETCORE_ENVIRONMENT'");
151
Console.
WriteLine
("The environment variable 'ASPNET_ENV' is obsolete and has been replaced with 'ASPNETCORE_ENVIRONMENT'");
156
Console.
WriteLine
("The environment variable 'ASPNETCORE_SERVER.URLS' is obsolete and has been replaced with 'ASPNETCORE_URLS'");
WebHostExtensions.cs (4)
119
Console.
WriteLine
($"Hosting environment: {hostingEnvironment?.EnvironmentName}");
120
Console.
WriteLine
($"Content root path: {hostingEnvironment?.ContentRootPath}");
127
Console.
WriteLine
($"Now listening on: {address}");
133
Console.
WriteLine
(startupMessage);
Microsoft.AspNetCore.Hosting.TestSites (5)
StartupShutdown.cs (5)
18
Console.
WriteLine
("Started");
22
Console.
WriteLine
("Stopping firing");
24
Console.
WriteLine
("Stopping end");
28
Console.
WriteLine
("Stopped firing");
30
Console.
WriteLine
("Stopped end");
Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.Http.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.OpenApi.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.Security.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.Server.HttpSys.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\RevocationResponder.cs (1)
414
Console.
WriteLine
(trace);
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72
Console.
WriteLine
(log);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (3)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72
Console.
WriteLine
(log);
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
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)
72
Console.
WriteLine
(log);
Microsoft.AspNetCore.SignalR.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
46
Console.
WriteLine
($"'docker info' output: {output}");
Microsoft.AspNetCore.WebSockets.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (2)
762
Console.
WriteLine
($"Waiting for debugger to attach ({currentProcess.MainModule!.FileName} PID {currentProcess.Id}). Press enter to continue...");
1097
Console.
WriteLine
(Strings.CreateDiagnosticReport());
BackEnd\Components\Scheduler\SchedulingPlan.cs (3)
258
Console.
WriteLine
("Projects with the most immediate children:");
274
Console.
WriteLine
("Configs in hierarchy by number of occurrences:");
332
Console.
WriteLine
("Projects by expense:");
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
1217
Console.
WriteLine
(e.Message);
Logging\ProfilerLogger.cs (3)
288
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("WritingProfilerReport", FileToLog));
298
Console.
WriteLine
(ResourceUtilities.GetResourceString("WritingProfilerReportDone"));
307
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("ErrorWritingProfilerReport", ex.Message));
Logging\SerialConsoleLogger.cs (1)
592
Console.
WriteLine
(e.Message);
PrintLineDebuggerWriters.cs (1)
69
public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.
WriteLine
(SimpleFormat(id, callsite, args));
Microsoft.Build.CommandLine.UnitTests (1)
CommandLineSwitches_Tests.cs (1)
1621
Console.
WriteLine
(e.Message);
Microsoft.Build.Engine.OM.UnitTests (3)
Definition\Project_Tests.cs (1)
221
Console.
WriteLine
(ex.Message);
Definition\ProjectCollection_Tests.cs (1)
776
Console.
WriteLine
(ex.Message);
PrintLineDebuggerWriters.cs (1)
69
public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.
WriteLine
(SimpleFormat(id, callsite, args));
Microsoft.Build.Engine.UnitTests (83)
BackEnd\BuildManager_Tests.cs (7)
1524
Console.
WriteLine
("Starting CancelledBuild test that is known to hang.");
1543
Console.
WriteLine
("CancelledBuild: beginning build");
1545
Console.
WriteLine
("CancelledBuild: build begun");
1548
Console.
WriteLine
("CancelledBuild: pend build returned");
1552
Console.
WriteLine
("CancelledBuild: ExecuteAsync called");
1554
Console.
WriteLine
("CancelledBuild: submissions cancelled");
1562
Console.
WriteLine
("CancelledBuild: build ended");
BackEnd\MockLoggingService.cs (1)
31
_writer = writter ?? Console.
WriteLine
;
BackEnd\MSBuild_Tests.cs (2)
683
Console.
WriteLine
(logger.FullLog);
750
Console.
WriteLine
(logger.FullLog);
BackEnd\TargetBuilder_Tests.cs (1)
1671
Console.
WriteLine
(ex.ToString());
BackEnd\TargetUpToDateChecker_Tests.cs (7)
250
Console.
WriteLine
("MultiInputItemsThatCorrelatesWithMultipleTransformOutputItems");
301
Console.
WriteLine
("InputItemsTransformedToDifferentNumberOfOutputsFewer");
330
Console.
WriteLine
("InputItemsTransformedToDifferentNumberOfOutputsFewer1");
359
Console.
WriteLine
("InputItemsTransformedToDifferentNumberOfOutputsMore");
389
Console.
WriteLine
("InputItemsTransformedToDifferentNumberOfOutputsMore1");
419
Console.
WriteLine
("InputItemsTransformedToDifferentNumberOfOutputsTwoWays");
462
Console.
WriteLine
("MultiInputItemsThatCorrelatesWithMultipleTransformOutputItems2");
Construction\ElementLocation_Tests.cs (1)
339
Console.
WriteLine
(readWriteLoadLocations);
Definition\ToolsVersion_Tests.cs (1)
225
Console.
WriteLine
(mockLogger.FullLog);
Evaluation\Evaluator_Tests.cs (2)
1154
Console.
WriteLine
(project.Xml.RawXml);
4482
Console.
WriteLine
("Expect exception: " + e.Message);
Evaluation\Expander_Tests.cs (4)
4304
Console.
WriteLine
(message);
4309
Console.
WriteLine
(validTests[i][0] + " expanded to '" + result + "'");
4326
Console.
WriteLine
(errorTests[i] + " did not expand.");
4332
Console.
WriteLine
(errorTests[i] + " caused '" + ex.Message + "'");
Evaluation\ExpressionShredder_Tests.cs (8)
441
Console.
WriteLine
(input);
462
Console.
WriteLine
("verifying item names...");
466
Console.
WriteLine
("verifying metadata ...");
469
Console.
WriteLine
("===OK===");
476
Console.
WriteLine
("Expecting " + expected.Count + " distinct values for <" + test + ">");
515
Console.
WriteLine
(message);
525
Console.
WriteLine
("Expecting " + expected.Count + " distinct values for <" + test + ">");
564
Console.
WriteLine
(message);
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (8)
168
Console.
WriteLine
(logger.FullLog);
169
Console.
WriteLine
("checking FromExtn");
171
Console.
WriteLine
("checking logcontains");
209
Console.
WriteLine
(logger.FullLog);
210
Console.
WriteLine
("checking FromExtn1");
212
Console.
WriteLine
("checking FromExtn2");
214
Console.
WriteLine
("checking logcontains");
264
Console.
WriteLine
(logger.FullLog);
ExpressionTree_Tests.cs (2)
412
Console.
WriteLine
("NegationParseTest()");
493
Console.
WriteLine
(e.BaseMessage);
FileMatcher_Tests.cs (3)
600
Console.
WriteLine
($"Input {input.Item1} with pattern {input.Item2} failed");
1247
Console.
WriteLine
(result);
1267
Console.
WriteLine
(result);
FileUtilities_Tests.cs (1)
183
Console.
WriteLine
(e.Message);
Parser_Tests.cs (29)
28
Console.
WriteLine
("SimpleParseTest()");
77
Console.
WriteLine
("ComplexParseTest()");
105
Console.
WriteLine
("NegationParseTest()");
122
Console.
WriteLine
("FunctionCallParseTest()");
136
Console.
WriteLine
("FunctionCallParseTest()");
146
Console.
WriteLine
(e.BaseMessage);
158
Console.
WriteLine
(e.BaseMessage);
170
Console.
WriteLine
(e.BaseMessage);
182
Console.
WriteLine
(e.BaseMessage);
194
Console.
WriteLine
(e.BaseMessage);
206
Console.
WriteLine
(e.BaseMessage);
215
Console.
WriteLine
("ItemFuncParseTest()");
235
Console.
WriteLine
("FunctionCallParseTest()");
245
Console.
WriteLine
(e.BaseMessage);
257
Console.
WriteLine
(e.BaseMessage);
269
Console.
WriteLine
(e.BaseMessage);
281
Console.
WriteLine
(e.BaseMessage);
293
Console.
WriteLine
(e.BaseMessage);
305
Console.
WriteLine
(e.BaseMessage);
316
Console.
WriteLine
("NegativeTests()");
329
Console.
WriteLine
(e.BaseMessage);
342
Console.
WriteLine
(e.BaseMessage);
354
Console.
WriteLine
(e.BaseMessage);
367
Console.
WriteLine
(e.BaseMessage);
380
Console.
WriteLine
(e.BaseMessage);
393
Console.
WriteLine
(e.BaseMessage);
405
Console.
WriteLine
(e.BaseMessage);
418
Console.
WriteLine
(e.BaseMessage);
430
Console.
WriteLine
(e.BaseMessage);
Scanner_Tests.cs (2)
62
Console.
WriteLine
(ex.Message);
496
Console.
WriteLine
("here");
Utilities_Tests.cs (4)
331
Console.
WriteLine
("originalxml = " + xmlText);
332
Console.
WriteLine
("innerText = " + rootElement.InnerText);
333
Console.
WriteLine
("innerXml = " + rootElement.InnerXml);
334
Console.
WriteLine
("-----------");
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62
Console.
WriteLine
(message);
Microsoft.Build.Tasks.Core (1)
PrintLineDebuggerWriters.cs (1)
69
public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.
WriteLine
(SimpleFormat(id, callsite, args));
Microsoft.Build.Tasks.UnitTests (46)
Copy_Tests.cs (1)
2637
Console.
WriteLine
("CopyToDestinationFolderWithHardLinkFallbackNetwork test could not access the network.");
Exec_Tests.cs (5)
654
Console.
WriteLine
(e.Log);
676
Console.
WriteLine
(e.Log);
685
Console.
WriteLine
(e.Log);
707
Console.
WriteLine
(e.Log);
717
Console.
WriteLine
(e.Log);
FindInList_Tests.cs (1)
133
Console.
WriteLine
(e.Log);
NativeMethodsShared_Tests.cs (1)
146
Console.
WriteLine
(e.Message);
ResourceHandling\GenerateResource_Tests.cs (7)
52
Console.
WriteLine
("Performing BasicResX2Resources() test");
1690
Console.
WriteLine
("Performing TextToResourcesBadFormat() test");
2183
Console.
WriteLine
("Performing AttributeForwarding() test");
2518
Console.
WriteLine
("Performing EmptySources() test");
3073
Console.
WriteLine
("Performing DontLockP2PReferenceWhenResolvingSystemTypes() test");
3249
Console.
WriteLine
("Performing ReferencedAssemblySpecifiedUsingRelativePath() test");
3405
Console.
WriteLine
("Performing ResgenCommandLineLogging() test");
WriteCodeFragment_Tests.cs (11)
304
Console.
WriteLine
(content);
332
Console.
WriteLine
(content);
358
Console.
WriteLine
(content);
435
Console.
WriteLine
(content);
511
Console.
WriteLine
(content);
535
Console.
WriteLine
(content);
567
Console.
WriteLine
(content);
603
Console.
WriteLine
(content);
706
Console.
WriteLine
(content);
739
Console.
WriteLine
(content);
1106
Console.
WriteLine
(content);
XmlPeek_Tests.cs (1)
303
Console.
WriteLine
(engine.Log);
XslTransformation_Tests.cs (19)
195
Console.
WriteLine
(engine.Log);
244
Console.
WriteLine
(engine.Log);
275
Console.
WriteLine
(engine.Log);
309
Console.
WriteLine
(engine.Log);
343
Console.
WriteLine
(engine.Log);
375
Console.
WriteLine
(engine.Log);
412
Console.
WriteLine
(engine.Log);
461
Console.
WriteLine
(engine.Log);
502
Console.
WriteLine
(engine.Log);
589
Console.
WriteLine
(engine.Log);
625
Console.
WriteLine
(engine.Log);
652
Console.
WriteLine
(engine.Log);
682
Console.
WriteLine
(engine.Log);
740
Console.
WriteLine
(engine.Log);
773
Console.
WriteLine
(engine.Log);
838
Console.
WriteLine
(engine.Log);
880
Console.
WriteLine
(engine.Log);
969
Console.
WriteLine
(engine.Log);
1032
Console.
WriteLine
(engine.Log);
Microsoft.Build.UnGAC (4)
Program.cs (4)
42
Console.
WriteLine
($"Could not successfully call CreateAssemblyCache. HResult: {hresult}");
43
Console.
WriteLine
("Exiting without removing assemblies from the GAC...");
51
Console.
WriteLine
($"Tried to remove {assembly} from the GAC. HResult: 0x{hresult:X8}");
56
Console.
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)
98
Console.
WriteLine
(message);
125
Console.
WriteLine
(message);
139
Console.
WriteLine
(eventArgs.Message);
153
Console.
WriteLine
(eventArgs.Message);
174
Console.
WriteLine
(message);
413
Console.
WriteLine
(logText);
439
Console.
WriteLine
(logText);
ObjectModelHelpers.cs (14)
450
Console.
WriteLine
("ERROR: Items were returned in the incorrect order...");
451
Console.
WriteLine
("Expected: " + expectedItemSpecs);
452
Console.
WriteLine
("Actual: " + actualItemSpecs);
822
Console.
WriteLine
("================================= EXPECTED ===========================================");
823
Console.
WriteLine
(newExpectedProjectContents);
825
Console.
WriteLine
("================================== ACTUAL ============================================");
826
Console.
WriteLine
(newActualProjectContents);
891
Console.
WriteLine
(ex.ToString());
929
Console.
WriteLine
(ex.ToString());
1570
Console.
WriteLine
("================================= EXPECTED ===========================================");
1571
Console.
WriteLine
(newExpectedProjectContents);
1573
Console.
WriteLine
("================================== ACTUAL ============================================");
1574
Console.
WriteLine
(newActualProjectContents);
1922
Action<string> LogLine = testOutput == null ? (Action<string>)Console.
WriteLine
: testOutput.WriteLine;
RunnerUtilities.cs (1)
177
Console.
WriteLine
(data);
TestEnvironment.cs (1)
366
Console.
WriteLine
(message);
Microsoft.Build.Utilities.Core (1)
PrintLineDebuggerWriters.cs (1)
69
public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.
WriteLine
(SimpleFormat(id, callsite, args));
Microsoft.Build.Utilities.UnitTests (13)
MockEngine.cs (4)
46
Console.
WriteLine
(EventArgsFormatting.FormatEventMessage(eventArgs));
53
Console.
WriteLine
(EventArgsFormatting.FormatEventMessage(eventArgs));
60
Console.
WriteLine
(eventArgs.Message);
69
Console.
WriteLine
(eventArgs.Message);
NativeMethodsShared_Tests.cs (1)
146
Console.
WriteLine
(e.Message);
TaskItem_Tests.cs (2)
143
Console.
WriteLine
(e.Message);
163
Console.
WriteLine
(e.Message);
TaskLoggingHelper_Tests.cs (1)
227
Console.
WriteLine
(e.Message);
ToolTask_Tests.cs (1)
108
Console.
WriteLine
("executetool");
TrackedDependencies\MockEngine.cs (4)
51
Console.
WriteLine
(eventArgs.Message);
67
Console.
WriteLine
(eventArgs.Message);
74
Console.
WriteLine
(eventArgs.Message);
81
Console.
WriteLine
(eventArgs.Message);
Microsoft.Cci.Extensions (1)
Traversers\DependencyTraverser.cs (1)
106
Console.
WriteLine
("Why");
Microsoft.CodeAnalysis (8)
InternalUtilities\Debug.cs (1)
62
Console.
WriteLine
(message);
InternalUtilities\FailFast.cs (7)
63
Console.
WriteLine
("Dumping info before call to failfast");
66
Console.
WriteLine
(message);
71
Console.
WriteLine
("Exception info");
74
Console.
WriteLine
(current.Message);
75
Console.
WriteLine
(current.StackTrace);
79
Console.
WriteLine
("Stack trace of handler");
81
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.CodeStyle (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62
Console.
WriteLine
(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
63
Console.
WriteLine
("Dumping info before call to failfast");
66
Console.
WriteLine
(message);
71
Console.
WriteLine
("Exception info");
74
Console.
WriteLine
(current.Message);
75
Console.
WriteLine
(current.StackTrace);
79
Console.
WriteLine
("Stack trace of handler");
81
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
CommandLineTests.cs (3)
4494
Console.
WriteLine
(outWriter.ToString());
7053
Console.
WriteLine
(outWriter.ToString());
9219
Console.
WriteLine
(writer.ToString());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Diagnostics\CompilationEventTests.cs (7)
25
Console.
WriteLine
("Expected duplicate " + s);
44
Console.
WriteLine
("UNEXPECTED EVENTS:");
47
Console.
WriteLine
(eventString);
52
Console.
WriteLine
("MISSING EVENTS:");
56
Console.
WriteLine
(e);
61
Console.
WriteLine
("ACTUAL EVENTS:");
66
Console.
WriteLine
(",");
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
LexicalAndXml\DocumentationCommentLexerTestBase.cs (1)
70
Console.
WriteLine
(string.Join("," + Environment.NewLine, baseline));
Parsing\PatternParsingTests.cs (2)
3000
Console.
WriteLine
("Failed on \"" + source + "\"");
3005
Console.
WriteLine
("Failed on \"" + source + "\"");
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62
Console.
WriteLine
(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
63
Console.
WriteLine
("Dumping info before call to failfast");
66
Console.
WriteLine
(message);
71
Console.
WriteLine
("Exception info");
74
Console.
WriteLine
(current.Message);
75
Console.
WriteLine
(current.StackTrace);
79
Console.
WriteLine
("Stack trace of handler");
81
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62
Console.
WriteLine
(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
63
Console.
WriteLine
("Dumping info before call to failfast");
66
Console.
WriteLine
(message);
71
Console.
WriteLine
("Exception info");
74
Console.
WriteLine
(current.Message);
75
Console.
WriteLine
(current.StackTrace);
79
Console.
WriteLine
("Stack trace of handler");
81
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.InteractiveHost (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62
Console.
WriteLine
(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
63
Console.
WriteLine
("Dumping info before call to failfast");
66
Console.
WriteLine
(message);
71
Console.
WriteLine
("Exception info");
74
Console.
WriteLine
(current.Message);
75
Console.
WriteLine
(current.StackTrace);
79
Console.
WriteLine
("Stack trace of handler");
81
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.LanguageServer (1)
Program.cs (1)
134
Console.
WriteLine
(JsonSerializer.Serialize(new NamedPipeInformation(clientPipeName)));
Microsoft.CodeAnalysis.Test.Utilities (1)
CompilationVerifier.cs (1)
282
Console.
WriteLine
(il);
Microsoft.CodeAnalysis.UnitTests (1)
Analyzers\AnalyzerFileReferenceAppDomainTests.cs (1)
123
Console.
WriteLine
($"Resolve in {AppDomain.CurrentDomain.Id} for {e.Name}");
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (9)
ExpressionTrees\Sources\ExprLambdaUtils.vb (3)
35
Console.
WriteLine
("FAIL")
36
Console.
WriteLine
("expected: '" & expected & "'")
37
Console.
WriteLine
("actual: '" & actual & "'")
ExpressionTrees\Sources\QueryHelper.vb (6)
60
Console.
WriteLine
(func.Dump)
67
Console.
WriteLine
(resultSelector.Dump)
73
Console.
WriteLine
(predicate.Dump)
83
Console.
WriteLine
(outerKeySelector.Dump)
84
Console.
WriteLine
(innerKeySelector.Dump)
85
Console.
WriteLine
(resultSelector.Dump)
Microsoft.CodeAnalysis.Workspaces (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62
Console.
WriteLine
(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
63
Console.
WriteLine
("Dumping info before call to failfast");
66
Console.
WriteLine
(message);
71
Console.
WriteLine
("Exception info");
74
Console.
WriteLine
(current.Message);
75
Console.
WriteLine
(current.StackTrace);
79
Console.
WriteLine
("Stack trace of handler");
81
Console.
WriteLine
(stackTrace.ToString());
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (8)
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62
Console.
WriteLine
(message);
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (7)
63
Console.
WriteLine
("Dumping info before call to failfast");
66
Console.
WriteLine
(message);
71
Console.
WriteLine
("Exception info");
74
Console.
WriteLine
(current.Message);
75
Console.
WriteLine
(current.StackTrace);
79
Console.
WriteLine
("Stack trace of handler");
81
Console.
WriteLine
(stackTrace.ToString());
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
160
Console.
WriteLine
(e.Data);
Microsoft.DotNet.ArcadeAzureIntegration (1)
AzureCliCredentialWithAzNoUpdateWrapper.cs (1)
111
Console.
WriteLine
($"Warning - Disable auto update of Azure CLI failed: {e.Message}");
Microsoft.DotNet.ArcadeLogging (2)
PipelinesLogger.cs (2)
113
Console.
WriteLine
(_builder.GetMessage());
171
Console.
WriteLine
(_builder.GetMessage());
Microsoft.DotNet.SignCheckLibrary (1)
Logging\ConsoleLogger.cs (1)
17
Console.
WriteLine
(message);
Microsoft.DotNet.SwaggerGenerator.CmdLine (1)
Program.cs (1)
63
Console.
WriteLine
(versionString);
Microsoft.DotNet.VersionTools.Cli (1)
ConsoleLogger.cs (1)
12
Console.
WriteLine
(String.Format(message, values));
Microsoft.Extensions.AI.AotCompatibility.TestApp (1)
Program.cs (1)
22
System.Console.
WriteLine
("Success!");
Microsoft.Extensions.Caching.MicroBenchmarks (1)
Program.cs (1)
9
Console.
WriteLine
("Release mode only");
Microsoft.Extensions.ObjectPool.Microbenchmark (2)
src\Shared\BenchmarkRunner\Program.cs (2)
95
Console.
WriteLine
("Using the debug config since you are debugging. I hope that's OK!");
96
Console.
WriteLine
("Specify a configuration with --config <name> to override");
Microsoft.Extensions.SecretManager.Tools.Tests (1)
UserSecretsTestFixture.cs (1)
94
Console.
WriteLine
("Failed to delete " + directory);
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerFactoryTests.cs (1)
267
System.Console.
WriteLine
(s);
Microsoft.ML.AutoML.Samples (80)
AutoFit\BinaryClassificationExperiment.cs (15)
25
Console.
WriteLine
($"Running AutoML binary classification experiment for {ExperimentTime} seconds...");
32
Console.
WriteLine
($"Total models produced: {experimentResult.RunDetails.Count()}");
33
Console.
WriteLine
($"Best model's trainer: {bestRun.TrainerName}");
34
Console.
WriteLine
($"Metrics of best model from validation data --");
40
Console.
WriteLine
($"Metrics of best model on test data --");
56
Console.
WriteLine
($"Predicted sentiment for test issue: {prediction.Prediction}");
58
Console.
WriteLine
("Press any key to continue...");
64
Console.
WriteLine
($"Accuracy: {metrics.Accuracy}");
65
Console.
WriteLine
($"AreaUnderPrecisionRecallCurve: {metrics.AreaUnderPrecisionRecallCurve}");
66
Console.
WriteLine
($"AreaUnderRocCurve: {metrics.AreaUnderRocCurve}");
67
Console.
WriteLine
($"F1Score: {metrics.F1Score}");
68
Console.
WriteLine
($"NegativePrecision: {metrics.NegativePrecision}");
69
Console.
WriteLine
($"NegativeRecall: {metrics.NegativeRecall}");
70
Console.
WriteLine
($"PositivePrecision: {metrics.PositivePrecision}");
71
Console.
WriteLine
($"PositiveRecall: {metrics.PositiveRecall}");
AutoFit\MulticlassClassificationExperiment.cs (11)
26
Console.
WriteLine
($"Running AutoML multiclass classification experiment for {ExperimentTime} seconds...");
33
Console.
WriteLine
($"Total models produced: {experimentResult.RunDetails.Count()}");
34
Console.
WriteLine
($"Best model's trainer: {bestRun.TrainerName}");
35
Console.
WriteLine
($"Metrics of best model from validation data --");
41
Console.
WriteLine
($"Metrics of best model on test data --");
57
Console.
WriteLine
($"Predicted number for test pixels: {prediction.Prediction}");
59
Console.
WriteLine
("Press any key to continue...");
65
Console.
WriteLine
($"LogLoss: {metrics.LogLoss}");
66
Console.
WriteLine
($"LogLossReduction: {metrics.LogLossReduction}");
67
Console.
WriteLine
($"MacroAccuracy: {metrics.MacroAccuracy}");
68
Console.
WriteLine
($"MicroAccuracy: {metrics.MicroAccuracy}");
AutoFit\RankingExperiment.cs (10)
29
Console.
WriteLine
($"Running AutoML recommendation experiment for {ExperimentTime} seconds...");
41
Console.
WriteLine
($"Total models produced: {experimentResult.RunDetails.Count()}");
42
Console.
WriteLine
($"Best model's trainer: {bestRun.TrainerName}");
43
Console.
WriteLine
($"Metrics of best model from validation data --");
49
Console.
WriteLine
($"Metrics of best model on test data --");
66
Console.
WriteLine
($"Predicted rating for: {prediction.Prediction}");
76
Console.
WriteLine
($"Predicted: {prediction.Prediction}");
78
Console.
WriteLine
("Press any key to continue...");
84
Console.
WriteLine
($"NormalizedDiscountedCumulativeGains: {metrics.NormalizedDiscountedCumulativeGains}");
85
Console.
WriteLine
($"DiscountedCumulativeGains: {metrics.DiscountedCumulativeGains}");
AutoFit\RecommendationExperiment.cs (12)
32
Console.
WriteLine
($"Running AutoML recommendation experiment for {ExperimentTime} seconds...");
45
Console.
WriteLine
($"Total models produced: {experimentResult.RunDetails.Count()}");
46
Console.
WriteLine
($"Best model's trainer: {bestRun.TrainerName}");
47
Console.
WriteLine
($"Metrics of best model from validation data --");
53
Console.
WriteLine
($"Metrics of best model on test data --");
69
Console.
WriteLine
($"Predicted rating for: {prediction.Rating}");
78
Console.
WriteLine
($"Expected Rating NaN for unknown user, Predicted: {prediction.Rating}");
80
Console.
WriteLine
("Press any key to continue...");
86
Console.
WriteLine
($"MeanAbsoluteError: {metrics.MeanAbsoluteError}");
87
Console.
WriteLine
($"MeanSquaredError: {metrics.MeanSquaredError}");
88
Console.
WriteLine
($"RootMeanSquaredError: {metrics.RootMeanSquaredError}");
89
Console.
WriteLine
($"RSquared: {metrics.RSquared}");
AutoFit\RegressionExperiment.cs (11)
26
Console.
WriteLine
($"Running AutoML regression experiment for {ExperimentTime} seconds...");
33
Console.
WriteLine
($"Total models produced: {experimentResult.RunDetails.Count()}");
34
Console.
WriteLine
($"Best model's trainer: {bestRun.TrainerName}");
35
Console.
WriteLine
($"Metrics of best model from validation data --");
41
Console.
WriteLine
($"Metrics of best model on test data --");
62
Console.
WriteLine
($"Predicted fare for test taxi trip: {prediction.FareAmount}");
64
Console.
WriteLine
("Press any key to continue...");
70
Console.
WriteLine
($"MeanAbsoluteError: {metrics.MeanAbsoluteError}");
71
Console.
WriteLine
($"MeanSquaredError: {metrics.MeanSquaredError}");
72
Console.
WriteLine
($"RootMeanSquaredError: {metrics.RootMeanSquaredError}");
73
Console.
WriteLine
($"RSquared: {metrics.RSquared}");
AutoMLExperiment.cs (9)
39
Console.
WriteLine
(e.RawMessage);
130
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
131
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
132
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
133
Console.
WriteLine
($"Negative Precision: " +
136
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
137
Console.
WriteLine
($"Positive Precision: " +
140
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
141
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Cifar10.cs (1)
32
Console.
WriteLine
(o.Message);
Program.cs (2)
31
Console.
WriteLine
("Done");
35
Console.
WriteLine
($"Exception {ex}");
Sweepable\SweepableLightGBMBinaryExperiment.cs (9)
65
Console.
WriteLine
(e.RawMessage);
157
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
158
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
159
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
160
Console.
WriteLine
($"Negative Precision: " +
163
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
164
Console.
WriteLine
($"Positive Precision: " +
167
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
168
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Microsoft.ML.AutoML.Tests (5)
GetNextPipelineTests.cs (1)
36
Console.
WriteLine
(serialized);
SweeperTests.cs (4)
75
Console.
WriteLine
($"{metric}\t{x1},{x2}");
80
Console.
WriteLine
($"Best: {bestResult.MetricValue}");
131
Console.
WriteLine
($"{metric}\t{x1},{x2},{x3},{x4}");
136
Console.
WriteLine
($"Best: {bestResult.MetricValue}");
Microsoft.ML.CpuMath.PerformanceTests (1)
PerformanceTests.cs (1)
68
Console.
WriteLine
("Random seed: " + seed + "; set environment variable CPUMATH_SEED to this value to reproduce results");
Microsoft.ML.GenAI.Samples (6)
Llama\LlamaSample.cs (1)
33
Console.
WriteLine
("Loading Llama from huggingface model weight folder");
MEAI\Llama3_1.cs (1)
34
Console.
WriteLine
("Loading Llama from huggingface model weight folder");
Mistral\Mistral_7B_Instruct.cs (4)
42
Console.
WriteLine
("Loading Mistral from huggingface model weight folder");
73
Console.
WriteLine
("Loading Mistral from huggingface model weight folder");
109
Console.
WriteLine
($"The similarity score between query and document is {score}");
127
Console.
WriteLine
("Loading Mistral from huggingface model weight folder");
Microsoft.ML.IntegrationTests (2)
IntegrationTestBaseClass.cs (2)
65
Console.
WriteLine
($"Starting test: {FullTestName}");
78
Console.
WriteLine
($"Finished test: {FullTestName}");
Microsoft.ML.Maml (2)
MAML.cs (2)
327
Console.
WriteLine
("Usage: maml <cmd> <args>");
328
Console.
WriteLine
(" To get a list of commands: maml ?");
Microsoft.ML.NugetPackageVersionUpdater (2)
Program.cs (2)
72
Console.
WriteLine
($"Update packege {packageName} to version {latestVersion}.");
75
Console.
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)
30
Console.
WriteLine
($"Created dataset in temporary file:\n{path}\n");
Harness\Metrics.cs (1)
29
Console.
WriteLine
(metric.ToParsableString());
ImageClassificationBench.cs (2)
202
Console.
WriteLine
("");
203
Console.
WriteLine
("Extracting is completed.");
TextLoaderBench.cs (1)
33
Console.
WriteLine
($"Created dataset in temporary file:\n{path}\n");
Microsoft.ML.Samples (836)
Dynamic\DataOperations\BootstrapSample.cs (2)
48
Console.
WriteLine
($"Label\tFeature");
51
Console.
WriteLine
($"{row.Label}\t{row.Feature}");
Dynamic\DataOperations\Cache.cs (3)
22
Console.
WriteLine
($"Lines={lines}," +
39
Console.
WriteLine
($"Lines={lines}," +
52
Console.
WriteLine
(
Dynamic\DataOperations\CrossValidationSplit.cs (4)
207
Console.
WriteLine
($"The data in the Train split.");
209
Console.
WriteLine
($"{row.Group}, {row.Features}");
211
Console.
WriteLine
($"\nThe data in the Test split.");
213
Console.
WriteLine
($"{row.Group}, {row.Features}");
Dynamic\DataOperations\DataViewEnumerable.cs (4)
40
Console.
WriteLine
($"Date\tTemperature");
42
Console.
WriteLine
(
53
Console.
WriteLine
($"Date\tTemperature\tLatitude");
55
Console.
WriteLine
($"{row.Date.ToString("d")}\t{row.Temperature}"
Dynamic\DataOperations\FilterRowsByColumn.cs (4)
23
Console.
WriteLine
($"Date\tTemperature");
26
Console.
WriteLine
(
56
Console.
WriteLine
($"Date\tTemperature");
59
Console.
WriteLine
(
Dynamic\DataOperations\FilterRowsByCustomPredicate.cs (4)
30
Console.
WriteLine
("Name");
33
Console.
WriteLine
(row.Name);
56
Console.
WriteLine
("Name");
59
Console.
WriteLine
(row.Name);
Dynamic\DataOperations\FilterRowsByKeyColumnFraction.cs (6)
43
Console.
WriteLine
($"Age");
46
Console.
WriteLine
($"{row.Age}");
76
Console.
WriteLine
($"Age");
79
Console.
WriteLine
($"{row.Age}");
105
Console.
WriteLine
($"Age");
108
Console.
WriteLine
($"{row.Age}");
Dynamic\DataOperations\FilterRowsByMissingValues.cs (2)
43
Console.
WriteLine
($"Feature1 Feature2");
47
Console.
WriteLine
($"{row.Feature1}" +
Dynamic\DataOperations\FilterRowsByStatefulCustomPredicate.cs (4)
30
Console.
WriteLine
("Name");
33
Console.
WriteLine
(row.Name);
62
Console.
WriteLine
("Name");
65
Console.
WriteLine
(row.Name);
Dynamic\DataOperations\LoadFromEnumerable.cs (3)
42
Console.
WriteLine
($"Is the size of the Features column known: " +
66
Console.
WriteLine
($"Is the size of the Features column known: " +
86
Console.
WriteLine
($"Is the size of the Features column known: " +
Dynamic\DataOperations\LoadingSvmLight.cs (2)
85
Console.
WriteLine
($"Column {col.Name} type {col.Type}");
107
Console.
WriteLine
($"{label} {weight} {string.Join(' ', features.DenseValues())}");
Dynamic\DataOperations\LoadingText.cs (1)
104
Console.
WriteLine
(featuresColumn.Value.ToString());
Dynamic\DataOperations\SaveAndLoadFromBinary.cs (1)
45
Console.
WriteLine
($"{row.Label}, {row.Features}");
Dynamic\DataOperations\SaveAndLoadFromText.cs (1)
45
Console.
WriteLine
($"{row.Label}, {row.Features}");
Dynamic\DataOperations\ShuffleRows.cs (4)
23
Console.
WriteLine
($"Date\tTemperature");
26
Console.
WriteLine
($"{row.Date.ToString("d")}" +
47
Console.
WriteLine
($"Date\tTemperature");
50
Console.
WriteLine
($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\SkipRows.cs (4)
22
Console.
WriteLine
($"Date\tTemperature");
25
Console.
WriteLine
($"{row.Date.ToString("d")}" +
51
Console.
WriteLine
($"Date\tTemperature");
54
Console.
WriteLine
($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\TakeRows.cs (4)
23
Console.
WriteLine
($"Date\tTemperature");
26
Console.
WriteLine
($"{row.Date.ToString("d")}" +
52
Console.
WriteLine
($"Date\tTemperature");
55
Console.
WriteLine
($"{row.Date.ToString("d")}" +
Dynamic\DataOperations\TrainTestSplit.cs (4)
114
Console.
WriteLine
($"The data in the Train split.");
116
Console.
WriteLine
($"{row.Group}, {row.Features}");
118
Console.
WriteLine
($"\nThe data in the Test split.");
120
Console.
WriteLine
($"{row.Group}, {row.Features}");
Dynamic\NgramExtraction.cs (3)
71
Console.
WriteLine
(
79
Console.
WriteLine
("");
82
Console.
WriteLine
(
Dynamic\SimpleDataViewImplementation.cs (1)
63
Console.
WriteLine
(
Dynamic\TensorFlow\ImageClassification.cs (2)
62
Console.
WriteLine
(
65
Console.
WriteLine
(new string('-', 10));
Dynamic\TextTransform.cs (3)
80
Console.
WriteLine
(
87
Console.
WriteLine
("");
90
Console.
WriteLine
(
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (9)
59
Console.
WriteLine
($"Label: {p.Label}, "
139
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
140
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
141
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
142
Console.
WriteLine
($"Negative Precision: " +
145
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
146
Console.
WriteLine
($"Positive Precision: " +
149
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
150
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (9)
56
Console.
WriteLine
($"Label: {p.Label}, "
136
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
137
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
138
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
139
Console.
WriteLine
($"Negative Precision: " +
142
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
143
Console.
WriteLine
($"Positive Precision: " +
146
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
147
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastForest.cs (9)
51
Console.
WriteLine
($"Label: {p.Label}, "
131
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
132
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
133
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
134
Console.
WriteLine
($"Negative Precision: " +
137
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
138
Console.
WriteLine
($"Positive Precision: " +
141
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
142
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (9)
63
Console.
WriteLine
($"Label: {p.Label}, "
143
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
144
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
145
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
146
Console.
WriteLine
($"Negative Precision: " +
149
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
150
Console.
WriteLine
($"Positive Precision: " +
153
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
154
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastTree.cs (9)
51
Console.
WriteLine
($"Label: {p.Label}, "
134
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
135
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
136
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
137
Console.
WriteLine
($"Negative Precision: " +
140
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
141
Console.
WriteLine
($"Positive Precision: " +
144
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
145
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (9)
63
Console.
WriteLine
($"Label: {p.Label}, "
146
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
147
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
148
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
149
Console.
WriteLine
($"Negative Precision: " +
152
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
153
Console.
WriteLine
($"Positive Precision: " +
156
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
157
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (11)
87
Console.
WriteLine
($"Actual label: {dataPoint.Label}, "
195
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
196
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
197
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
198
Console.
WriteLine
($"Negative Precision: " +
201
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
202
Console.
WriteLine
($"Positive Precision: " +
205
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}");
206
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
207
Console.
WriteLine
($"Log Loss Reduction: {metrics.LogLossReduction:F2}");
208
Console.
WriteLine
($"Entropy: {metrics.Entropy:F2}");
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (11)
98
Console.
WriteLine
($"Actual label: {dataPoint.Label}, "
206
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
207
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
208
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
209
Console.
WriteLine
($"Negative Precision: " +
212
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
213
Console.
WriteLine
($"Positive Precision: " +
216
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}");
217
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
218
Console.
WriteLine
($"Log Loss Reduction: {metrics.LogLossReduction:F2}");
219
Console.
WriteLine
($"Entropy: {metrics.Entropy:F2}");
Dynamic\Trainers\BinaryClassification\Gam.cs (3)
54
Console.
WriteLine
($"Average prediction: {gam.Bias:0.00}");
76
Console.
WriteLine
($"Feature{i}");
78
Console.
WriteLine
(
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (3)
62
Console.
WriteLine
($"Average prediction: {gam.Bias:0.00}");
84
Console.
WriteLine
($"Feature{i}");
86
Console.
WriteLine
(
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
131
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
132
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
133
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
134
Console.
WriteLine
($"Negative Precision: " +
137
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
138
Console.
WriteLine
($"Positive Precision: " +
141
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
142
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (9)
57
Console.
WriteLine
($"Label: {p.Label}, "
140
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
141
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
142
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
143
Console.
WriteLine
($"Negative Precision: " +
146
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
147
Console.
WriteLine
($"Positive Precision: " +
150
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
151
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LdSvm.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (9)
57
Console.
WriteLine
($"Label: {p.Label}, "
137
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
138
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
139
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
140
Console.
WriteLine
($"Negative Precision: " +
143
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
144
Console.
WriteLine
($"Positive Precision: " +
147
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
148
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LightGbm.cs (9)
51
Console.
WriteLine
($"Label: {p.Label}, "
131
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
132
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
133
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
134
Console.
WriteLine
($"Negative Precision: " +
137
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
138
Console.
WriteLine
($"Positive Precision: " +
141
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
142
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (9)
62
Console.
WriteLine
($"Label: {p.Label}, "
142
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
143
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
144
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
145
Console.
WriteLine
($"Negative Precision: " +
148
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
149
Console.
WriteLine
($"Positive Precision: " +
152
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
153
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (9)
57
Console.
WriteLine
($"Label: {p.Label}, "
137
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
138
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
139
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
140
Console.
WriteLine
($"Negative Precision: " +
143
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
144
Console.
WriteLine
($"Positive Precision: " +
147
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
148
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportance.cs (1)
56
Console.
WriteLine
("Feature\tModel Weight\tChange in AUC"
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
55
Console.
WriteLine
("Feature\tModel Weight\tChange in AUC"
Dynamic\Trainers\BinaryClassification\PriorTrainer.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (9)
56
Console.
WriteLine
($"Label: {p.Label}, "
136
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
137
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
138
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
139
Console.
WriteLine
($"Negative Precision: " +
142
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
143
Console.
WriteLine
($"Positive Precision: " +
146
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
147
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (9)
68
Console.
WriteLine
($"Label: {p.Label}, "
148
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
149
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
150
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
151
Console.
WriteLine
($"Negative Precision: " +
154
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
155
Console.
WriteLine
($"Positive Precision: " +
158
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
159
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (9)
56
Console.
WriteLine
($"Label: {p.Label}, "
135
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
136
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
137
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
138
Console.
WriteLine
($"Negative Precision: " +
141
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
142
Console.
WriteLine
($"Positive Precision: " +
145
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
146
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (9)
70
Console.
WriteLine
($"Label: {p.Label}, "
150
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
151
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
152
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
153
Console.
WriteLine
($"Negative Precision: " +
156
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
157
Console.
WriteLine
($"Positive Precision: " +
160
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
161
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (9)
60
Console.
WriteLine
($"Label: {p.Label}, "
140
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
141
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
142
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
143
Console.
WriteLine
($"Negative Precision: " +
146
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
147
Console.
WriteLine
($"Positive Precision: " +
150
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
151
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (9)
48
Console.
WriteLine
($"Label: {p.Label}, "
128
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
129
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
130
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
131
Console.
WriteLine
($"Negative Precision: " +
134
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
135
Console.
WriteLine
($"Positive Precision: " +
138
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (9)
57
Console.
WriteLine
($"Label: {p.Label}, "
137
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
138
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
139
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
140
Console.
WriteLine
($"Negative Precision: " +
143
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
144
Console.
WriteLine
($"Positive Precision: " +
147
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
148
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (9)
51
Console.
WriteLine
($"Label: {p.Label}, "
131
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
132
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
133
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
134
Console.
WriteLine
($"Negative Precision: " +
137
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
138
Console.
WriteLine
($"Positive Precision: " +
141
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
142
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (9)
60
Console.
WriteLine
($"Label: {p.Label}, "
140
Console.
WriteLine
($"Accuracy: {metrics.Accuracy:F2}");
141
Console.
WriteLine
($"AUC: {metrics.AreaUnderRocCurve:F2}");
142
Console.
WriteLine
($"F1 Score: {metrics.F1Score:F2}");
143
Console.
WriteLine
($"Negative Precision: " +
146
Console.
WriteLine
($"Negative Recall: {metrics.NegativeRecall:F2}");
147
Console.
WriteLine
($"Positive Precision: " +
150
Console.
WriteLine
($"Positive Recall: {metrics.PositiveRecall:F2}\n");
151
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\Clustering\KMeans.cs (7)
48
Console.
WriteLine
(
52
Console.
WriteLine
(
79
Console.
WriteLine
(
83
Console.
WriteLine
(
138
Console.
WriteLine
($"Normalized Mutual Information: " +
141
Console.
WriteLine
($"Average Distance: " +
144
Console.
WriteLine
($"Davies Bouldin Index: " +
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (7)
56
Console.
WriteLine
(
60
Console.
WriteLine
(
87
Console.
WriteLine
(
91
Console.
WriteLine
(
146
Console.
WriteLine
($"Normalized Mutual Information: " +
149
Console.
WriteLine
($"Average Distance: " +
152
Console.
WriteLine
($"Davies Bouldin Index: " +
Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (16)
72
Console.
WriteLine
("*** Training the image classification model " +
88
Console.
WriteLine
("Training with transfer learning finished.");
111
Console.
WriteLine
("Prediction on a single image finished.");
113
Console.
WriteLine
("Press any key to finish");
121
Console.
WriteLine
(e.Message);
147
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
155
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
162
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
165
Console.
WriteLine
("Predicting and Evaluation complete.");
266
Console.
WriteLine
($"{relativeFilePath} already exists.");
270
Console.
WriteLine
($"Downloading {relativeFilePath}");
282
Console.
WriteLine
("");
283
Console.
WriteLine
($"Downloaded {relativeFilePath}");
298
Console.
WriteLine
($"Extracting.");
302
Console.
WriteLine
("");
303
Console.
WriteLine
("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (15)
109
Console.
WriteLine
("*** Training the image classification model " +
123
Console.
WriteLine
("Training with transfer learning finished.");
145
Console.
WriteLine
("Prediction on a single image finished.");
147
Console.
WriteLine
("Press any key to finish");
173
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
181
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
188
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
191
Console.
WriteLine
("Predicting and Evaluation complete.");
298
Console.
WriteLine
($"{relativeFilePath} already exists.");
302
Console.
WriteLine
($"Downloading {relativeFilePath}");
314
Console.
WriteLine
("");
315
Console.
WriteLine
($"Downloaded {relativeFilePath}");
330
Console.
WriteLine
($"Extracting.");
343
Console.
WriteLine
("");
344
Console.
WriteLine
("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (15)
96
Console.
WriteLine
("*** Training the image classification model " +
113
Console.
WriteLine
("Training with transfer learning finished.");
140
Console.
WriteLine
("Prediction on a single image finished.");
142
Console.
WriteLine
("Press any key to finish");
169
Console.
WriteLine
($"ImageFile : " +
179
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
186
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
189
Console.
WriteLine
("Predicting and Evaluation complete.");
254
Console.
WriteLine
($"{relativeFilePath} already exists.");
258
Console.
WriteLine
($"Downloading {relativeFilePath}");
270
Console.
WriteLine
("");
271
Console.
WriteLine
($"Downloaded {relativeFilePath}");
286
Console.
WriteLine
($"Extracting.");
299
Console.
WriteLine
("");
300
Console.
WriteLine
("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (15)
89
Console.
WriteLine
("*** Training the image classification model " +
105
Console.
WriteLine
("Training with transfer learning finished.");
128
Console.
WriteLine
("Prediction on a single image finished.");
130
Console.
WriteLine
("Press any key to finish");
156
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
164
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
171
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
174
Console.
WriteLine
("Predicting and Evaluation complete.");
275
Console.
WriteLine
($"{relativeFilePath} already exists.");
279
Console.
WriteLine
($"Downloading {relativeFilePath}");
291
Console.
WriteLine
("");
292
Console.
WriteLine
($"Downloaded {relativeFilePath}");
307
Console.
WriteLine
($"Extracting.");
320
Console.
WriteLine
("");
321
Console.
WriteLine
("Extracting is completed.");
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropy.cs (6)
53
Console.
WriteLine
($"Label: {p.Label}, " +
132
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
133
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
134
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
135
Console.
WriteLine
(
138
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropyWithOptions.cs (6)
61
Console.
WriteLine
($"Label: {p.Label}, " +
140
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
141
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
142
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
143
Console.
WriteLine
(
146
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LightGbm.cs (6)
56
Console.
WriteLine
($"Label: {p.Label}, " +
135
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
136
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
137
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
138
Console.
WriteLine
(
141
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (6)
66
Console.
WriteLine
($"Label: {p.Label}, " +
145
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
146
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
147
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
148
Console.
WriteLine
(
151
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LogLossPerClass.cs (1)
55
Console.
WriteLine
($"LogLoss for label " +
Dynamic\Trainers\MulticlassClassification\NaiveBayes.cs (6)
59
Console.
WriteLine
($"Label: {p.Label}, " +
140
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
141
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
142
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
143
Console.
WriteLine
(
146
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (6)
54
Console.
WriteLine
($"Label: {p.Label}, " +
133
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
134
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
135
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
136
Console.
WriteLine
(
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (6)
54
Console.
WriteLine
($"Label: {p.Label}, " +
133
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
134
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
135
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
136
Console.
WriteLine
(
139
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportance.cs (1)
58
Console.
WriteLine
("Feature\tChange in MicroAccuracy\t95% Confidence in "
Dynamic\Trainers\MulticlassClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
66
Console.
WriteLine
("Feature\tChange in MicroAccuracy\t95% Confidence in "
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropy.cs (6)
61
Console.
WriteLine
($"Label: {p.Label}, " +
139
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
140
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
141
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
142
Console.
WriteLine
(
145
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (6)
70
Console.
WriteLine
($"Label: {p.Label}, " +
149
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
150
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
151
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
152
Console.
WriteLine
(
155
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibrated.cs (6)
61
Console.
WriteLine
($"Label: {p.Label}, " +
140
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
141
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
142
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
143
Console.
WriteLine
(
146
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibratedWithOptions.cs (6)
70
Console.
WriteLine
($"Label: {p.Label}, " +
149
Console.
WriteLine
($"Micro Accuracy: {metrics.MicroAccuracy:F2}");
150
Console.
WriteLine
($"Macro Accuracy: {metrics.MacroAccuracy:F2}");
151
Console.
WriteLine
($"Log Loss: {metrics.LogLoss:F2}");
152
Console.
WriteLine
(
155
Console.
WriteLine
(metrics.ConfusionMatrix.GetFormattedConfusionTable());
Dynamic\Trainers\Ranking\FastTree.cs (3)
53
Console.
WriteLine
($"Label: {p.Label}, Score: {p.Score}");
116
Console.
WriteLine
("DCG: " + string.Join(", ",
120
Console.
WriteLine
("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\FastTreeWithOptions.cs (3)
67
Console.
WriteLine
($"Label: {p.Label}, Score: {p.Score}");
130
Console.
WriteLine
("DCG: " + string.Join(", ",
133
Console.
WriteLine
("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\LightGbm.cs (3)
53
Console.
WriteLine
($"Label: {p.Label}, Score: {p.Score}");
116
Console.
WriteLine
("DCG: " + string.Join(", ",
119
Console.
WriteLine
("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\LightGbmWithOptions.cs (3)
68
Console.
WriteLine
($"Label: {p.Label}, Score: {p.Score}");
131
Console.
WriteLine
("DCG: " + string.Join(", ",
134
Console.
WriteLine
("NDCG: " + string.Join(", ",
Dynamic\Trainers\Ranking\PermutationFeatureImportance.cs (1)
61
Console.
WriteLine
("Feature\tChange in NDCG@1\t95% Confidence in the" +
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (1)
68
Console.
WriteLine
("Feature\tChange in NDCG@1\t95% Confidence in the" +
Dynamic\Trainers\Recommendation\MatrixFactorization.cs (5)
53
Console.
WriteLine
($"Actual value: {p.Value:F3}," +
127
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
128
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
129
Console.
WriteLine
("Root Mean Squared Error: " +
132
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Recommendation\MatrixFactorizationWithOptions.cs (5)
77
Console.
WriteLine
($"Actual value: {p.Value:F3}," +
151
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
152
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
153
Console.
WriteLine
("Root Mean Squared Error: " +
156
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (3)
82
Console.
WriteLine
($"Predicted value at row " +
116
Console.
WriteLine
("Top 2 predictions on the 1st row:");
118
Console.
WriteLine
($"Predicted value at row " +
Dynamic\Trainers\Regression\FastForest.cs (5)
52
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
110
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
111
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
112
Console.
WriteLine
(
115
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastForestWithOptions.cs (5)
65
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
123
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
124
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
125
Console.
WriteLine
(
128
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTree.cs (5)
52
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
110
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
111
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
112
Console.
WriteLine
(
115
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTreeTweedie.cs (5)
52
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
110
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
111
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
112
Console.
WriteLine
(
115
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTreeTweedieWithOptions.cs (5)
67
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
125
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
126
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
127
Console.
WriteLine
(
130
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\FastTreeWithOptions.cs (5)
68
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
126
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
127
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
128
Console.
WriteLine
(
131
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\Gam.cs (5)
52
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
110
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
111
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
112
Console.
WriteLine
(
115
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\GamAdvanced.cs (3)
54
Console.
WriteLine
($"Average prediction: {gam.Bias:0.00}");
76
Console.
WriteLine
($"Feature{i}");
78
Console.
WriteLine
(
Dynamic\Trainers\Regression\GamWithOptions.cs (5)
63
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
121
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
122
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
123
Console.
WriteLine
(
126
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\GamWithOptionsAdvanced.cs (3)
62
Console.
WriteLine
($"Average prediction: {gam.Bias:0.00}");
84
Console.
WriteLine
($"Feature{i}");
86
Console.
WriteLine
(
Dynamic\Trainers\Regression\LbfgsPoissonRegression.cs (5)
50
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
108
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
109
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
110
Console.
WriteLine
(
113
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LbfgsPoissonRegressionWithOptions.cs (5)
64
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
122
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
123
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
124
Console.
WriteLine
(
127
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbm.cs (5)
53
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
111
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
112
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
113
Console.
WriteLine
(
116
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbmAdvanced.cs (6)
55
Console.
WriteLine
($"weight 0 - {weightsValues[0]}");
57
Console.
WriteLine
($"weight 5 - {weightsValues[5]}");
77
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
78
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
79
Console.
WriteLine
(
82
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (5)
72
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
130
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
131
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
132
Console.
WriteLine
(
135
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (6)
64
Console.
WriteLine
($"weight 0 - {weightsValues[0]}");
66
Console.
WriteLine
($"weight 5 - {weightsValues[5]}");
86
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
87
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
88
Console.
WriteLine
(
91
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OnlineGradientDescent.cs (5)
49
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
99
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
100
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
101
Console.
WriteLine
(
104
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (5)
64
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
115
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
116
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
117
Console.
WriteLine
(
120
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquares.cs (5)
49
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
107
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
108
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
109
Console.
WriteLine
(
112
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (6)
59
Console.
WriteLine
($"weight 0 - {weightsValues[0]}");
61
Console.
WriteLine
($"weight 3 - {weightsValues[3]}");
78
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
79
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
80
Console.
WriteLine
(
83
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptions.cs (5)
61
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
119
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
120
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
121
Console.
WriteLine
(
124
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (6)
63
Console.
WriteLine
($"weight 0 - {weightsValues[0]}");
65
Console.
WriteLine
($"weight 3 - {weightsValues[3]}");
82
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
83
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
84
Console.
WriteLine
(
87
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\PermutationFeatureImportance.cs (1)
63
Console.
WriteLine
("Feature\tModel Weight\tChange in RMSE\t95%" +
Dynamic\Trainers\Regression\PermutationFeatureImportanceLoadFromDisk.cs (1)
70
Console.
WriteLine
("Feature\tModel Weight\tChange in RMSE\t95%" +
Dynamic\Trainers\Regression\Sdca.cs (5)
49
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
107
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
108
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
109
Console.
WriteLine
(
112
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Trainers\Regression\SdcaWithOptions.cs (5)
65
Console.
WriteLine
($"Label: {p.Label:F3}, Prediction: {p.Score:F3}");
123
Console.
WriteLine
("Mean Absolute Error: " + metrics.MeanAbsoluteError);
124
Console.
WriteLine
("Mean Squared Error: " + metrics.MeanSquaredError);
125
Console.
WriteLine
(
128
Console.
WriteLine
("RSquared: " + metrics.RSquared);
Dynamic\Transforms\ApplyOnnxModel.cs (2)
41
Console.
WriteLine
("Class #" + numClasses++ + " score = " +
44
Console.
WriteLine
(new string('-', 10));
Dynamic\Transforms\ApplyONNXModelWithInMemoryImages.cs (2)
67
Console.
WriteLine
("The probability of being the first class is " +
70
Console.
WriteLine
($"The probability of being the last class is " +
Dynamic\Transforms\ApproximatedKernelMap.cs (1)
43
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\CalculateFeatureContribution.cs (5)
41
Console.
WriteLine
($"Linear Model Parameters");
42
Console.
WriteLine
("Bias: " + linearModel.Model.Bias + " Feature1: " +
72
Console.
WriteLine
("Label: " + prediction.Label + " Prediction: " +
75
Console.
WriteLine
("Feature1: " + prediction.Features[0] +
78
Console.
WriteLine
("Feature Contributions: " + prediction
Dynamic\Transforms\CalculateFeatureContributionCalibrated.cs (4)
42
Console.
WriteLine
($"Linear Model Parameters");
74
Console.
WriteLine
("Label: " + prediction.Label + " Prediction-Score: " +
78
Console.
WriteLine
("Feature1: " + prediction.Features[0] + " Feature2: "
81
Console.
WriteLine
("Feature Contributions: " + prediction
Dynamic\Transforms\Categorical\OneHotEncoding.cs (1)
58
Console.
WriteLine
(
Dynamic\Transforms\Categorical\OneHotEncodingMultiColumn.cs (1)
45
Console.
WriteLine
(
Dynamic\Transforms\Categorical\OneHotHashEncoding.cs (1)
58
Console.
WriteLine
(
Dynamic\Transforms\Categorical\OneHotHashEncodingMultiColumn.cs (1)
46
Console.
WriteLine
(
Dynamic\Transforms\Concatenate.cs (2)
64
Console.
WriteLine
($"Features column obtained post-transformation.");
66
Console.
WriteLine
(string.Join(" ", featureRow.Features));
Dynamic\Transforms\Conversion\ConvertTypeMultiColumn.cs (2)
61
Console.
WriteLine
("Converted1\t Converted2\t Converted3\t Converted4");
63
Console.
WriteLine
($"\t{item.Converted1}\t {item.Converted2}\t\t " +
Dynamic\Transforms\Conversion\Hash.cs (3)
57
Console.
WriteLine
("Category CategoryHashed\t Age\t AgeHashed");
59
Console.
WriteLine
($"{item.Category}\t {item.CategoryHashed}\t\t " +
87
Console.
WriteLine
($"The original value of the {indices[i]} " +
Dynamic\Transforms\Conversion\HashWithOptions.cs (3)
71
Console.
WriteLine
("Category CategoryHashed\t Age\t AgeHashed");
73
Console.
WriteLine
($"{item.Category}\t {item.CategoryHashed}\t\t " +
101
Console.
WriteLine
($"The original value of the {indices[i]} " +
Dynamic\Transforms\Conversion\KeyToValueToKey.cs (5)
64
Console.
WriteLine
($"Keys");
66
Console.
WriteLine
($"{string.Join(',', dataRow.Keys)}");
74
Console.
WriteLine
($"Keys");
76
Console.
WriteLine
($"{string.Join(',', dataRow.Keys)}");
99
Console.
WriteLine
("");
Dynamic\Transforms\Conversion\MapKeyToBinaryVector.cs (2)
46
Console.
WriteLine
($" Timeframe TimeframeVector");
48
Console.
WriteLine
($"{featureRow.Timeframe}\t\t\t" +
Dynamic\Transforms\Conversion\MapKeyToValueMultiColumn.cs (2)
63
Console.
WriteLine
($"Label LabelOriginalValue PredictedLabel " +
67
Console.
WriteLine
($"{row.Label}\t\t{row.LabelOriginalValue}\t\t\t" +
Dynamic\Transforms\Conversion\MapKeyToVector.cs (2)
59
Console.
WriteLine
("Timeframe TimeframeVector PartsCount " +
63
Console.
WriteLine
(featureRow.Timeframe + " " +
Dynamic\Transforms\Conversion\MapKeyToVectorMultiColumn.cs (2)
47
Console.
WriteLine
($" Timeframe TimeframeVector " +
51
Console.
WriteLine
(featureRow.Timeframe + " " +
Dynamic\Transforms\Conversion\MapValue.cs (2)
74
Console.
WriteLine
(" Timeframe TimeframeCategory Label Score " +
78
Console.
WriteLine
($"{featureRow.Timeframe}\t\t" +
Dynamic\Transforms\Conversion\MapValueIdvLookup.cs (2)
57
Console.
WriteLine
($" Price PriceCategory");
59
Console.
WriteLine
($"{featureRow.Price}\t\t" +
Dynamic\Transforms\Conversion\MapValueToArray.cs (2)
55
Console.
WriteLine
($"Timeframe Features");
57
Console.
WriteLine
($"{featureRow.Timeframe}\t\t " +
Dynamic\Transforms\Conversion\MapValueToKeyMultiColumn.cs (4)
45
Console.
WriteLine
($" StudyTime StudyTimeCategory Course " +
49
Console.
WriteLine
($"{featureRow.StudyTime}\t\t" +
96
Console.
WriteLine
($" StudyTime StudyTimeCategory " +
100
Console.
WriteLine
($"{featureRow.StudyTime}\t\t" +
Dynamic\Transforms\CopyColumns.cs (2)
61
Console.
WriteLine
($"Label and ImageId columns obtained " +
65
Console.
WriteLine
($"Label: {row.Label} ImageId: {row.ImageId}");
Dynamic\Transforms\CustomMapping.cs (2)
50
Console.
WriteLine
("Age\t IsUnderThirty");
52
Console.
WriteLine
($"{row.Age}\t {row.IsUnderThirty}");
Dynamic\Transforms\CustomMappingSaveAndLoad.cs (2)
66
Console.
WriteLine
("Age\tIsUnderThirty");
68
Console.
WriteLine
($"{row.Age}\t {row.IsUnderThirty}");
Dynamic\Transforms\CustomMappingWithInMemoryCustomType.cs (1)
40
Console.
WriteLine
("We got a super alien with name " + firstAlien.Name +
Dynamic\Transforms\DropColumns.cs (3)
61
Console.
WriteLine
($"ExtraColumn is not available, so an exception" +
74
Console.
WriteLine
($"The columns we didn't drop are still available.");
76
Console.
WriteLine
($"Age: {row.Age} Gender: {row.Gender} " +
Dynamic\Transforms\Expression.cs (1)
51
Console.
WriteLine
($"Features column obtained post-transformation.");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCount.cs (2)
20
Console.
WriteLine
($"NumericVector StringVector");
50
Console.
WriteLine
($"NumericVector StringVector");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (2)
20
Console.
WriteLine
($"NumericVector StringVector");
50
Console.
WriteLine
($"NumericVector StringVector");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformation.cs (2)
20
Console.
WriteLine
($"Label NumericVector");
48
Console.
WriteLine
($"NumericVector");
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformationMultiColumn.cs (2)
20
Console.
WriteLine
($"NumericVectorA NumericVectorB");
51
Console.
WriteLine
($"NumericVectorA NumericVectorB");
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScaleInMemory.cs (1)
65
Console.
WriteLine
($"The original pixel is {pixelString} and its pixel in gray is {grayPixelString}");
Dynamic\Transforms\IndicateMissingValues.cs (1)
46
Console.
WriteLine
("Features: [" + string.Join(", ", row.Features) +
Dynamic\Transforms\IndicateMissingValuesMultiColumn.cs (1)
54
Console.
WriteLine
("Features1: [" + string.Join(", ", row
Dynamic\Transforms\NormalizeBinning.cs (8)
51
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
63
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
82
Console.
WriteLine
($"The 0-index value in resulting array would be " +
85
Console.
WriteLine
("Where Index(x) is the index of the bin to which " +
88
Console.
WriteLine
("Bins upper bounds are: " + string.Join(" ",
103
Console.
WriteLine
($"The 0-index value in resulting array would be " +
106
Console.
WriteLine
("Where Index(x) is the index of the bin to which x " +
109
Console.
WriteLine
("Bins upper bounds are: " + string.Join(" ",
Dynamic\Transforms\NormalizeBinningMulticolumn.cs (1)
52
Console.
WriteLine
(string.Join(", ", column[i].Select(x => x
Dynamic\Transforms\NormalizeGlobalContrast.cs (1)
38
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeLogMeanVariance.cs (5)
49
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
59
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
74
Console.
WriteLine
("The 1-index value in resulting array would be " +
77
Console.
WriteLine
("y = 0.5* (1 + ERF((Math.Log(x)- " + transformParams
89
Console.
WriteLine
($"The 1-index value in resulting array would be " +
Dynamic\Transforms\NormalizeLogMeanVarianceFixZero.cs (5)
42
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString("f4"))));
51
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString("f4"))));
61
Console.
WriteLine
("The values in the column with index 1 in the resulting array would be produced by:");
62
Console.
WriteLine
($"y = 0.5* (1 + ERF((Math.Log(x)- {transformParams.Mean[1]}) / ({transformParams.StandardDeviation[1]} * sqrt(2)))");
71
Console.
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)
39
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeMeanVariance.cs (5)
48
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
59
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
75
Console.
WriteLine
($"The 1-index value in resulting array would " +
78
Console.
WriteLine
(" y = 0.5* (1 + ERF((x- " + transformParams.Mean[1] +
91
Console.
WriteLine
($"Values for slot 1 would be transformed by " +
Dynamic\Transforms\NormalizeMinMax.cs (4)
47
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
59
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
74
Console.
WriteLine
($"The 1-index value in resulting array would be " +
77
Console.
WriteLine
(" y = (x - (" + (transformParams.Offset.Length == 0 ?
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (6)
73
Console.
WriteLine
(string.Join(", ", column[i].Select(x => x
87
Console.
WriteLine
(Environment.NewLine);
90
Console.
WriteLine
(string.Join(", ", columnFixZero[i].Select(x => x
109
Console.
WriteLine
(Environment.NewLine);
111
Console.
WriteLine
($"The 1-index value in resulting array would be " +
114
Console.
WriteLine
(" y = (x - (" + (transformParams.Offset.Length == 0 ?
Dynamic\Transforms\NormalizeSupervisedBinning.cs (10)
65
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
78
Console.
WriteLine
(string.Join(", ", row.Select(x => x.ToString(
95
Console.
WriteLine
($"The 1-index value in resulting array would be " +
98
Console.
WriteLine
("y = (Index(x) / " + transformParams.Density[0] +
102
Console.
WriteLine
("Where Index(x) is the index of the bin to which " +
105
Console.
WriteLine
("Bins upper borders are: " + string.Join(" ",
117
Console.
WriteLine
($"The 1-index value in resulting array would be " +
120
Console.
WriteLine
(" y = (Index(x) / " + fixZeroParams.Density[1] +
124
Console.
WriteLine
("Where Index(x) is the index of the bin to which x " +
127
Console.
WriteLine
("Bins upper borders are: " + string.Join(" ",
Dynamic\Transforms\Projection\VectorWhiten.cs (2)
39
Console.
WriteLine
($"{colName} column obtained " +
43
Console.
WriteLine
(string.Join(" ", row.DenseValues().Select(x =>
Dynamic\Transforms\Projection\VectorWhitenWithOptions.cs (2)
38
Console.
WriteLine
($"{colName} column obtained" +
42
Console.
WriteLine
(string.Join(" ", row.DenseValues().Select(x =>
Dynamic\Transforms\ReplaceMissingValues.cs (2)
51
Console.
WriteLine
("Features: [" + string.Join(", ", row.Features) +
81
Console.
WriteLine
("Features: [" + string.Join(", ", row.Features) +
Dynamic\Transforms\ReplaceMissingValuesMultiColumn.cs (2)
57
Console.
WriteLine
("Features1: [" + string.Join(", ", row
92
Console.
WriteLine
("Features1: [" + string.Join(", ", row
Dynamic\Transforms\SelectColumns.cs (3)
50
Console.
WriteLine
($"There are {transformedData.Schema.Count} columns" +
63
Console.
WriteLine
($"Age and Educations columns obtained " +
67
Console.
WriteLine
($"Age: {row.Age} Education: {row.Education}");
Dynamic\Transforms\StatefulCustomMapping.cs (2)
64
Console.
WriteLine
("Sign\t SignedFibonacci");
66
Console.
WriteLine
($"{row.Sign}\t {row.SignedFibonacci}");
Dynamic\Transforms\Text\ApplyCustomWordEmbedding.cs (1)
70
Console.
WriteLine
($"Number of Features: {prediction.Features.Length}");
Dynamic\Transforms\Text\ApplyWordEmbedding.cs (1)
60
Console.
WriteLine
($"Number of Features: {prediction.Features.Length}");
Dynamic\Transforms\Text\FeaturizeText.cs (1)
68
Console.
WriteLine
($"Number of Features: {prediction.Features.Length}");
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (2)
86
Console.
WriteLine
($"Number of Features: {prediction.Features.Length}");
93
Console.
WriteLine
("\nTokens: " + string.Join(",", prediction
Dynamic\Transforms\Text\NormalizeText.cs (1)
51
Console.
WriteLine
($"Normalized Text: {prediction.NormalizedText}");
Dynamic\Transforms\Text\ProduceHashedNgrams.cs (1)
68
Console.
WriteLine
("Number of Features: " + prediction.NgramFeatures
Dynamic\Transforms\Text\ProduceHashedWordBags.cs (1)
67
Console.
WriteLine
("Number of Features: " + prediction.BagOfWordFeatures
Dynamic\Transforms\Text\ProduceNgrams.cs (1)
76
Console.
WriteLine
("Number of Features: " + prediction.NgramFeatures
Dynamic\Transforms\Text\ProduceWordBags.cs (1)
73
Console.
WriteLine
("Number of Features: " + prediction.BagOfWordFeatures
Dynamic\Transforms\Text\RemoveDefaultStopWords.cs (2)
55
Console.
WriteLine
("Number of words: " + prediction.WordsWithoutStopWords
59
Console.
WriteLine
("\nWords without stop words: " + string.Join(",",
Dynamic\Transforms\Text\RemoveStopWords.cs (2)
54
Console.
WriteLine
("Number of words: " + prediction.WordsWithoutStopWords
58
Console.
WriteLine
("\nWords without stop words: " + string.Join(",",
Dynamic\Transforms\Text\TokenizeIntoCharactersAsKeys.cs (2)
53
Console.
WriteLine
($"Number of tokens: {prediction.CharTokens.Length}");
56
Console.
WriteLine
("\nCharacter Tokens: " + string.Join(",", prediction
Dynamic\Transforms\Text\TokenizeIntoWords.cs (2)
51
Console.
WriteLine
($"Number of words: {prediction.Words.Length}");
54
Console.
WriteLine
($"\nWords: {string.Join(",", prediction.Words)}");
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnn.cs (2)
49
Console.
WriteLine
($"{outputColumnName} column obtained post-" +
52
Console.
WriteLine
("Data\tAlert\tScore\tMag");
Dynamic\Transforms\TimeSeries\DetectAnomalyBySrCnnBatchPrediction.cs (2)
46
Console.
WriteLine
($"{outputColumnName} column obtained post-" +
49
Console.
WriteLine
("Data\tAlert\tScore\tMag");
Dynamic\Transforms\TimeSeries\DetectChangePointBySsa.cs (2)
69
Console.
WriteLine
($"Output from ChangePoint predictions on new data:");
70
Console.
WriteLine
("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaBatchPrediction.cs (2)
70
Console.
WriteLine
(outputColumnName + " column obtained " +
73
Console.
WriteLine
("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectChangePointBySsaStream.cs (2)
69
Console.
WriteLine
($"Output from ChangePoint predictions on new data:");
70
Console.
WriteLine
("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectEntireAnomalyBySrCnn.cs (1)
46
Console.
WriteLine
("Index\tData\tAnomaly\tAnomalyScore\tMag\tExpectedValue\tBoundaryUnit\tUpperBoundary\tLowerBoundary");
Dynamic\Transforms\TimeSeries\DetectIidChangePoint.cs (2)
64
Console.
WriteLine
($"{outputColumnName} column obtained " +
67
Console.
WriteLine
("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectIidChangePointBatchPrediction.cs (2)
64
Console.
WriteLine
($"{outputColumnName} column obtained " +
67
Console.
WriteLine
("Data\tAlert\tScore\tP-Value\tMartingale value");
Dynamic\Transforms\TimeSeries\DetectIidSpike.cs (2)
56
Console.
WriteLine
($"{outputColumnName} column obtained " +
59
Console.
WriteLine
("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\DetectIidSpikeBatchPrediction.cs (2)
55
Console.
WriteLine
($"{outputColumnName} column obtained " +
58
Console.
WriteLine
("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\DetectSeasonality.cs (1)
37
Console.
WriteLine
($"Seasonality Period: #{period}");
Dynamic\Transforms\TimeSeries\DetectSpikeBySsa.cs (2)
65
Console.
WriteLine
($"Output from spike predictions on new data:");
66
Console.
WriteLine
("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\DetectSpikeBySsaBatchPrediction.cs (2)
72
Console.
WriteLine
($"{outputColumnName} column obtained " +
75
Console.
WriteLine
("Data\tAlert\tScore\tP-Value");
Dynamic\Transforms\TimeSeries\Forecasting.cs (1)
61
Console.
WriteLine
($"Forecasted values:");
Dynamic\Transforms\TimeSeries\ForecastingWithConfidenceInterval.cs (2)
112
Console.
WriteLine
($"Forecasted values:");
114
Console.
WriteLine
($"Confidence intervals:");
Dynamic\Transforms\TimeSeries\LocalizeRootCause.cs (2)
30
Console.
WriteLine
($"Root cause item #{count} ...");
31
Console.
WriteLine
($"Score: {item.Score}, Path: {String.Join(" ", item.Path)}, Direction: {item.Direction}, Dimension:{String.Join(" ", item.Dimension)}");
Dynamic\Transforms\TimeSeries\LocalizeRootCauseMultidimension.cs (2)
33
Console.
WriteLine
($"Prepared cause #{count} ...");
34
Console.
WriteLine
($"Score: {item.Score}, Path: {String.Join(" ", item.Path)}, Direction: {item.Direction}, Dimension:{String.Join(" ", item.Dimension)}");
Dynamic\Transforms\TreeFeaturization\FastForestBinaryFeaturizationWithOptions.cs (4)
90
Console.
WriteLine
("The original feature vector [" + String.Join(
94
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
97
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
100
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastForestRegressionFeaturizationWithOptions.cs (4)
91
Console.
WriteLine
("The original feature vector [" + String.Join(",",
95
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
98
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
101
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (4)
92
Console.
WriteLine
("The original feature vector [" + String.Join(
96
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
99
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
102
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeRankingFeaturizationWithOptions.cs (4)
88
Console.
WriteLine
("The original feature vector [" + String.Join(",",
92
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
95
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
98
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeRegressionFeaturizationWithOptions.cs (4)
91
Console.
WriteLine
("The original feature vector [" + String.Join(",",
95
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
98
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
101
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\FastTreeTweedieFeaturizationWithOptions.cs (4)
91
Console.
WriteLine
("The original feature vector [" + String.Join(",",
95
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
98
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
101
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (4)
81
Console.
WriteLine
("The original feature vector [" + String.Join(
85
Console.
WriteLine
(" Trees' output values: [" + String.Join(",",
88
Console.
WriteLine
(" Leave IDs' 0-1 representation: [" + String
91
Console.
WriteLine
(" Paths IDs' 0-1 representation: [" + String
Dynamic\WithOnFitDelegate.cs (1)
69
Console.
WriteLine
(
Program.cs (3)
22
Console.
WriteLine
(type.Name);
30
Console.
WriteLine
($"An error occurred while running {type.Name}: {ex.Message}");
37
Console.
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)
62
Console.
WriteLine
(
65
Console.
WriteLine
(new string('-', 10));
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ImageClassificationDefault.cs (16)
72
Console.
WriteLine
("*** Training the image classification model " +
88
Console.
WriteLine
("Training with transfer learning finished.");
111
Console.
WriteLine
("Prediction on a single image finished.");
113
Console.
WriteLine
("Press any key to finish");
121
Console.
WriteLine
(e.Message);
147
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
155
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
162
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
165
Console.
WriteLine
("Predicting and Evaluation complete.");
266
Console.
WriteLine
($"{relativeFilePath} already exists.");
270
Console.
WriteLine
($"Downloading {relativeFilePath}");
282
Console.
WriteLine
("");
283
Console.
WriteLine
($"Downloaded {relativeFilePath}");
298
Console.
WriteLine
($"Extracting.");
302
Console.
WriteLine
("");
303
Console.
WriteLine
("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (15)
109
Console.
WriteLine
("*** Training the image classification model " +
123
Console.
WriteLine
("Training with transfer learning finished.");
145
Console.
WriteLine
("Prediction on a single image finished.");
147
Console.
WriteLine
("Press any key to finish");
173
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
181
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
188
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
191
Console.
WriteLine
("Predicting and Evaluation complete.");
298
Console.
WriteLine
($"{relativeFilePath} already exists.");
302
Console.
WriteLine
($"Downloading {relativeFilePath}");
314
Console.
WriteLine
("");
315
Console.
WriteLine
($"Downloaded {relativeFilePath}");
330
Console.
WriteLine
($"Extracting.");
343
Console.
WriteLine
("");
344
Console.
WriteLine
("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (15)
96
Console.
WriteLine
("*** Training the image classification model " +
113
Console.
WriteLine
("Training with transfer learning finished.");
140
Console.
WriteLine
("Prediction on a single image finished.");
142
Console.
WriteLine
("Press any key to finish");
169
Console.
WriteLine
($"ImageFile : " +
179
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
186
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
189
Console.
WriteLine
("Predicting and Evaluation complete.");
254
Console.
WriteLine
($"{relativeFilePath} already exists.");
258
Console.
WriteLine
($"Downloading {relativeFilePath}");
270
Console.
WriteLine
("");
271
Console.
WriteLine
($"Downloaded {relativeFilePath}");
286
Console.
WriteLine
($"Extracting.");
299
Console.
WriteLine
("");
300
Console.
WriteLine
("Extracting is completed.");
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (15)
89
Console.
WriteLine
("*** Training the image classification model " +
105
Console.
WriteLine
("Training with transfer learning finished.");
128
Console.
WriteLine
("Prediction on a single image finished.");
130
Console.
WriteLine
("Press any key to finish");
156
Console.
WriteLine
($"Scores : [{string.Join(",", prediction.Score)}], " +
164
Console.
WriteLine
("Making bulk predictions and evaluating model's " +
171
Console.
WriteLine
($"Micro-accuracy: {metrics.MicroAccuracy}," +
174
Console.
WriteLine
("Predicting and Evaluation complete.");
275
Console.
WriteLine
($"{relativeFilePath} already exists.");
279
Console.
WriteLine
($"Downloading {relativeFilePath}");
291
Console.
WriteLine
("");
292
Console.
WriteLine
($"Downloaded {relativeFilePath}");
307
Console.
WriteLine
($"Extracting.");
320
Console.
WriteLine
("");
321
Console.
WriteLine
("Extracting is completed.");
Program.cs (2)
21
Console.
WriteLine
(type.Name);
27
Console.
WriteLine
("Number of samples that ran without any exception: " + samples);
Microsoft.ML.Samples.OneDal (6)
Program.cs (6)
182
Console.
WriteLine
("algorithm,all workflow time[ms],training accuracy,testing accuracy,training F1 score,testing F1 score");
183
Console.
WriteLine
($"Random Forest Binary,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
189
Console.
WriteLine
("algorithm,all workflow time[ms],training RMSE,testing RMSE,training R2 score,testing R2 score");
190
Console.
WriteLine
($"Random Forest Regression,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
197
Console.
WriteLine
("algorithm,all workflow time[ms],training RMSE,testing RMSE,training R2 score,testing R2 score");
198
Console.
WriteLine
($"OLS Regression,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
Microsoft.ML.StandardTrainers (3)
Optimizer\DifferentiableFunction.cs (3)
194
Console.
WriteLine
(Header);
258
Console.
WriteLine
(Header);
297
Console.
WriteLine
(Header);
Microsoft.ML.TestFramework (3)
BaseTestClass.cs (3)
36
Console.
WriteLine
($"Unhandled exception: {e.ExceptionObject}");
75
Console.
WriteLine
($"Starting test: {FullTestName}");
83
Console.
WriteLine
($"Finished test: {FullTestName} " +
Microsoft.ML.Tests (2)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (2)
127
Console.
WriteLine
(
363
Console.
WriteLine
($"Feature {i}: Difference in RMS - {featureImportance[i].RootMeanSquaredError.Mean}");
Microsoft.ML.Tokenizers.Data.Tests (1)
src\Common\tests\RetryHelper.cs (1)
61
Console.
WriteLine
(diagnostic);
Microsoft.ML.Tokenizers.Tests (1)
src\Common\tests\RetryHelper.cs (1)
61
Console.
WriteLine
(diagnostic);
Microsoft.ML.TorchSharp (1)
AutoFormerV2\ObjectDetectionMetrics.cs (1)
72
Console.
WriteLine
($"total : {total}, filtered: {filterNum}, filter ratio: {(total == 0 ? 0f : ((double)filterNum / (double)total)):P}");
MiddlewareAnalysisSample (3)
Startup.cs (3)
103
Console.
WriteLine
($"MiddlewareStarting: {name}; {httpContext.Request.Path}");
109
Console.
WriteLine
($"MiddlewareException: {name}; {exception.Message}");
115
Console.
WriteLine
($"MiddlewareFinished: {name}; {httpContext.Response.StatusCode}");
MinimalSample (3)
Program.cs (3)
35
Console.
WriteLine
("Running filter!");
46
Console.
WriteLine
($"Building filter! Num args: {routeContext.MethodInfo.GetParameters().Length}");
49
Console.
WriteLine
("Running filter!");
MSBuild (38)
PrintLineDebuggerWriters.cs (1)
69
public static CommonWriterType StdOutWriter = (id, callsite, args) => Console.
WriteLine
(SimpleFormat(id, callsite, args));
ProjectSchemaValidationHandler.cs (1)
264
Console.
WriteLine
(
XMake.cs (36)
214
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidConfigurationFile", builder.ToString()));
631
Console.
WriteLine
($"Waiting for debugger to attach ({currentProcess.MainModule.FileName} PID {currentProcess.Id}). Press enter to continue...");
804
Console.
WriteLine
(ResourceUtilities.GetResourceString("PossiblyOmittedMaxCPUSwitch"));
947
Console.
WriteLine
(e.Message);
958
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("ConfigurationFailurePrefixNoErrorCode", e.ErrorCode, e.Message));
965
Console.
WriteLine
(e.Message);
976
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerFailurePrefixNoErrorCode", e.ErrorCode, e.Message));
982
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerFailurePrefixWithErrorCode", e.Message));
989
Console.
WriteLine
(e.InnerException.ToString());
1000
Console.
WriteLine
($"MSBUILD : error {e.ErrorCode}: {e.Message}");
1002
Console.
WriteLine
("This is an unhandled exception from a logger -- PLEASE OPEN A BUG AGAINST THE LOGGER OWNER.");
1006
Console.
WriteLine
(e.InnerException.ToString());
1012
Console.
WriteLine
(
1019
Console.
WriteLine
($"MSBUILD : error {e.ErrorCode}: {e.Message}");
1024
Console.
WriteLine
("This is an unhandled exception from a project cache -- PLEASE OPEN A BUG AGAINST THE PROJECT CACHE OWNER.");
1030
Console.
WriteLine
(e.InnerException.ToString());
1037
Console.
WriteLine
(
1672
Console.
WriteLine
(AssemblyResources.GetString("FatalError"));
1674
Console.
WriteLine
("This is an unhandled exception in MSBuild -- PLEASE OPEN A BUG AGAINST THE MSBUILD TEAM.");
1676
Console.
WriteLine
(exception.ToString());
2531
Console.
WriteLine
($"Waiting for debugger to attach... ({currentProcess.MainModule.FileName} PID {currentProcess.Id})");
2781
Console.
WriteLine
($"{Path.Combine(s_exePath, s_exeName)} {equivalentCommandLine} {projectFile}");
4416
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("OptionalLoggerCreationMessage", loggerDescription.Name, e.Message));
4491
Console.
WriteLine
(message);
4577
Console.
WriteLine
(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("MSBuildVersionMessage", ProjectCollection.DisplayVersion, NativeMethods.FrameworkName));
4589
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_1_Syntax"));
4590
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_2_Description"));
4591
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_3_SwitchesHeader"));
4594
Console.
WriteLine
(AssemblyResources.GetString(parameterizedSwitchRsouceId));
4598
Console.
WriteLine
(AssemblyResources.GetString(parameterlessSwitchRsouceId));
4600
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_7_ResponseFile"));
4601
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_16_Examples"));
4602
Console.
WriteLine
(AssemblyResources.GetString("HelpMessage_37_DocsLink"));
4610
Console.
WriteLine
(AssemblyResources.GetString("HelpPrompt"));
4621
Console.
WriteLine
(ProjectCollection.Version.ToString());
4646
Console.
WriteLine
(jsonNode.ToJsonString(options));
MSBuildTaskHost (1)
OutOfProcTaskHost.cs (1)
94
Console.
WriteLine
($"Waiting for debugger to attach ({currentProcess.MainModule.FileName} PID {currentProcess.Id}). Press enter to continue...");
NonDISample (2)
Program.cs (2)
31
Console.
WriteLine
($"Protect returned: {protectedPayload}");
35
Console.
WriteLine
($"Unprotect returned: {unprotectedPayload}");
PrepareTests (6)
MinimizeUtil.cs (2)
82
Console.
WriteLine
($"[{DateTime.UtcNow}] Walking {unitDirPath}");
279
Console.
WriteLine
("Directory not grouped under configuration/TFM: " + relativePath);
TestDiscovery.cs (4)
27
Console.
WriteLine
($"Found {assemblies.Count} test assemblies");
48
Console.
WriteLine
($"Discovered tests in {stopwatch.Elapsed}");
52
Console.
WriteLine
($"Test discovery failed");
132
Console.
WriteLine
($"Failed to discover tests in {pathToAssembly}:{Environment.NewLine}{errorOutput}");
PresentationFramework (3)
MS\Internal\Data\AccessorTable.cs (3)
131
Console.
WriteLine
($"After generation {_generation}, removed {originalCount - _table.Count} of {originalCount} entries from AccessorTable, new count is {_table.Count}");
148
Console.
WriteLine
("No stats available for AccessorTable.");
154
Console.
WriteLine
(" Age Hits Pct Cumulative");
QueueSharing (1)
Program.cs (1)
36
Console.
WriteLine
("Unknown option, defaulting to (c)create.");
ReachFramework (20)
AlphaFlattener\DrawingContext.cs (3)
819
Console.
WriteLine
(" DrawGeometry(" + _comment + ")");
915
Console.
WriteLine
(" DrawImage(" + _comment + ")");
965
Console.
WriteLine
(" DrawGlyphRun(" + _comment + ")");
AlphaFlattener\Flattener.cs (13)
172
Console.
WriteLine
("TreeFlatten for subtree");
189
Console.
WriteLine
("end TreeFlatten for subtree");
190
Console.
WriteLine
("AlphaFlatten for subtree");
198
Console.
WriteLine
("end AlphaFlatten for subtree");
331
Console.
WriteLine
("Stage 2: Calculating intersections using bounding boxes");
343
Console.
WriteLine
("Original display list");
376
Console.
WriteLine
("Stage 4: Alpha flattening");
412
Console.
WriteLine
("");
824
Console.
WriteLine
("Start 3: Display list optimization");
1072
Console.
WriteLine
("Serialized primitives to " + name);
1078
Console.
WriteLine
(e.ToString());
1244
Console.
WriteLine
("\r\nStage 1: Tree Flattening");
1280
Console.
WriteLine
("End AlphaFlattening");
AlphaFlattener\Primitive.cs (1)
538
Console.
WriteLine
("Drawing of type '" + d.GetType() + "' not handled.");
AlphaFlattener\PrimitiveList.cs (1)
85
Console.
WriteLine
(" No Type Und Ovr TrO Bounding Box Clipping");
Serialization\VisualTreeFlattener.cs (2)
156
Console.
WriteLine
("Saving " + uri);
755
Console.
WriteLine
("Drawing of type '" + d.GetType() + "' not handled.");
Redis (1)
Program.cs (1)
29
Console.
WriteLine
(protectedData);
Replay (18)
Replay.cs (17)
76
Console.
WriteLine
($"Binary Log: {options.BinlogPath}");
77
Console.
WriteLine
($"Client Directory: {options.ClientDirectory}");
78
Console.
WriteLine
($"Output Directory: {options.OutputDirectory}");
79
Console.
WriteLine
($"Pipe Name: {options.PipeName}");
80
Console.
WriteLine
($"Parallel: {options.MaxParallel}");
81
Console.
WriteLine
($"Iterations: {options.Iterations}");
83
Console.
WriteLine
("Starting server");
88
Console.
WriteLine
("Failed to start server");
92
Console.
WriteLine
($"Process Id: {serverProcessId}");
95
Console.
WriteLine
("Press any key to continue");
97
Console.
WriteLine
("Continuing");
105
Console.
WriteLine
($"Iteration: {i + 1}");
112
Console.
WriteLine
($"{buildData.CompilerCall.GetDiagnosticName()} ... {buildData.BuildResponse.Type}");
116
Console.
WriteLine
($"Pipe Name: {options.PipeName}");
117
Console.
WriteLine
($"Compilation Events: {compilerCalls.Count}");
118
Console.
WriteLine
($"Time: {stopwatch.Elapsed:mm\\:ss}");
125
Console.
WriteLine
("Shutting down server");
src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
62
Console.
WriteLine
(message);
ResultsOfTGenerator (6)
Program.cs (6)
45
Console.
WriteLine
($"Will generate class file at {classFilePath}");
49
Console.
WriteLine
("Press any key to continue or Ctrl-C to cancel");
214
Console.
WriteLine
($"{file.Length:N0} bytes written to {file.FullName} successfully!");
220
Console.
WriteLine
($"Will generate tests file at {testFilePath}");
224
Console.
WriteLine
("Press any key to continue or Ctrl-C to cancel");
300
Console.
WriteLine
($"{file.Length:N0} bytes written to {file.FullName} successfully!");
Roslyn.PerformanceTests (1)
helloworld\HelloWorld.cs (1)
11
System.Console.
WriteLine
("Hello, World!");
Roslyn.Test.Performance.Utilities (1)
Logger.cs (1)
64
Console.
WriteLine
(DateTime.Now + " : " + v);
RoutingSandbox (5)
Program.cs (5)
23
Console.
WriteLine
("Choose a sample to run:");
24
Console.
WriteLine
($"1. {EndpointRoutingScenario}");
25
Console.
WriteLine
($"2. {RouterScenario}");
49
Console.
WriteLine
($"unknown scenario {scenario}");
50
Console.
WriteLine
($"usage: dotnet run -- ({EndpointRoutingScenario}|{RouterScenario})");
RoutingWebSite (5)
Program.cs (5)
25
Console.
WriteLine
("Choose a sample to run:");
26
Console.
WriteLine
($"1. {EndpointRoutingScenario}");
27
Console.
WriteLine
($"2. {RouterScenario}");
51
Console.
WriteLine
($"unknown scenario {scenario}");
52
Console.
WriteLine
($"usage: dotnet run -- ({EndpointRoutingScenario}|{RouterScenario})");
RunTests (7)
ConsoleUtil.cs (2)
30
Console.
WriteLine
(message);
36
Console.
WriteLine
(message);
Program.cs (5)
300
Console.
WriteLine
($"Skipping {name} because it is not included or is excluded");
309
Console.
WriteLine
($"Skipping {name} because {options.Configuration} does not exist");
318
Console.
WriteLine
($"Skipping {name} {tfm} does not match the target framework");
338
Console.
WriteLine
($"Found unit test assembly '{matches[0]}' in '{targetFrameworkDirectory}'");
343
Console.
WriteLine
($"{targetFrameworkDirectory} does not contain unit tests");
SampleStartups (4)
StartupInjection.cs (4)
46
Console.
WriteLine
("NormalStartup.ConfigureServices");
51
Console.
WriteLine
("NormalStartup.Configure");
63
Console.
WriteLine
("InjectedStartup.ConfigureServices");
68
Console.
WriteLine
("InjectedStartup.Configure");
SignalR.Client.FunctionalTestApp (1)
Program.cs (1)
52
Console.
WriteLine
($"Forcing URL to: {url}");
SignalRSamples (1)
Hubs\UploadHub.cs (1)
29
Console.
WriteLine
($"received: {item}");
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72
Console.
WriteLine
(log);
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
72
Console.
WriteLine
(log);
SqlServerEndToEnd.DbSetup (1)
Program.cs (1)
20
Console.
WriteLine
("Database created!");
StackDepthTest (3)
Program.cs (3)
38
Console.
WriteLine
("You must pass an integer argument in to this program.");
42
Console.
WriteLine
($"Running in {IntPtr.Size * 8}-bit mode");
51
Console.
WriteLine
($"Could not parse {args[0]}");
StartRequestDelegateUrlApp (2)
Program.cs (2)
33
Console.
WriteLine
($"Now listening on: {address}");
35
Console.
WriteLine
("Application started. Press Ctrl+C to shut down.");
StartRouteBuilderUrlApp (2)
Program.cs (2)
34
Console.
WriteLine
($"Now listening on: {address}");
36
Console.
WriteLine
("Application started. Press Ctrl+C to shut down.");
StartWithIApplicationBuilderUrlApp (2)
Program.cs (2)
37
Console.
WriteLine
($"Now listening on: {address}");
39
Console.
WriteLine
("Application started. Press Ctrl+C to shut down.");
Stress.ApiService (87)
ConsoleStresser.cs (87)
17
Console.
WriteLine
("Console stress");
18
Console.
WriteLine
("==============");
21
Console.
WriteLine
("UTF-8 characters:");
22
Console.
WriteLine
("Emojis: \U0001F600, \U0001F680, \U0001F4A9");
23
Console.
WriteLine
("Chinese: \u8fd9\u662f\u4e00\u4e2a\u4e2d\u6587\u5b57\u7b26\u4e32"); // "This is a Chinese string"
26
Console.
WriteLine
("Entire URL in one segment:");
30
Console.
WriteLine
("Scheme and host in separate segment to port:");
35
Console.
WriteLine
("Everything in different segments:");
43
Console.
WriteLine
("URL examples:");
45
Console.
WriteLine
("https://www.example.com");
46
Console.
WriteLine
("https://subdomain.example.com");
47
Console.
WriteLine
("http://www.example.com");
48
Console.
WriteLine
("http://example.com/path/to/page");
49
Console.
WriteLine
("https://www.example.com?query=string¶m=value");
50
Console.
WriteLine
("https://www.example.com#anchor");
51
Console.
WriteLine
("https://255.255.255.255");
52
Console.
WriteLine
("ftp://example.com/resource");
53
Console.
WriteLine
("mailto:user@example.com");
54
Console.
WriteLine
("https://user:password@example.com");
55
Console.
WriteLine
("https://example.com:8080");
56
Console.
WriteLine
("https://example.com/path/to/page.html");
57
Console.
WriteLine
("https://www.example.co.uk");
58
Console.
WriteLine
("https://example.io");
59
Console.
WriteLine
("https://xn--n3h.com (Punycode for Unicode characters)");
60
Console.
WriteLine
("https://www.example.com/path%20with%20spaces");
61
Console.
WriteLine
("https://[2001:db8::1] (IPv6 address)");
62
Console.
WriteLine
("http://www.example.com/foo.php?bar[]=1&bar[]=2&bar[]=3");
63
Console.
WriteLine
("https://www.example.com/path/to/page?#");
64
Console.
WriteLine
("https://user:password@example.com/path?query=string#anchor");
65
Console.
WriteLine
("https://www.example.com/? (Question mark at end of URL)");
66
Console.
WriteLine
("https://example.com/# (Hash at end of URL)");
67
Console.
WriteLine
("https://www.example.com/path/to/page/?query=string#anchor");
68
Console.
WriteLine
("https://example.com./path/to/page/ (Dot at the end of domain)");
69
Console.
WriteLine
("https://www-example.com (Dash in domain)");
70
Console.
WriteLine
("https://example.com/path/to/page/index.html?query=string#section1");
71
Console.
WriteLine
("https://example.com/empty/");
72
Console.
WriteLine
("https://example.com/empty/. (Dot at end of URL)");
73
Console.
WriteLine
("https://www.example.com/path/with/semicolon; (Semicolon at end of URL)");
74
Console.
WriteLine
("https://www.example.com/path/with/semicolon, (Comma at end of URL)");
75
Console.
WriteLine
("https://www.example.com/path/with/plus+sign");
76
Console.
WriteLine
("https://www.example.com/path/with/equals=sign");
77
Console.
WriteLine
("https://www.example.com/path/with/ampersand&sign");
78
Console.
WriteLine
("https://www.example.com/path/with/percent%25encoded");
79
Console.
WriteLine
("https://www.example.com/path/with/dollar$sign");
80
Console.
WriteLine
("https://www.example.com/path/with/exclamation!mark");
81
Console.
WriteLine
("https://www.example.com/;path/");
82
Console.
WriteLine
("https://www.example.com/path/?query;string");
83
Console.
WriteLine
("https://;www.example.com/");
84
Console.
WriteLine
("https://www;.example.com/");
85
Console.
WriteLine
("https://www.exa;mple.com/");
91
Console.
WriteLine
("ANSI Console Foreground and Background Colors");
97
Console.
WriteLine
($"This is foreground color {color}");
106
Console.
WriteLine
("\x1b[0m"); // Reset colors to default after each background to maintain readability
111
Console.
WriteLine
("\u001b[36;45mThis text is Cyan with a Magenta background.\u001b[0m");
112
Console.
WriteLine
("\u001b[31mThis text has a red foreground using ANSI escape codes.\u001b[0m");
113
Console.
WriteLine
("\u001b[42mThis text has a green background using ANSI escape codes.\u001b[0m");
114
Console.
WriteLine
("\u001b[1mThis text is bold using ANSI escape codes.\u001b[0m");
115
Console.
WriteLine
("\u001b[4mThis text is underlined using ANSI escape codes.\u001b[0m");
116
Console.
WriteLine
("\u001b[31;1;4mThis text is red, bold, and underlined.\u001b[0m");
117
Console.
WriteLine
("\u001b[31;3;4mThis text is red, italic and underlined.\u001b[0m");
118
Console.
WriteLine
("\u001b[31;3;4;9mThis text is red, italic and strikethrough.\u001b[0m");
119
Console.
WriteLine
("\u001b[31;42;3;4mThis text is red, green background, italic and underlined.\u001b[0m");
122
Console.
WriteLine
("\u001b[38;5;221mThis text is a Xterm text color using ANSI escape codes.\u001b[0m");
123
Console.
WriteLine
("\u001b[48;5;95mThis text is a Xterm bakground color using ANSI escape codes.\u001b[0m");
124
Console.
WriteLine
("\u001b[38;5;221m\u001b[48;5;95mThis text is a Xterm text and bakground color using ANSI escape codes.\u001b[0m");
125
Console.
WriteLine
("\u001b[38;5;243mThis text is a Xterm gray text color using ANSI escape codes.\u001b[0m");
126
Console.
WriteLine
("\u001b[48;5;243mThis text is a Xterm gray background color using ANSI escape codes.\u001b[0m");
127
Console.
WriteLine
("\u001b[38;5;1mThis text is a Xterm red color using ANSI escape codes.\u001b[0m");
128
Console.
WriteLine
("\u001b[38;5;9mThis text is a Xterm bright red color using ANSI escape codes.\u001b[0m");
129
Console.
WriteLine
("\u001b[48;5;1mThis text is a Xterm red background color using ANSI escape codes.\u001b[0m");
130
Console.
WriteLine
("\u001b[48;5;9mThis text is a Xterm bright red background color using ANSI escape codes.\u001b[0m");
131
Console.
WriteLine
("\u001b[3;38;5;9mThis text is a Xterm bright red color and italic using ANSI escape codes.\u001b[0m");
132
Console.
WriteLine
("\u001b[4;38;5;9mThis text is a Xterm bright red color and underlined using ANSI escape codes.\u001b[0m");
133
Console.
WriteLine
("\u001b[9;38;5;9mThis text is a Xterm bright red color and strikethrough using ANSI escape codes.\u001b[0m");
136
Console.
WriteLine
("\u001b[38;5;321mThis text is a Xterm text color using invalid color value.\u001b[0m");
137
Console.
WriteLine
("\u001b[38;5;100This text is a Xterm text color using unfinished escape sequence (m here to finish the sequence late).\u001b[0m");
138
Console.
WriteLine
("\u001b[38;5;100This text is a Xterm text color using unfinished escape sequence.\u001b[0m");
141
Console.
WriteLine
("A link in escape sequence: \u001b]8;;https://example.com\u001b\\The link text\u001b]8;;\u001b\\");
142
Console.
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\\");
145
Console.
WriteLine
("HTML:");
146
Console.
WriteLine
("<b>BOLD!</b>");
147
Console.
WriteLine
("<script>alert('Hello, World!')</script>");
148
Console.
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>");
151
Console.
WriteLine
("Long continious !!! content:");
152
Console.
WriteLine
(new string('!', 1000));
154
Console.
WriteLine
("Long continious letter content:");
161
Console.
WriteLine
("Long world content:");
Swaggatherer (1)
SwaggathererApplication.cs (1)
62
Console.
WriteLine
($"Processing {Input.Values.Count} files...");
System.Drawing.Common.Tests (2)
System\Drawing\Drawing2D\MatrixTests.cs (2)
832
Console.
WriteLine
($"Expected: {string.Join(", ", expected)}");
833
Console.
WriteLine
($"Actual: {string.Join(", ", actual)}");
System.Net.Quic (1)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (1)
23
Console.
WriteLine
($"0x{handle.ToInt64():x} {_stacktrace?.ToString() ?? "no stacktrace..."}");
System.Net.Security (1)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (1)
23
Console.
WriteLine
($"0x{handle.ToInt64():x} {_stacktrace?.ToString() ?? "no stacktrace..."}");
System.Security.Cryptography (1)
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (1)
23
Console.
WriteLine
($"0x{handle.ToInt64():x} {_stacktrace?.ToString() ?? "no stacktrace..."}");
System.Windows.Forms.Design.Tests (20)
CodeDomHelpers.cs (5)
22
Console.
WriteLine
($"Expected: {expected.Count} elements");
25
Console.
WriteLine
($"- [{i}] {GetConstructionString(expected[i])}");
28
Console.
WriteLine
("");
30
Console.
WriteLine
($"Actual: {actual.Count} elements");
33
Console.
WriteLine
($"- [{i}] {GetConstructionString(actual[i])}");
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (15)
1699
Console.
WriteLine
("---- DUMPING ----");
1702
Console.
WriteLine
(key);
1707
Console.
WriteLine
("- [0]: null");
1711
Console.
WriteLine
($"- [0]: {state0}, {state0.Count} elements");
1714
Console.
WriteLine
($" - {CodeDomHelpers.GetConstructionString(e)}");
1721
Console.
WriteLine
("- [1]: null");
1725
Console.
WriteLine
($"- [1]: {state1}");
1731
Console.
WriteLine
("- [2]: null");
1735
Console.
WriteLine
($"- [2]: {state2}");
1741
Console.
WriteLine
("- [3]: null");
1745
Console.
WriteLine
($"- [3]: {state3}");
1751
Console.
WriteLine
("- [4]: null");
1755
Console.
WriteLine
($"- [4]: {state4}");
1761
Console.
WriteLine
("- [5]: null");
1765
Console.
WriteLine
($"- [5]: {state5}");
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\E2ETesting\BrowserFixture.cs (1)
98
Console.
WriteLine
($"Failed to delete browser profile directory '{userProfileDirectory}': '{ex}'. Will retry.");
src\Shared\E2ETesting\WaitAssert.cs (1)
161
Console.
WriteLine
($"Failed to take a screenshot {ex.ToString()}");
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\E2ETesting\BrowserFixture.cs (1)
98
Console.
WriteLine
($"Failed to delete browser profile directory '{userProfileDirectory}': '{ex}'. Will retry.");
src\Shared\E2ETesting\WaitAssert.cs (1)
161
Console.
WriteLine
($"Failed to take a screenshot {ex.ToString()}");
Templates.Mvc.Tests (2)
src\Shared\E2ETesting\BrowserFixture.cs (1)
98
Console.
WriteLine
($"Failed to delete browser profile directory '{userProfileDirectory}': '{ex}'. Will retry.");
src\Shared\E2ETesting\WaitAssert.cs (1)
161
Console.
WriteLine
($"Failed to take a screenshot {ex.ToString()}");
Templates.Tests (2)
src\Shared\E2ETesting\BrowserFixture.cs (1)
98
Console.
WriteLine
($"Failed to delete browser profile directory '{userProfileDirectory}': '{ex}'. Will retry.");
src\Shared\E2ETesting\WaitAssert.cs (1)
161
Console.
WriteLine
($"Failed to take a screenshot {ex.ToString()}");
vbc (1)
src\Compilers\VisualBasic\vbc\Program.cs (1)
26
Console.
WriteLine
(e.Message);
VisualBasicSyntaxGenerator (5)
Program.vb (5)
106
WriteLine
("VBSyntaxGenerator.exe input output [/source] [/test] [/grammar]")
107
WriteLine
(" /source Generates syntax model source code.")
108
WriteLine
(" /test Generates syntax model unit tests.")
109
WriteLine
(" /gettext Generates GetText method only.")
110
WriteLine
(" /grammar Generates grammar file only.")
WaitForSandbox.DbSetup (1)
Program.cs (1)
15
Console.
WriteLine
("Database created!");
Wasm.Performance.ConsoleHost (1)
Scenarios\ComponentRenderingScenarioBase.cs (1)
38
Console.
WriteLine
($"{Name}: {durationPerCycle:F1}ms per cycle (cycles tested: {numCycles})");
Wasm.Performance.Driver (9)
Program.cs (9)
47
Console.
WriteLine
($"Stress run duration: {stressRunDuration}.");
53
Console.
WriteLine
("Application started.");
76
Console.
WriteLine
($"Test app listening at {testAppUrl}.");
119
Console.
WriteLine
("Done executing benchmark");
125
Console.
WriteLine
($"[Browser Log]: {message.Text}");
264
Console.
WriteLine
($"Download size: {(benchmarkResult.DownloadSize / 1024)}kb.");
265
Console.
WriteLine
("| Name | Description | Duration | NumExecutions | ");
266
Console.
WriteLine
("--------------------------");
269
Console.
WriteLine
($"| {result.Descriptor.Name} | {result.Name} | {result.Duration} | {result.NumExecutions} |");
WebSocketSample (2)
Program.cs (2)
30
Console.
WriteLine
("Connected");
59
Console.
WriteLine
(Encoding.UTF8.GetString(buffer, 0, result.Count));
WebTransportInteractiveSampleApp (2)
Program.cs (2)
107
Console.
WriteLine
("RECEIVED FROM CLIENT:");
108
Console.
WriteLine
(message);
WebTransportSampleApp (2)
Program.cs (2)
39
Console.
WriteLine
(System.Text.Encoding.Default.GetString(memory.Span));
90
Console.
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)
32
Console.
WriteLine
($"nearest index: {index}");
TaskDialogSamples.cs (28)
67
Console.
WriteLine
("User confirmed to stop the operation.");
87
Console.
WriteLine
("User confirmed to stop the operation.");
118
Console.
WriteLine
("Do not show this confirmation again.");
120
Console.
WriteLine
("User confirmed to stop the operation.");
147
Console.
WriteLine
("Saving");
149
Console.
WriteLine
("Not saving");
151
Console.
WriteLine
("Canceling");
188
Console.
WriteLine
($"Playing with {resultingMines} mines...");
190
Console.
WriteLine
("User canceled.");
245
Console.
WriteLine
("Reconnecting.");
247
Console.
WriteLine
("Not reconnecting.");
391
Console.
WriteLine
("Showing Results!");
469
page1.Created += (s, e) => Console.
WriteLine
("Page1 Created");
470
page1.Destroyed += (s, e) => Console.
WriteLine
("Page1 Destroyed");
471
page1.HelpRequest += (s, e) => Console.
WriteLine
("Page1 HelpRequest");
478
page1.Expander.ExpandedChanged += (s, e) => Console.
WriteLine
($"Expander ExpandedChanged: {page1.Expander.Expanded}");
492
buttonOK.Click += (s, e) => Console.
WriteLine
($"Button '{s}' Click");
493
buttonHelp.Click += (s, e) => Console.
WriteLine
($"Button '{s}' Click");
497
Console.
WriteLine
($"Button '{s}' Click");
502
Console.
WriteLine
($"Button '{s}' Click");
507
Console.
WriteLine
($"(returns) Button '{s}' Click");
512
Console.
WriteLine
($"Button '{s}' Click");
523
page2.Created += (s, e) => Console.
WriteLine
("Page2 Created");
524
page2.Destroyed += (s, e) => Console.
WriteLine
("Page2 Destroyed");
530
page1.Verification.CheckedChanged += (s, e) => Console.
WriteLine
($"CheckBox CheckedChanged: {page1.Verification.Checked}");
535
radioButton1.CheckedChanged += (s, e) => Console.
WriteLine
($"RadioButton1 CheckedChanged: {radioButton1.Checked}");
536
radioButton2.CheckedChanged += (s, e) => Console.
WriteLine
($"RadioButton2 CheckedChanged: {radioButton2.Checked}");
539
Console.
WriteLine
($"---> Dialog Result: {dialogResult}");
xunit.console (63)
ConsoleRunner.cs (61)
54
Console.
WriteLine
("Canceling... (Press Ctrl+C again to terminate)");
108
Console.
WriteLine
($"error: {ex.Message}");
115
Console.
WriteLine
(ex.StackTrace);
166
Console.
WriteLine
($"Type {type.FullName} in assembly {dllFile} appears to be a runner reporter, but does not have an empty constructor.");
182
Console.
WriteLine
($"Microsoft.DotNet.XUnitConsoleRunner v{typeof(ConsoleRunner).Assembly.GetName().Version} ({IntPtr.Size * 8}-bit {platform})");
189
Console.
WriteLine
("Copyright (C) .NET Foundation.");
191
Console.
WriteLine
($"usage: {executableName} <assemblyFile> [configFile] [assemblyFile [configFile]...] [options] [reporter] [resultFormat filename [...]]");
193
Console.
WriteLine
("Note: Configuration files must end in .json (XML is not supported on .NET Core)");
195
Console.
WriteLine
("Valid options:");
196
Console.
WriteLine
(" -nologo : do not show the copyright message");
197
Console.
WriteLine
(" -nocolor : do not output results with colors");
198
Console.
WriteLine
(" -failskips : convert skipped tests into failures");
199
Console.
WriteLine
(" -stoponfail : stop on first test failure");
200
Console.
WriteLine
(" -parallel option : set parallelization based on option");
201
Console.
WriteLine
(" : none - turn off all parallelization");
202
Console.
WriteLine
(" : collections - only parallelize collections");
203
Console.
WriteLine
(" : assemblies - only parallelize assemblies");
204
Console.
WriteLine
(" : all - parallelize assemblies & collections");
205
Console.
WriteLine
(" -maxthreads count : maximum thread count for collection parallelization");
206
Console.
WriteLine
(" : default - run with default (1 thread per CPU thread)");
207
Console.
WriteLine
(" : unlimited - run with unbounded thread count");
208
Console.
WriteLine
(" : (number) - limit task thread pool size to 'count'");
209
Console.
WriteLine
(" -wait : wait for input after completion");
210
Console.
WriteLine
(" -diagnostics : enable diagnostics messages for all test assemblies");
211
Console.
WriteLine
(" -internaldiagnostics : enable internal diagnostics messages for all test assemblies");
213
Console.
WriteLine
(" -pause : pause before doing any work, to help attach a debugger");
215
Console.
WriteLine
(" -debug : launch the debugger to debug the tests");
216
Console.
WriteLine
(" -serialize : serialize all test cases (for diagnostic purposes only)");
217
Console.
WriteLine
(" -trait \"name=value\" : only run tests with matching name/value traits");
218
Console.
WriteLine
(" : if specified more than once, acts as an OR operation");
219
Console.
WriteLine
(" -notrait \"name=value\" : do not run tests with matching name/value traits");
220
Console.
WriteLine
(" : if specified more than once, acts as an AND operation");
221
Console.
WriteLine
(" -method \"name\" : run a given test method (can be fully specified or use a wildcard;");
222
Console.
WriteLine
(" : i.e., 'MyNamespace.MyClass.MyTestMethod' or '*.MyTestMethod')");
223
Console.
WriteLine
(" : if specified more than once, acts as an OR operation");
224
Console.
WriteLine
(" -nomethod \"name\" : do not run a given test method (can be fully specified or use a wildcard;");
225
Console.
WriteLine
(" : i.e., 'MyNamespace.MyClass.MyTestMethod' or '*.MyTestMethod')");
226
Console.
WriteLine
(" : if specified more than once, acts as an AND operation");
227
Console.
WriteLine
(" -class \"name\" : run all methods in a given test class (should be fully");
228
Console.
WriteLine
(" : specified; i.e., 'MyNamespace.MyClass')");
229
Console.
WriteLine
(" : if specified more than once, acts as an OR operation");
230
Console.
WriteLine
(" -noclass \"name\" : do not run any methods in a given test class (should be fully");
231
Console.
WriteLine
(" : specified; i.e., 'MyNamespace.MyClass')");
232
Console.
WriteLine
(" : if specified more than once, acts as an AND operation");
233
Console.
WriteLine
(" -namespace \"name\" : run all methods in a given namespace (i.e.,");
234
Console.
WriteLine
(" : 'MyNamespace.MySubNamespace')");
235
Console.
WriteLine
(" : if specified more than once, acts as an OR operation");
236
Console.
WriteLine
(" -nonamespace \"name\" : do not run any methods in a given namespace (i.e.,");
237
Console.
WriteLine
(" : 'MyNamespace.MySubNamespace')");
238
Console.
WriteLine
(" : if specified more than once, acts as an AND operation");
239
Console.
WriteLine
(" -noautoreporters : do not allow reporters to be auto-enabled by environment");
240
Console.
WriteLine
(" : (for example, auto-detecting TeamCity or AppVeyor)");
241
Console.
WriteLine
(" -framework \"name\" : set the target framework");
247
Console.
WriteLine
("Reporters: (optional, choose only one)");
250
Console.
WriteLine
($" -{reporter.RunnerSwitch.ToLowerInvariant().PadRight(21)} : {reporter.Description}");
255
Console.
WriteLine
("Result formats: (optional, choose one or more)");
257
transform => Console.
WriteLine
($" -{$"{transform.CommandLine} <filename>".PadRight(21).Substring(0, 21)} : {transform.Description}")
408
Console.
WriteLine
("Canceling due to test failure...");
421
Console.
WriteLine
($"{e.GetType().FullName}: {e.Message}");
424
Console.
WriteLine
(e.StackTrace);
441
Console.
WriteLine
($"File not found: {fileName}");
Sinks\DiagnosticMessageSink.cs (2)
45
Console.
WriteLine
($" {assemblyDisplayName}: {diagnosticMessage.Message}");
47
Console.
WriteLine
($" {diagnosticMessage.Message}");