2385 references to WriteLine
AnalyzerRunner (31)
Aspire.Cli.Tests (1)
Aspire.Dashboard.Tests (2)
Aspire.EndToEnd.Tests (13)
Aspire.Hosting (2)
Aspire.RuntimeIdentifier.Tool (2)
Aspire.Templates.Tests (13)
AutobahnTestApp (6)
BoundTreeGenerator (2)
BuildActionTelemetryTable (16)
BuildBoss (7)
BuildValidator (1)
ClientSample (9)
CodeGenerator (2)
CodeStyleConfigFileGenerator (7)
csc (1)
CSharpErrorFactsGenerator (1)
CustomEncryptorSample (2)
DefaultBuilder.SampleApp (4)
DesignSurface (7)
Diagnostics.EFCore.FunctionalTests (1)
DnnAnalyzer (1)
dotnet-dev-certs (3)
dotnet-getdocument (2)
dotnet-openapi (3)
dotnet-razorpagegenerator (6)
dotnet-sql-cache (2)
dotnet-svcutil.xmlserializer (1)
dotnet-svcutil-lib (11)
dotnet-user-jwts (2)
dotnet-user-secrets (2)
EntityFrameworkCoreSample (1)
EventHubsConsumer (3)
GenerateAnalyzerNuspec (1)
GenerateRulesMissingDocumentation (3)
GetDocument.Insider (2)
HelixTestRunner (1)
Http2SampleApp (1)
HttpClientApp (2)
HttpStress (17)
IdeBenchmarks (5)
IdeCoreBenchmarks (49)
IIS.Microbenchmarks (2)
IIS.ShadowCopy.Tests (1)
illink (87)
ILLink.RoslynAnalyzer (1)
Infrastructure.Common (9)
InMemory.FunctionalTests (2)
InProcessWebSite (9)
InteropClient (51)
InteropWebsite (4)
IOperationGenerator (16)
IStartupInjectionAssemblyName (1)
JwtClientSample (4)
Kestrel.SampleApp (1)
KeyManagementSample (7)
KeyManagementSimulator (16)
Metrics (15)
Metrics.Legacy (15)
Microsoft.Arcade.Common (3)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
Microsoft.AspNetCore.Components.Performance (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.Components.WebView.Photino (1)
Microsoft.AspNetCore.Components.WebViewE2E.Test (27)
Microsoft.AspNetCore.ConcurrencyLimiter.Microbenchmarks (2)
Microsoft.AspNetCore.Grpc.Microbenchmarks (2)
Microsoft.AspNetCore.Hosting (9)
Microsoft.AspNetCore.Hosting.TestSites (5)
Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks (2)
Microsoft.AspNetCore.Http.Microbenchmarks (2)
Microsoft.AspNetCore.OpenApi.Microbenchmarks (2)
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (2)
Microsoft.AspNetCore.Owin.Microbenchmarks (2)
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (2)
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (2)
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (2)
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
Microsoft.AspNetCore.Security.Microbenchmarks (2)
Microsoft.AspNetCore.Server.HttpSys.Microbenchmarks (2)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.SignalR.Microbenchmarks (2)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Microsoft.AspNetCore.WebSockets.Microbenchmarks (2)
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (2)
Microsoft.Build (28)
Microsoft.Build.CommandLine.UnitTests (1)
Microsoft.Build.Engine.OM.UnitTests (3)
Microsoft.Build.Engine.UnitTests (83)
Microsoft.Build.Tasks.CodeAnalysis (8)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (8)
Microsoft.Build.Tasks.Core (1)
Microsoft.Build.Tasks.UnitTests (46)
Microsoft.Build.UnGAC (4)
Microsoft.Build.UnitTests.Shared (23)
Microsoft.Build.Utilities.Core (1)
Microsoft.Build.Utilities.UnitTests (13)
Microsoft.Cci.Extensions (1)
Microsoft.CodeAnalysis (8)
Microsoft.CodeAnalysis.CodeStyle (8)
Microsoft.CodeAnalysis.Collections.Package (7)
Microsoft.CodeAnalysis.Contracts.Package (7)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Microsoft.CodeAnalysis.Debugging.Package (7)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (8)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (8)
Microsoft.CodeAnalysis.Extensions.Package (7)
Microsoft.CodeAnalysis.InteractiveHost (8)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.PooledObjects.Package (7)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.Threading.Package (7)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (9)
Microsoft.CodeAnalysis.Workspaces (8)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (8)
Microsoft.CommonLanguageServerProtocol.Framework.Example (7)
Microsoft.CommonLanguageServerProtocol.Framework.Package (7)
Microsoft.Data.Analysis.Tests (3)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.ArcadeLogging (2)
Microsoft.DotNet.Build.Tasks.Feed (4)
Microsoft.DotNet.MacOsPkg.Core (2)
Microsoft.DotNet.SignCheckLibrary (1)
Microsoft.DotNet.SwaggerGenerator.CmdLine (1)
Microsoft.DotNet.VersionTools.Cli (1)
Microsoft.Extensions.AotCompatibility.TestApp (1)
Microsoft.Extensions.Caching.MicroBenchmarks (1)
Microsoft.Extensions.ObjectPool.Microbenchmark (2)
Microsoft.Extensions.SecretManager.Tools.Tests (1)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.ML.AutoML.Samples (80)
Microsoft.ML.AutoML.Tests (5)
Microsoft.ML.CpuMath.PerformanceTests (1)
Microsoft.ML.GenAI.Samples (7)
Microsoft.ML.IntegrationTests (2)
Microsoft.ML.Maml (2)
Microsoft.ML.NugetPackageVersionUpdater (2)
Microsoft.ML.PerformanceTests (5)
Microsoft.ML.Samples (836)
Microsoft.ML.Samples.GPU (65)
Microsoft.ML.Samples.OneDal (6)
Program.cs (6)
182Console.WriteLine("algorithm,all workflow time[ms],training accuracy,testing accuracy,training F1 score,testing F1 score");
183Console.WriteLine($"Random Forest Binary,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
189Console.WriteLine("algorithm,all workflow time[ms],training RMSE,testing RMSE,training R2 score,testing R2 score");
190Console.WriteLine($"Random Forest Regression,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
197Console.WriteLine("algorithm,all workflow time[ms],training RMSE,testing RMSE,training R2 score,testing R2 score");
198Console.WriteLine($"OLS Regression,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
Microsoft.ML.StandardTrainers (3)
Microsoft.ML.TestFramework (3)
Microsoft.ML.Tests (2)
Microsoft.ML.Tokenizers.Data.Tests (1)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.ML.TorchSharp (1)
MiddlewareAnalysisSample (3)
MinimalSample (3)
MSBuild (39)
XMake.cs (37)
215Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidConfigurationFile", builder.ToString()));
634Console.WriteLine($"Waiting for debugger to attach ({EnvironmentUtilities.ProcessPath} PID {EnvironmentUtilities.CurrentProcessId}). Press enter to continue...");
811Console.WriteLine(ResourceUtilities.GetResourceString("PossiblyOmittedMaxCPUSwitch"));
957Console.WriteLine(e.Message);
968Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("ConfigurationFailurePrefixNoErrorCode", e.ErrorCode, e.Message));
975Console.WriteLine(e.Message);
986Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerFailurePrefixNoErrorCode", e.ErrorCode, e.Message));
992Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerFailurePrefixWithErrorCode", e.Message));
999Console.WriteLine(e.InnerException.ToString());
1010Console.WriteLine($"MSBUILD : error {e.ErrorCode}: {e.Message}");
1012Console.WriteLine("This is an unhandled exception from a logger -- PLEASE OPEN A BUG AGAINST THE LOGGER OWNER.");
1016Console.WriteLine(e.InnerException.ToString());
1022Console.WriteLine(
1029Console.WriteLine($"MSBUILD : error {e.ErrorCode}: {e.Message}");
1034Console.WriteLine("This is an unhandled exception from a project cache -- PLEASE OPEN A BUG AGAINST THE PROJECT CACHE OWNER.");
1040Console.WriteLine(e.InnerException.ToString());
1047Console.WriteLine(
1054Console.WriteLine(
1697Console.WriteLine(AssemblyResources.GetString("FatalError"));
1699Console.WriteLine("This is an unhandled exception in MSBuild -- PLEASE OPEN A BUG AGAINST THE MSBUILD TEAM.");
1701Console.WriteLine(exception.ToString());
2555Console.WriteLine($"Waiting for debugger to attach... ({EnvironmentUtilities.ProcessPath} PID {EnvironmentUtilities.CurrentProcessId})");
2809Console.WriteLine($"{Path.Combine(s_exePath, s_exeName)} {equivalentCommandLine} {projectFile}");
4471Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("OptionalLoggerCreationMessage", loggerDescription.Name, e.Message));
4546Console.WriteLine(message);
4634Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("MSBuildVersionMessage", ProjectCollection.DisplayVersion, NativeMethods.FrameworkName));
4646Console.WriteLine(AssemblyResources.GetString("HelpMessage_1_Syntax"));
4647Console.WriteLine(AssemblyResources.GetString("HelpMessage_2_Description"));
4648Console.WriteLine(AssemblyResources.GetString("HelpMessage_3_SwitchesHeader"));
4651Console.WriteLine(AssemblyResources.GetString(parameterizedSwitchRsouceId));
4655Console.WriteLine(AssemblyResources.GetString(parameterlessSwitchRsouceId));
4657Console.WriteLine(AssemblyResources.GetString("HelpMessage_7_ResponseFile"));
4658Console.WriteLine(AssemblyResources.GetString("HelpMessage_16_Examples"));
4659Console.WriteLine(AssemblyResources.GetString("HelpMessage_37_DocsLink"));
4667Console.WriteLine(AssemblyResources.GetString("HelpPrompt"));
4678Console.WriteLine(ProjectCollection.Version.ToString());
4703Console.WriteLine(jsonNode.ToJsonString(options));
MSBuildTaskHost (1)
NonDISample (2)
PrepareTests (6)
PresentationFramework (3)
PresentationFramework.Fluent.Tests (3)
Publishers.DbSetup (1)
QueueSharing (1)
ReachFramework (20)
Redis (1)
Replay (25)
ResultsOfTGenerator (6)
Roslyn.PerformanceTests (1)
Roslyn.Test.Performance.Utilities (1)
RoutingSandbox (5)
RoutingWebSite (5)
RulesetToEditorconfigConverter (3)
RunTests (9)
SampleStartups (4)
SemanticSearch.BuildTask (7)
SignalR.Client.FunctionalTestApp (1)
SignalRSamples (1)
Sockets.BindTests (1)
Sockets.FunctionalTests (1)
SqlServerEndToEnd.DbSetup (1)
StackDepthTest (3)
StartRequestDelegateUrlApp (2)
StartRouteBuilderUrlApp (2)
StartWithIApplicationBuilderUrlApp (2)
Stress.ApiService (87)
ConsoleStresser.cs (87)
17Console.WriteLine("Console stress");
18Console.WriteLine("==============");
21Console.WriteLine("UTF-8 characters:");
22Console.WriteLine("Emojis: \U0001F600, \U0001F680, \U0001F4A9");
23Console.WriteLine("Chinese: \u8fd9\u662f\u4e00\u4e2a\u4e2d\u6587\u5b57\u7b26\u4e32"); // "This is a Chinese string"
26Console.WriteLine("Entire URL in one segment:");
30Console.WriteLine("Scheme and host in separate segment to port:");
35Console.WriteLine("Everything in different segments:");
43Console.WriteLine("URL examples:");
45Console.WriteLine("https://www.example.com");
46Console.WriteLine("https://subdomain.example.com");
47Console.WriteLine("http://www.example.com");
48Console.WriteLine("http://example.com/path/to/page");
49Console.WriteLine("https://www.example.com?query=string¶m=value");
50Console.WriteLine("https://www.example.com#anchor");
51Console.WriteLine("https://255.255.255.255");
52Console.WriteLine("ftp://example.com/resource");
53Console.WriteLine("mailto:user@example.com");
54Console.WriteLine("https://user:password@example.com");
55Console.WriteLine("https://example.com:8080");
56Console.WriteLine("https://example.com/path/to/page.html");
57Console.WriteLine("https://www.example.co.uk");
58Console.WriteLine("https://example.io");
59Console.WriteLine("https://xn--n3h.com (Punycode for Unicode characters)");
60Console.WriteLine("https://www.example.com/path%20with%20spaces");
61Console.WriteLine("https://[2001:db8::1] (IPv6 address)");
62Console.WriteLine("http://www.example.com/foo.php?bar[]=1&bar[]=2&bar[]=3");
63Console.WriteLine("https://www.example.com/path/to/page?#");
64Console.WriteLine("https://user:password@example.com/path?query=string#anchor");
65Console.WriteLine("https://www.example.com/? (Question mark at end of URL)");
66Console.WriteLine("https://example.com/# (Hash at end of URL)");
67Console.WriteLine("https://www.example.com/path/to/page/?query=string#anchor");
68Console.WriteLine("https://example.com./path/to/page/ (Dot at the end of domain)");
69Console.WriteLine("https://www-example.com (Dash in domain)");
70Console.WriteLine("https://example.com/path/to/page/index.html?query=string#section1");
71Console.WriteLine("https://example.com/empty/");
72Console.WriteLine("https://example.com/empty/. (Dot at end of URL)");
73Console.WriteLine("https://www.example.com/path/with/semicolon; (Semicolon at end of URL)");
74Console.WriteLine("https://www.example.com/path/with/semicolon, (Comma at end of URL)");
75Console.WriteLine("https://www.example.com/path/with/plus+sign");
76Console.WriteLine("https://www.example.com/path/with/equals=sign");
77Console.WriteLine("https://www.example.com/path/with/ampersand&sign");
78Console.WriteLine("https://www.example.com/path/with/percent%25encoded");
79Console.WriteLine("https://www.example.com/path/with/dollar$sign");
80Console.WriteLine("https://www.example.com/path/with/exclamation!mark");
81Console.WriteLine("https://www.example.com/;path/");
82Console.WriteLine("https://www.example.com/path/?query;string");
83Console.WriteLine("https://;www.example.com/");
84Console.WriteLine("https://www;.example.com/");
85Console.WriteLine("https://www.exa;mple.com/");
91Console.WriteLine("ANSI Console Foreground and Background Colors");
97Console.WriteLine($"This is foreground color {color}");
106Console.WriteLine("\x1b[0m"); // Reset colors to default after each background to maintain readability
111Console.WriteLine("\u001b[36;45mThis text is Cyan with a Magenta background.\u001b[0m");
112Console.WriteLine("\u001b[31mThis text has a red foreground using ANSI escape codes.\u001b[0m");
113Console.WriteLine("\u001b[42mThis text has a green background using ANSI escape codes.\u001b[0m");
114Console.WriteLine("\u001b[1mThis text is bold using ANSI escape codes.\u001b[0m");
115Console.WriteLine("\u001b[4mThis text is underlined using ANSI escape codes.\u001b[0m");
116Console.WriteLine("\u001b[31;1;4mThis text is red, bold, and underlined.\u001b[0m");
117Console.WriteLine("\u001b[31;3;4mThis text is red, italic and underlined.\u001b[0m");
118Console.WriteLine("\u001b[31;3;4;9mThis text is red, italic and strikethrough.\u001b[0m");
119Console.WriteLine("\u001b[31;42;3;4mThis text is red, green background, italic and underlined.\u001b[0m");
122Console.WriteLine("\u001b[38;5;221mThis text is a Xterm text color using ANSI escape codes.\u001b[0m");
123Console.WriteLine("\u001b[48;5;95mThis text is a Xterm bakground color using ANSI escape codes.\u001b[0m");
124Console.WriteLine("\u001b[38;5;221m\u001b[48;5;95mThis text is a Xterm text and bakground color using ANSI escape codes.\u001b[0m");
125Console.WriteLine("\u001b[38;5;243mThis text is a Xterm gray text color using ANSI escape codes.\u001b[0m");
126Console.WriteLine("\u001b[48;5;243mThis text is a Xterm gray background color using ANSI escape codes.\u001b[0m");
127Console.WriteLine("\u001b[38;5;1mThis text is a Xterm red color using ANSI escape codes.\u001b[0m");
128Console.WriteLine("\u001b[38;5;9mThis text is a Xterm bright red color using ANSI escape codes.\u001b[0m");
129Console.WriteLine("\u001b[48;5;1mThis text is a Xterm red background color using ANSI escape codes.\u001b[0m");
130Console.WriteLine("\u001b[48;5;9mThis text is a Xterm bright red background color using ANSI escape codes.\u001b[0m");
131Console.WriteLine("\u001b[3;38;5;9mThis text is a Xterm bright red color and italic using ANSI escape codes.\u001b[0m");
132Console.WriteLine("\u001b[4;38;5;9mThis text is a Xterm bright red color and underlined using ANSI escape codes.\u001b[0m");
133Console.WriteLine("\u001b[9;38;5;9mThis text is a Xterm bright red color and strikethrough using ANSI escape codes.\u001b[0m");
136Console.WriteLine("\u001b[38;5;321mThis text is a Xterm text color using invalid color value.\u001b[0m");
137Console.WriteLine("\u001b[38;5;100This text is a Xterm text color using unfinished escape sequence (m here to finish the sequence late).\u001b[0m");
138Console.WriteLine("\u001b[38;5;100This text is a Xterm text color using unfinished escape sequence.\u001b[0m");
141Console.WriteLine("A link in escape sequence: \u001b]8;;https://example.com\u001b\\The link text\u001b]8;;\u001b\\");
142Console.WriteLine("A link with formatted link text in escape sequnce: \u001b]8;;https://example.com\u001b\\The \u001b[38;5;100mlink\u001b[0m formatted text\u001b]8;;\u001b\\");
145Console.WriteLine("HTML:");
146Console.WriteLine("<b>BOLD!</b>");
147Console.WriteLine("<script>alert('Hello, World!')</script>");
148Console.WriteLine("<span style=\"color: #ff0000; background-color: #00ff00; font-weight: bold; text-decoration: underline;\">This text is red with a green background, bold, and underlined using HTML.</span>");
151Console.WriteLine("Long continious !!! content:");
152Console.WriteLine(new string('!', 1000));
154Console.WriteLine("Long continious letter content:");
161Console.WriteLine("Long world content:");
Swaggatherer (1)
System.Drawing.Common.Tests (2)
System.Net.Quic (1)
System.Net.Security (1)
System.Security.Cryptography (1)
System.Windows.Forms.Design.Tests (5)
Templates.Blazor.WebAssembly.Auth.Tests (2)
Templates.Blazor.WebAssembly.Tests (2)
Templates.Mvc.Tests (2)
Templates.Tests (2)
TestDiscoveryWorker (6)
TestPassApp (16)
TaskDialogTesting.cs (16)
19page1.Created += (s, e) => Console.WriteLine("Page1 Created");
20page1.Destroyed += (s, e) => Console.WriteLine("Page1 Destroyed");
21page1.HelpRequest += (s, e) => Console.WriteLine("Page1 HelpRequest");
28page1.Expander.ExpandedChanged += (s, e) => Console.WriteLine($"Expander ExpandedChanged: {page1.Expander.Expanded}");
42buttonOK.Click += (s, e) => Console.WriteLine($"Button '{s}' Click");
43buttonHelp.Click += (s, e) => Console.WriteLine($"Button '{s}' Click");
47Console.WriteLine($"Button '{s}' Click");
52Console.WriteLine($"Button '{s}' Click");
57Console.WriteLine($"(returns) Button '{s}' Click");
62Console.WriteLine($"Button '{s}' Click");
73page2.Created += (s, e) => Console.WriteLine("Page2 Created");
74page2.Destroyed += (s, e) => Console.WriteLine("Page2 Destroyed");
80page1.Verification.CheckedChanged += (s, e) => Console.WriteLine($"CheckBox CheckedChanged: {page1.Verification.Checked}");
85radioButton1.CheckedChanged += (s, e) => Console.WriteLine($"RadioButton1 CheckedChanged: {radioButton1.Checked}");
86radioButton2.CheckedChanged += (s, e) => Console.WriteLine($"RadioButton2 CheckedChanged: {radioButton2.Checked}");
89Console.WriteLine($"---> Dialog Result: {dialogResult}");
TlsFeaturesObserve (2)
vbc (1)
VisualBasicSyntaxGenerator (5)
WaitForSandbox.DbSetup (1)
Wasm.Performance.ConsoleHost (1)
Wasm.Performance.Driver (9)
WebSocketSample (2)
WebTransportInteractiveSampleApp (2)
WebTransportSampleApp (2)
WinFormsControlsTest (29)
xunit.console (63)
ConsoleRunner.cs (61)
54Console.WriteLine("Canceling... (Press Ctrl+C again to terminate)");
108Console.WriteLine($"error: {ex.Message}");
115Console.WriteLine(ex.StackTrace);
166Console.WriteLine($"Type {type.FullName} in assembly {dllFile} appears to be a runner reporter, but does not have an empty constructor.");
182Console.WriteLine($"Microsoft.DotNet.XUnitConsoleRunner v{typeof(ConsoleRunner).Assembly.GetName().Version} ({IntPtr.Size * 8}-bit {platform})");
189Console.WriteLine("Copyright (C) .NET Foundation.");
191Console.WriteLine($"usage: {executableName} <assemblyFile> [configFile] [assemblyFile [configFile]...] [options] [reporter] [resultFormat filename [...]]");
193Console.WriteLine("Note: Configuration files must end in .json (XML is not supported on .NET Core)");
195Console.WriteLine("Valid options:");
196Console.WriteLine(" -nologo : do not show the copyright message");
197Console.WriteLine(" -nocolor : do not output results with colors");
198Console.WriteLine(" -failskips : convert skipped tests into failures");
199Console.WriteLine(" -stoponfail : stop on first test failure");
200Console.WriteLine(" -parallel option : set parallelization based on option");
201Console.WriteLine(" : none - turn off all parallelization");
202Console.WriteLine(" : collections - only parallelize collections");
203Console.WriteLine(" : assemblies - only parallelize assemblies");
204Console.WriteLine(" : all - parallelize assemblies & collections");
205Console.WriteLine(" -maxthreads count : maximum thread count for collection parallelization");
206Console.WriteLine(" : default - run with default (1 thread per CPU thread)");
207Console.WriteLine(" : unlimited - run with unbounded thread count");
208Console.WriteLine(" : (number) - limit task thread pool size to 'count'");
209Console.WriteLine(" -wait : wait for input after completion");
210Console.WriteLine(" -diagnostics : enable diagnostics messages for all test assemblies");
211Console.WriteLine(" -internaldiagnostics : enable internal diagnostics messages for all test assemblies");
213Console.WriteLine(" -pause : pause before doing any work, to help attach a debugger");
215Console.WriteLine(" -debug : launch the debugger to debug the tests");
216Console.WriteLine(" -serialize : serialize all test cases (for diagnostic purposes only)");
217Console.WriteLine(" -trait \"name=value\" : only run tests with matching name/value traits");
218Console.WriteLine(" : if specified more than once, acts as an OR operation");
219Console.WriteLine(" -notrait \"name=value\" : do not run tests with matching name/value traits");
220Console.WriteLine(" : if specified more than once, acts as an AND operation");
221Console.WriteLine(" -method \"name\" : run a given test method (can be fully specified or use a wildcard;");
222Console.WriteLine(" : i.e., 'MyNamespace.MyClass.MyTestMethod' or '*.MyTestMethod')");
223Console.WriteLine(" : if specified more than once, acts as an OR operation");
224Console.WriteLine(" -nomethod \"name\" : do not run a given test method (can be fully specified or use a wildcard;");
225Console.WriteLine(" : i.e., 'MyNamespace.MyClass.MyTestMethod' or '*.MyTestMethod')");
226Console.WriteLine(" : if specified more than once, acts as an AND operation");
227Console.WriteLine(" -class \"name\" : run all methods in a given test class (should be fully");
228Console.WriteLine(" : specified; i.e., 'MyNamespace.MyClass')");
229Console.WriteLine(" : if specified more than once, acts as an OR operation");
230Console.WriteLine(" -noclass \"name\" : do not run any methods in a given test class (should be fully");
231Console.WriteLine(" : specified; i.e., 'MyNamespace.MyClass')");
232Console.WriteLine(" : if specified more than once, acts as an AND operation");
233Console.WriteLine(" -namespace \"name\" : run all methods in a given namespace (i.e.,");
234Console.WriteLine(" : 'MyNamespace.MySubNamespace')");
235Console.WriteLine(" : if specified more than once, acts as an OR operation");
236Console.WriteLine(" -nonamespace \"name\" : do not run any methods in a given namespace (i.e.,");
237Console.WriteLine(" : 'MyNamespace.MySubNamespace')");
238Console.WriteLine(" : if specified more than once, acts as an AND operation");
239Console.WriteLine(" -noautoreporters : do not allow reporters to be auto-enabled by environment");
240Console.WriteLine(" : (for example, auto-detecting TeamCity or AppVeyor)");
241Console.WriteLine(" -framework \"name\" : set the target framework");
247Console.WriteLine("Reporters: (optional, choose only one)");
250Console.WriteLine($" -{reporter.RunnerSwitch.ToLowerInvariant().PadRight(21)} : {reporter.Description}");
255Console.WriteLine("Result formats: (optional, choose one or more)");
257transform => Console.WriteLine($" -{$"{transform.CommandLine} <filename>".PadRight(21).Substring(0, 21)} : {transform.Description}")
408Console.WriteLine("Canceling due to test failure...");
421Console.WriteLine($"{e.GetType().FullName}: {e.Message}");
424Console.WriteLine(e.StackTrace);
441Console.WriteLine($"File not found: {fileName}");