3411 references to Console
Accessibility_Core_App (16)
TaskDialogTesting.cs (16)
19page1.Created += (s, e) => Console.WriteLine("Page1 Created");
20page1.Destroyed += (s, e) => Console.WriteLine("Page1 Destroyed");
21page1.HelpRequest += (s, e) => Console.WriteLine("Page1 HelpRequest");
28page1.Expander.ExpandedChanged += (s, e) => Console.WriteLine($"Expander ExpandedChanged: {page1.Expander.Expanded}");
42buttonOK.Click += (s, e) => Console.WriteLine($"Button '{s}' Click");
43buttonHelp.Click += (s, e) => Console.WriteLine($"Button '{s}' Click");
47Console.WriteLine($"Button '{s}' Click");
52Console.WriteLine($"Button '{s}' Click");
57Console.WriteLine($"(returns) Button '{s}' Click");
62Console.WriteLine($"Button '{s}' Click");
73page2.Created += (s, e) => Console.WriteLine("Page2 Created");
74page2.Destroyed += (s, e) => Console.WriteLine("Page2 Destroyed");
80page1.Verification.CheckedChanged += (s, e) => Console.WriteLine($"CheckBox CheckedChanged: {page1.Verification.Checked}");
85radioButton1.CheckedChanged += (s, e) => Console.WriteLine($"RadioButton1 CheckedChanged: {radioButton1.Checked}");
86radioButton2.CheckedChanged += (s, e) => Console.WriteLine($"RadioButton2 CheckedChanged: {radioButton2.Checked}");
89Console.WriteLine($"---> Dialog Result: {dialogResult}");
AnalyzerRunner (35)
Aspire.Dashboard.Tests (1)
Aspire.EndToEnd.Tests (13)
Aspire.Hosting (2)
Aspire.RuntimeIdentifier.Tool (2)
Aspire.Workload.Tests (13)
AutobahnTestApp (6)
BoundTreeGenerator (4)
BuildActionTelemetryTable (6)
BuildBoss (12)
BuildValidator (3)
ClientSample (30)
CodeGenerator (7)
CodeStyleConfigFileGenerator (1)
ConfigurationSchemaGenerator.Tests (1)
csc (8)
CSharpErrorFactsGenerator (1)
CSharpSyntaxGenerator (8)
csi (1)
CustomEncryptorSample (2)
DaprServiceC (1)
DefaultBuilder.SampleApp (8)
DesignSurface (8)
Diagnostics.EFCore.FunctionalTests (1)
DnnAnalyzer (2)
dotnet-dev-certs (24)
dotnet-getdocument (23)
dotnet-openapi (25)
dotnet-razorpagegenerator (12)
dotnet-sql-cache (22)
dotnet-svcutil.xmlserializer (16)
dotnet-svcutil-lib (29)
dotnet-svcutil-lib.Tests (3)
dotnet-user-jwts (25)
dotnet-user-secrets (22)
EntityFrameworkCoreSample (1)
EventHubsConsumer (3)
GenerateRulesMissingDocumentation (7)
GetDocument.Insider (23)
HelixTestRunner (4)
Http2SampleApp (1)
HttpAbstractions.SampleApp (1)
HttpClientApp (4)
HttpStress (52)
IdeBenchmarks (5)
IdeCoreBenchmarks (54)
IIS.Microbenchmarks (5)
IIS.ShadowCopy.Tests (1)
illink (99)
Linker\Driver.cs (98)
56 Console.Error.WriteLine ("No parameters specified");
71 Console.Error.WriteLine ("Fatal error in {0}", _linker);
109 Console.Error.WriteLine ("Cannot read response file due to '{0}'", e.Message);
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");
1340 Console.WriteLine ();
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'");
1347 Console.WriteLine (" -h Lists all {0} options", _linker);
1348 Console.WriteLine (" @FILE Read response file for more options");
1350 Console.WriteLine ();
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");
1362 Console.WriteLine ();
1363 Console.WriteLine ("Advanced Options");
1364 Console.WriteLine (" --about About the {0}", _linker);
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");
1383 Console.WriteLine (" --version Print the version number of the {0}", _linker);
1385 Console.WriteLine ();
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");
1416 Console.WriteLine ();
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 ("");
1430 Console.WriteLine ("{0} Version {1}",
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 (2)
Infrastructure.Common (10)
InMemory.FunctionalTests (2)
InProcessWebSite (21)
InteractiveHost32 (1)
InteractiveHost64 (1)
InteropClient (51)
InteropWebsite (4)
IOperationGenerator (17)
IStartupInjectionAssemblyName (1)
JwtClientSample (4)
Kestrel.SampleApp (2)
KeyManagementSample (7)
KeyManagementSimulator (16)
Microsoft.Arcade.Common (3)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (2)
Microsoft.AspNetCore.Components.Performance (5)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.Components.WebView.Photino (1)
Microsoft.AspNetCore.Components.WebViewE2E.Test (28)
Microsoft.AspNetCore.ConcurrencyLimiter.Microbenchmarks (5)
Microsoft.AspNetCore.Grpc.Microbenchmarks (5)
Microsoft.AspNetCore.Hosting (11)
Microsoft.AspNetCore.Hosting.TestSites (5)
Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks (5)
Microsoft.AspNetCore.Http.Microbenchmarks (5)
Microsoft.AspNetCore.OpenApi.Microbenchmarks (5)
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (5)
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (5)
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (5)
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (5)
Microsoft.AspNetCore.Routing.Microbenchmarks (5)
Microsoft.AspNetCore.Security.Microbenchmarks (5)
Microsoft.AspNetCore.Server.HttpSys.Microbenchmarks (5)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (6)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.Shared.Tests (9)
Microsoft.AspNetCore.SignalR.Microbenchmarks (5)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.WebSockets.Microbenchmarks (5)
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (5)
Microsoft.Build (56)
BackEnd\Components\Scheduler\SchedulingPlan.cs (16)
241Console.WriteLine("{0}: {1} ({2} referrers) {3}", configuration.Key, config.TotalPlanTime, config.ReferrerCount, config.ConfigFullPath);
244Console.WriteLine(" {0} {1}", referrer.ConfigId, referrer.ConfigFullPath);
247Console.WriteLine();
250Console.WriteLine();
258Console.WriteLine("Projects with the most immediate children:");
263Console.WriteLine("{0}: {1} {2}", configuration.Key, configuration.Value.ReferencesCount, configuration.Value.ConfigFullPath);
266Console.WriteLine();
274Console.WriteLine("Configs in hierarchy by number of occurrences:");
279Console.WriteLine("{0}: {1} {2}", configId, _configIdToPaths[configId].Count, _configIdToData[configId].ConfigFullPath);
282Console.WriteLine();
332Console.WriteLine("Projects by expense:");
341Console.WriteLine("{0}: {1} {2}", config.ConfigId, config.AccumulatedTime, config.ConfigFullPath);
348Console.Write(" ");
351Console.Write(" {0}", pathEntry.ConfigId);
354Console.WriteLine();
357Console.WriteLine();
Microsoft.Build.CommandLine.UnitTests (6)
Microsoft.Build.Engine.OM.UnitTests (10)
Microsoft.Build.Engine.UnitTests (104)
FileMatcher_Tests.cs (9)
600Console.WriteLine($"Input {input.Item1} with pattern {input.Item2} failed");
651Console.WriteLine("GetFileSystemEntries('{0}', '{1}')", path, pattern);
1247Console.WriteLine(result);
1267Console.WriteLine(result);
2496Console.WriteLine("Expect Fixed '{0}' got '{1}'", expectedFixedDirectoryPart, fixedDirectoryPart);
2497Console.WriteLine("Expect Wildcard '{0}' got '{1}'", expectedWildcardDirectoryPart, wildcardDirectoryPart);
2498Console.WriteLine("Expect Filename '{0}' got '{1}'", expectedFilenamePart, filenamePart);
2604Console.WriteLine("Checking FileSpec: '{0}' against '{1}'", filespec, fileToMatch);
2609Console.WriteLine("Checking FileSpec: '{0}' against '{1}'", filespec, fileToMatch);
Microsoft.Build.Framework (3)
Microsoft.Build.Tasks.CodeAnalysis (8)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Tasks.UnitTests (47)
Microsoft.Build.UnGAC (4)
Microsoft.Build.UnitTests.Shared (30)
Microsoft.Build.Utilities.Core (3)
Microsoft.Build.Utilities.UnitTests (19)
Microsoft.Cci.Extensions (2)
Microsoft.CodeAnalysis (11)
Microsoft.CodeAnalysis.CodeStyle (10)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (10)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (11)
Microsoft.CodeAnalysis.Features (3)
Microsoft.CodeAnalysis.InteractiveHost (30)
Microsoft.CodeAnalysis.LanguageServer (2)
Microsoft.CodeAnalysis.Scripting (5)
Microsoft.CodeAnalysis.Test.Utilities (7)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (10)
Microsoft.CodeAnalysis.Workspaces (10)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (13)
Microsoft.DotNet.Arcade.Sdk (2)
Microsoft.DotNet.ArcadeAzureIntegration (1)
Microsoft.DotNet.ArcadeLogging (2)
Microsoft.DotNet.AsmDiff (1)
Microsoft.DotNet.GenAPI (1)
Microsoft.DotNet.Open.Api.Tools.Tests (1)
Microsoft.DotNet.RemoteExecutor (1)
Microsoft.DotNet.SignCheckLibrary (6)
Microsoft.DotNet.SwaggerGenerator.CmdLine (5)
Microsoft.DotNet.Tar (3)
Microsoft.DotNet.VersionTools.Cli (5)
Microsoft.Extensions.AI.AotCompatibility.TestApp (1)
Microsoft.Extensions.ApiDescription.Client.Tests (1)
Microsoft.Extensions.ApiDescription.Tool.Tests (1)
Microsoft.Extensions.Caching.MicroBenchmarks (1)
Microsoft.Extensions.Diagnostics (1)
Microsoft.Extensions.Logging.Console (8)
Microsoft.Extensions.ObjectPool.Microbenchmark (5)
Microsoft.Extensions.SecretManager.Tools.Tests (2)
Microsoft.Extensions.Telemetry (1)
Microsoft.Extensions.Telemetry.Tests (5)
Microsoft.ML.AutoML.Samples (92)
Microsoft.ML.AutoML.Tests (6)
Microsoft.ML.Core (15)
Microsoft.ML.CpuMath.PerformanceTests (1)
Microsoft.ML.Data (1)
Microsoft.ML.GenAI.Samples (10)
Microsoft.ML.IntegrationTests (2)
Microsoft.ML.Maml (6)
Microsoft.ML.NugetPackageVersionUpdater (2)
Microsoft.ML.PerformanceTests (5)
Microsoft.ML.ResultProcessor (13)
ResultProcessor.cs (13)
161Console.Error.WriteLine("Can't load trainer '{0}'", predictorName);
384Console.Error.WriteLine("ResultProcessor was asked to process results from file {0} which does not exist.", filename);
391Console.Error.WriteLine("Empty file {0}", filename);
415Console.Error.WriteLine("Results file {0} does not contain the MAML executable command:", filename);
416Console.Error.WriteLine("\t{0}", commandline);
630Console.Error.WriteLine("Invalid file format.");
904Console.Error.WriteLine("ResultProcessor tried to extract fold starting at line {0}, couldn't find end-of-fold separator before end of file.", startLineIdx);
911Console.Error.WriteLine("ResultProcessor failed to parse fold starting at line {0} ending at line {1}.", startLineIdx, endLineIdx);
916Console.Error.WriteLine("Fold {0} results have already been added, not adding.", thisFoldResults.Key);
967Console.Error.WriteLine("Couldn't parse fold index line: " + lines[0]);
973Console.Error.WriteLine("Couldn't parse fold index line: " + lines[0]);
1024Console.Error.WriteLine(e.Message);
1082? File.CreateText(cmd.OutputFile) : Console.Out);
Microsoft.ML.Samples (976)
Dynamic\TensorFlow\TextClassification.cs (5)
67Console.WriteLine("Name: {0}, Type: {1}, Shape: (-1, {2})", "Features",
72Console.WriteLine("Name: {0}, Type: {1}, Shape: (-1, {2})",
125Console.WriteLine("Number of classes: {0}", prediction.Prediction
127Console.WriteLine("Is sentiment/review positive? {0}", prediction
129Console.WriteLine("Prediction Confidence: {0}", prediction.Prediction[1]
Dynamic\Trainers\BinaryClassification\Calibrators\FixedPlatt.cs (2)
79Console.WriteLine("{0, -10} {1, -10}", "Score", value.Score);
87Console.WriteLine("{0, -10} {1, -10} {2, -10} {3, -10}", "Score",
Dynamic\Trainers\BinaryClassification\Calibrators\Isotonic.cs (2)
79Console.WriteLine("{0, -10} {1, -10}", "Score", value.Score);
87Console.WriteLine("{0, -10} {1, -10} {2, -10} {3, -10}", "Score",
Dynamic\Trainers\BinaryClassification\Calibrators\Naive.cs (2)
79Console.WriteLine("{0, -10} {1, -10}", "Score", value.Score);
87Console.WriteLine("{0, -10} {1, -10} {2, -10} {3, -10}", "Score",
Dynamic\Trainers\BinaryClassification\Calibrators\Platt.cs (2)
79Console.WriteLine("{0, -10} {1, -10}", "Score", value.Score);
87Console.WriteLine("{0, -10} {1, -10} {2, -10} {3, -10}", "Score",
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCount.cs (4)
20Console.WriteLine($"NumericVector StringVector");
22Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item
50Console.WriteLine($"NumericVector StringVector");
52Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item.
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (4)
20Console.WriteLine($"NumericVector StringVector");
22Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item.
50Console.WriteLine($"NumericVector StringVector");
52Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformation.cs (4)
20Console.WriteLine($"Label NumericVector");
22Console.WriteLine("{0,-25} {1,-25}", item.Label, string.Join(",",
48Console.WriteLine($"NumericVector");
50Console.WriteLine("{0,-25}", string.Join(",", item.NumericVector));
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformationMultiColumn.cs (4)
20Console.WriteLine($"NumericVectorA NumericVectorB");
22Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item
51Console.WriteLine($"NumericVectorA NumericVectorB");
53Console.WriteLine("{0,-25} {1,-25}", string.Join(",", item
Dynamic\Transforms\ImageAnalytics\ConvertToGrayScale.cs (2)
62Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25}", "ImagePath",
95Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25}",
Dynamic\Transforms\ImageAnalytics\ConvertToImage.cs (2)
50Console.WriteLine("{0, -25} {1, -25} {2, -25}", "Features", "Image",
77Console.WriteLine("{0, -25} {1, -25} {2, -25}", string.Join(",",
Dynamic\Transforms\ImageAnalytics\ExtractPixels.cs (2)
69Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25} {4, -25}",
109Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25} " +
Dynamic\Transforms\ImageAnalytics\LoadImages.cs (2)
61Console.WriteLine("{0, -25} {1, -25} {2, -25}", "ImagePath", "Name",
89Console.WriteLine("{0, -25} {1, -25} {2, -25}",
Dynamic\Transforms\ImageAnalytics\ResizeImages.cs (2)
64Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25}", "ImagePath",
97Console.WriteLine("{0, -25} {1, -25} {2, -25} {3, -25}",
Microsoft.ML.Samples.GPU (80)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (5)
67Console.WriteLine("Name: {0}, Type: {1}, Shape: (-1, {2})", "Features",
72Console.WriteLine("Name: {0}, Type: {1}, Shape: (-1, {2})",
125Console.WriteLine("Number of classes: {0}", prediction.Prediction
127Console.WriteLine("Is sentiment/review positive? {0}", prediction
129Console.WriteLine("Prediction Confidence: {0}", prediction.Prediction[1]
Microsoft.ML.Samples.OneDal (6)
Program.cs (6)
182Console.WriteLine("algorithm,all workflow time[ms],training accuracy,testing accuracy,training F1 score,testing F1 score");
183Console.WriteLine($"Random Forest Binary,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
189Console.WriteLine("algorithm,all workflow time[ms],training RMSE,testing RMSE,training R2 score,testing R2 score");
190Console.WriteLine($"Random Forest Regression,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
197Console.WriteLine("algorithm,all workflow time[ms],training RMSE,testing RMSE,training R2 score,testing R2 score");
198Console.WriteLine($"OLS Regression,{mainWatch.Elapsed.TotalMilliseconds},{metrics[0]},{metrics[1]},{metrics[2]},{metrics[3]}");
Microsoft.ML.StandardTrainers (21)
Optimizer\DifferentiableFunction.cs (7)
194Console.WriteLine(Header);
231Console.WriteLine("{0,-9}{1,-18:0.0000e0}{2,-18:0.0000e0}{3,-15:0.0000e0}{4,0:0.0000e0}", n, numDeriv, dirDeriv, diff, normDiff);
258Console.WriteLine(Header);
278Console.WriteLine("{0,-9}{1,-18:0.0000e0}{2,-18:0.0000e0}{3,-15:0.0000e0}{4,0:0.0000e0}", n, numDeriv, dirDeriv, diff, normDiff);
297Console.WriteLine(Header);
316Console.WriteLine("{0,-9}{1,-18:0.0000e0}{2,-18:0.0000e0}{3,-15:0.0000e0}{4,0:0.0000e0}", n, numDeriv, dirDeriv, diff, normDiff);
351Console.WriteLine("{0,-18:0.0000e0}{1,-18:0.0000e0}{2,-15:0.0000e0}{3,0:0.0000e0}", numDeriv, dirDeriv, diff, normDiff);
Microsoft.ML.TensorFlow.Tests (3)
Microsoft.ML.TestFramework (4)
Microsoft.ML.Tests (8)
Microsoft.ML.TimeSeries.Tests (1)
Microsoft.ML.Tokenizers.Data.Tests (1)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.ML.TorchSharp (1)
MiddlewareAnalysisSample (3)
MilvusPlayground.ApiService (1)
MinimalSample (3)
MSBuild (85)
XMake.cs (68)
214Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("InvalidConfigurationFile", builder.ToString()));
270Console.CancelKeyPress += Console_CancelKeyPress;
438Console.WriteLine("\n{0}{1}{0}", new string('=', 41 - ("Process".Length / 2)), "Process");
439Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak Working Set", currentProcess.PeakWorkingSet64, "bytes");
440Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak Paged Memory", currentProcess.PeakPagedMemorySize64, "bytes"); // Not very useful one
441Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak Virtual Memory", currentProcess.PeakVirtualMemorySize64, "bytes"); // Not very useful one
442Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak Privileged Processor Time", currentProcess.PrivilegedProcessorTime.TotalMilliseconds, "ms");
443Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak User Processor Time", currentProcess.UserProcessorTime.TotalMilliseconds, "ms");
444Console.WriteLine("||{0,50}|{1,20:N0}|{2,8}|", "Peak Total Processor Time", currentProcess.TotalProcessorTime.TotalMilliseconds, "ms");
446Console.WriteLine("{0}{0}", new string('=', 41));
506Console.WriteLine("\n{0}{1}{0}", new string('=', 41 - (category.CategoryName.Length / 2)), category.CategoryName);
516Console.WriteLine("{0}{0}", new string('=', 41));
545Console.WriteLine("||{0,50}|{1}|{2,8}|", counter.CounterName, valueString, friendlyCounterType);
631Console.WriteLine($"Waiting for debugger to attach ({currentProcess.MainModule.FileName} PID {currentProcess.Id}). Press enter to continue...");
632Console.ReadLine();
687Console.CancelKeyPress += cancelHandler;
804Console.WriteLine(ResourceUtilities.GetResourceString("PossiblyOmittedMaxCPUSwitch"));
842exitType = OutputPropertiesAfterEvaluation(getProperty, getItem, project, Console.Out);
915exitType = OutputBuildInformationInJson(result, getProperty, getItem, getTargetResult, loggers, exitType, Console.Out);
947Console.WriteLine(e.Message);
948Console.WriteLine();
958Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("ConfigurationFailurePrefixNoErrorCode", e.ErrorCode, e.Message));
965Console.WriteLine(e.Message);
976Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerFailurePrefixNoErrorCode", e.ErrorCode, e.Message));
982Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("LoggerFailurePrefixWithErrorCode", e.Message));
989Console.WriteLine(e.InnerException.ToString());
1000Console.WriteLine($"MSBUILD : error {e.ErrorCode}: {e.Message}");
1002Console.WriteLine("This is an unhandled exception from a logger -- PLEASE OPEN A BUG AGAINST THE LOGGER OWNER.");
1006Console.WriteLine(e.InnerException.ToString());
1012Console.WriteLine(
1019Console.WriteLine($"MSBUILD : error {e.ErrorCode}: {e.Message}");
1024Console.WriteLine("This is an unhandled exception from a project cache -- PLEASE OPEN A BUG AGAINST THE PROJECT CACHE OWNER.");
1030Console.WriteLine(e.InnerException.ToString());
1037Console.WriteLine(
1046Console.WriteLine("{0}\r\n{1}", AssemblyResources.GetString("FatalError"), e.ToString());
1048Console.WriteLine("This is an unhandled exception in MSBuild Engine -- PLEASE OPEN A BUG AGAINST THE MSBUILD TEAM.\r\n{0}", e.ToString());
1060Console.CancelKeyPress -= cancelHandler;
1119Console.Error.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("BuildFailedWithPropertiesItemsOrTargetResultsRequested"));
1430Console.WriteLine(ResourceUtilities.GetResourceString("UnsupportedSwitchForSolutionFiles"), CommandLineSwitches.ParameterizedSwitch.Preprocess);
1451Console.WriteLine(ResourceUtilities.GetResourceString("UnsupportedSwitchForSolutionFiles"), CommandLineSwitches.ParameterizedSwitch.Targets);
1672Console.WriteLine(AssemblyResources.GetString("FatalError"));
1674Console.WriteLine("This is an unhandled exception in MSBuild -- PLEASE OPEN A BUG AGAINST THE MSBUILD TEAM.");
1676Console.WriteLine(exception.ToString());
1677Console.WriteLine();
1727Console.Error.WriteLine(message);
1918Console.OutputEncoding = Encoding.UTF8;
1920Console.InputEncoding = Encoding.UTF8;
1933codepage = Console.OutputEncoding.CodePage;
2531Console.WriteLine($"Waiting for debugger to attach... ({currentProcess.MainModule.FileName} PID {currentProcess.Id})");
2781Console.WriteLine($"{Path.Combine(s_exePath, s_exeName)} {equivalentCommandLine} {projectFile}");
3217TextWriter writer = Console.Out;
3236TextWriter writer = Console.Out;
4416Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("OptionalLoggerCreationMessage", loggerDescription.Name, e.Message));
4491Console.WriteLine(message);
4577Console.WriteLine(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("MSBuildVersionMessage", ProjectCollection.DisplayVersion, NativeMethods.FrameworkName));
4589Console.WriteLine(AssemblyResources.GetString("HelpMessage_1_Syntax"));
4590Console.WriteLine(AssemblyResources.GetString("HelpMessage_2_Description"));
4591Console.WriteLine(AssemblyResources.GetString("HelpMessage_3_SwitchesHeader"));
4594Console.WriteLine(AssemblyResources.GetString(parameterizedSwitchRsouceId));
4598Console.WriteLine(AssemblyResources.GetString(parameterlessSwitchRsouceId));
4600Console.WriteLine(AssemblyResources.GetString("HelpMessage_7_ResponseFile"));
4601Console.WriteLine(AssemblyResources.GetString("HelpMessage_16_Examples"));
4602Console.WriteLine(AssemblyResources.GetString("HelpMessage_37_DocsLink"));
4610Console.WriteLine(AssemblyResources.GetString("HelpPrompt"));
4621Console.WriteLine(ProjectCollection.Version.ToString());
4625Console.Write(ProjectCollection.Version.ToString());
4635Console.WriteLine(availability);
4646Console.WriteLine(jsonNode.ToJsonString(options));
MSBuildTaskHost (4)
mscorlib (1)
netstandard (1)
NonDISample (2)
PhotinoTestApp (1)
PrepareTests (9)
PresentationCore (1)
PresentationFramework (7)
MS\Internal\Data\AccessorTable.cs (5)
131Console.WriteLine($"After generation {_generation}, removed {originalCount - _table.Count} of {originalCount} entries from AccessorTable, new count is {_table.Count}");
148Console.WriteLine("No stats available for AccessorTable.");
152Console.WriteLine("AccessorTable had {0} hits, {1} misses ({2,2}%) in {3} generations.",
154Console.WriteLine(" Age Hits Pct Cumulative");
161Console.WriteLine("{0,5} {1,6} {2,5} {3,5}",
QueueSharing (4)
ReachFramework (81)
AlphaFlattener\PrimitiveList.cs (35)
83Console.WriteLine();
85Console.WriteLine(" No Type Und Ovr TrO Bounding Box Clipping");
89Console.Write(" Transform");
92Console.WriteLine();
102Console.Write(LeftPad(index, 4) + LeftPad(typ, 18) + ":");
108Console.Write(' ');
112Console.Write('@');
117Console.Write(" ");
123Console.Write(LeftPad(info.underlay.Count, 3));
128Console.Write(' ' + LeftPad(info.overlap.Count, 3));
132Console.Write('$');
133Console.Write(LeftPad(info.overlapHasTransparency, 3));
137Console.Write(" ");
140Console.Write(' ');
144Console.Write(" ");
147Console.Write(LeftPad(info.bounds, 0));
153Console.Write(LeftPad(clip.Bounds, 0));
160Console.Write(" {");
161Console.Write(LeftPad(m.M11, 3) + ' ');
162Console.Write(LeftPad(m.M12, 3) + ' ');
163Console.Write(LeftPad(m.M21, 3) + ' ');
164Console.Write(LeftPad(m.M22, 3) + ' ');
165Console.Write(LeftPad(m.OffsetX, 6) + ' ');
166Console.Write(LeftPad(m.OffsetY, 6));
167Console.Write("} ");
178Console.Write(" \"");
182Console.Write(chars[i]);
185Console.Write('"');
203Console.Write(" SolidColorBrush({0})", sb.Color);
211Console.Write(' ');
212Console.Write(LeftPad(extra, 0));
215Console.WriteLine();
299Console.Write("skip ");
374Console.Write(" <{0} {1}>", one, two);
380Console.WriteLine();
Redis (1)
RemoteExecutorConsoleApp (1)
Replay (22)
ResultsOfTGenerator (11)
Roslyn.PerformanceTests (1)
Roslyn.Test.Performance.Utilities (2)
RoutingSandbox (7)
RoutingWebSite (7)
RunTests (18)
SampleStartups (5)
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 (126)
ConsoleStresser.cs (124)
11var stdout = Console.OpenStandardOutput();
14Console.SetOut(con);
16Console.WriteLine();
17Console.WriteLine("Console stress");
18Console.WriteLine("==============");
19Console.WriteLine();
21Console.WriteLine("UTF-8 characters:");
22Console.WriteLine("Emojis: \U0001F600, \U0001F680, \U0001F4A9");
23Console.WriteLine("Chinese: \u8fd9\u662f\u4e00\u4e2a\u4e2d\u6587\u5b57\u7b26\u4e32"); // "This is a Chinese string"
24Console.WriteLine();
26Console.WriteLine("Entire URL in one segment:");
27Console.Write("\x1b[36mhttp://localhost:7000\x1b[0m");
28Console.WriteLine();
30Console.WriteLine("Scheme and host in separate segment to port:");
31Console.Write("\x1b[36mhttp://localhost\x1b[0m");
32Console.Write("\x1b[31m:7001\x1b[0m");
33Console.WriteLine();
35Console.WriteLine("Everything in different segments:");
36Console.Write("\x1b[36mhttp\x1b[0m");
37Console.Write("\x1b[31m://\x1b[0m");
38Console.Write("\x1b[32mlocalhost\x1b[0m");
39Console.Write("\x1b[33m:7002\x1b[0m");
40Console.WriteLine();
41Console.WriteLine();
43Console.WriteLine("URL examples:");
44Console.Write("\x1b[36m"); // Set color so we can see the difference between URLs and the rest of the text
45Console.WriteLine("https://www.example.com");
46Console.WriteLine("https://subdomain.example.com");
47Console.WriteLine("http://www.example.com");
48Console.WriteLine("http://example.com/path/to/page");
49Console.WriteLine("https://www.example.com?query=string¶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/");
87Console.Write("\x1b[0m"); // reset color
90Console.WriteLine();
91Console.WriteLine("ANSI Console Foreground and Background Colors");
96Console.Write("\x1b[" + color + "m"); // Set foreground color
97Console.WriteLine($"This is foreground color {color}");
99Console.Write("\x1b[0m"); // Reset colors to default
104Console.Write("\x1b[" + color + "m"); // Set background color
105Console.Write($"This is background color {color}");
106Console.WriteLine("\x1b[0m"); // Reset colors to default after each background to maintain readability
108Console.Write("\x1b[0m"); // Reset all colors to default at the end
110Console.WriteLine();
111Console.WriteLine("\u001b[36;45mThis text is Cyan with a Magenta background.\u001b[0m");
112Console.WriteLine("\u001b[31mThis text has a red foreground using ANSI escape codes.\u001b[0m");
113Console.WriteLine("\u001b[42mThis text has a green background using ANSI escape codes.\u001b[0m");
114Console.WriteLine("\u001b[1mThis text is bold using ANSI escape codes.\u001b[0m");
115Console.WriteLine("\u001b[4mThis text is underlined using ANSI escape codes.\u001b[0m");
116Console.WriteLine("\u001b[31;1;4mThis text is red, bold, and underlined.\u001b[0m");
117Console.WriteLine("\u001b[31;3;4mThis text is red, italic and underlined.\u001b[0m");
118Console.WriteLine("\u001b[31;3;4;9mThis text is red, italic and strikethrough.\u001b[0m");
119Console.WriteLine("\u001b[31;42;3;4mThis text is red, green background, italic and underlined.\u001b[0m");
121Console.WriteLine();
122Console.WriteLine("\u001b[38;5;221mThis text is a Xterm text color using ANSI escape codes.\u001b[0m");
123Console.WriteLine("\u001b[48;5;95mThis text is a Xterm bakground color using ANSI escape codes.\u001b[0m");
124Console.WriteLine("\u001b[38;5;221m\u001b[48;5;95mThis text is a Xterm text and bakground color using ANSI escape codes.\u001b[0m");
125Console.WriteLine("\u001b[38;5;243mThis text is a Xterm gray text color using ANSI escape codes.\u001b[0m");
126Console.WriteLine("\u001b[48;5;243mThis text is a Xterm gray background color using ANSI escape codes.\u001b[0m");
127Console.WriteLine("\u001b[38;5;1mThis text is a Xterm red color using ANSI escape codes.\u001b[0m");
128Console.WriteLine("\u001b[38;5;9mThis text is a Xterm bright red color using ANSI escape codes.\u001b[0m");
129Console.WriteLine("\u001b[48;5;1mThis text is a Xterm red background color using ANSI escape codes.\u001b[0m");
130Console.WriteLine("\u001b[48;5;9mThis text is a Xterm bright red background color using ANSI escape codes.\u001b[0m");
131Console.WriteLine("\u001b[3;38;5;9mThis text is a Xterm bright red color and italic using ANSI escape codes.\u001b[0m");
132Console.WriteLine("\u001b[4;38;5;9mThis text is a Xterm bright red color and underlined using ANSI escape codes.\u001b[0m");
133Console.WriteLine("\u001b[9;38;5;9mThis text is a Xterm bright red color and strikethrough using ANSI escape codes.\u001b[0m");
135Console.WriteLine();
136Console.WriteLine("\u001b[38;5;321mThis text is a Xterm text color using invalid color value.\u001b[0m");
137Console.WriteLine("\u001b[38;5;100This text is a Xterm text color using unfinished escape sequence (m here to finish the sequence late).\u001b[0m");
138Console.WriteLine("\u001b[38;5;100This text is a Xterm text color using unfinished escape sequence.\u001b[0m");
140Console.WriteLine();
141Console.WriteLine("A link in escape sequence: \u001b]8;;https://example.com\u001b\\The link text\u001b]8;;\u001b\\");
142Console.WriteLine("A link with formatted link text in escape sequnce: \u001b]8;;https://example.com\u001b\\The \u001b[38;5;100mlink\u001b[0m formatted text\u001b]8;;\u001b\\");
144Console.WriteLine();
145Console.WriteLine("HTML:");
146Console.WriteLine("<b>BOLD!</b>");
147Console.WriteLine("<script>alert('Hello, World!')</script>");
148Console.WriteLine("<span style=\"color: #ff0000; background-color: #00ff00; font-weight: bold; text-decoration: underline;\">This text is red with a green background, bold, and underlined using HTML.</span>");
150Console.WriteLine();
151Console.WriteLine("Long continious !!! content:");
152Console.WriteLine(new string('!', 1000));
153Console.WriteLine();
154Console.WriteLine("Long continious letter content:");
157Console.Write(new string(i % 2 == 0 ? 'a' : 'b', 50));
159Console.WriteLine();
160Console.WriteLine();
161Console.WriteLine("Long world content:");
166Console.Write(" ");
168Console.Write(new string(i % 2 == 0 ? 'a' : 'b', 50));
170Console.WriteLine();
Swaggatherer (10)
System.Console (38)
System.Diagnostics.TextWriterTraceListener (4)
System.Drawing.Common.Tests (3)
System.Net.Quic (1)
System.Net.Security (1)
System.Security.Cryptography (1)
System.Windows.Forms.Design.Tests (20)
SystemdTestApp (1)
Templates.Blazor.Tests (9)
Templates.Blazor.WebAssembly.Auth.Tests (11)
Templates.Blazor.WebAssembly.Tests (11)
Templates.Mvc.Tests (11)
Templates.Tests (11)
TestDiscoveryWorker (4)
TestProject.AppHost (2)
vbc (8)
VBCSCompiler (8)
VisualBasicSyntaxGenerator (1)
WaitForSandbox.DbSetup (1)
Wasm.Performance.ConsoleHost (10)
Wasm.Performance.Driver (13)
WebSocketSample (6)
WebTransportInteractiveSampleApp (2)
WebTransportSampleApp (2)
WinFormsControlsTest (29)
XmlFileLogger (1)
xunit.console (80)
ConsoleRunner.cs (74)
50Console.CancelKeyPress += (sender, e) =>
54Console.WriteLine("Canceling... (Press Ctrl+C again to terminate)");
69Console.Write("Press any key to start execution...");
70Console.ReadKey(true);
71Console.WriteLine();
95Console.WriteLine();
96Console.Write("Press any key to continue...");
97Console.ReadKey();
98Console.WriteLine();
108Console.WriteLine($"error: {ex.Message}");
115Console.WriteLine(ex.StackTrace);
166Console.WriteLine($"Type {type.FullName} in assembly {dllFile} appears to be a runner reporter, but does not have an empty constructor.");
182Console.WriteLine($"Microsoft.DotNet.XUnitConsoleRunner v{typeof(ConsoleRunner).Assembly.GetName().Version} ({IntPtr.Size * 8}-bit {platform})");
189Console.WriteLine("Copyright (C) .NET Foundation.");
190Console.WriteLine();
191Console.WriteLine($"usage: {executableName} <assemblyFile> [configFile] [assemblyFile [configFile]...] [options] [reporter] [resultFormat filename [...]]");
192Console.WriteLine();
193Console.WriteLine("Note: Configuration files must end in .json (XML is not supported on .NET Core)");
194Console.WriteLine();
195Console.WriteLine("Valid options:");
196Console.WriteLine(" -nologo : do not show the copyright message");
197Console.WriteLine(" -nocolor : do not output results with colors");
198Console.WriteLine(" -failskips : convert skipped tests into failures");
199Console.WriteLine(" -stoponfail : stop on first test failure");
200Console.WriteLine(" -parallel option : set parallelization based on option");
201Console.WriteLine(" : none - turn off all parallelization");
202Console.WriteLine(" : collections - only parallelize collections");
203Console.WriteLine(" : assemblies - only parallelize assemblies");
204Console.WriteLine(" : all - parallelize assemblies & collections");
205Console.WriteLine(" -maxthreads count : maximum thread count for collection parallelization");
206Console.WriteLine(" : default - run with default (1 thread per CPU thread)");
207Console.WriteLine(" : unlimited - run with unbounded thread count");
208Console.WriteLine(" : (number) - limit task thread pool size to 'count'");
209Console.WriteLine(" -wait : wait for input after completion");
210Console.WriteLine(" -diagnostics : enable diagnostics messages for all test assemblies");
211Console.WriteLine(" -internaldiagnostics : enable internal diagnostics messages for all test assemblies");
213Console.WriteLine(" -pause : pause before doing any work, to help attach a debugger");
215Console.WriteLine(" -debug : launch the debugger to debug the tests");
216Console.WriteLine(" -serialize : serialize all test cases (for diagnostic purposes only)");
217Console.WriteLine(" -trait \"name=value\" : only run tests with matching name/value traits");
218Console.WriteLine(" : if specified more than once, acts as an OR operation");
219Console.WriteLine(" -notrait \"name=value\" : do not run tests with matching name/value traits");
220Console.WriteLine(" : if specified more than once, acts as an AND operation");
221Console.WriteLine(" -method \"name\" : run a given test method (can be fully specified or use a wildcard;");
222Console.WriteLine(" : i.e., 'MyNamespace.MyClass.MyTestMethod' or '*.MyTestMethod')");
223Console.WriteLine(" : if specified more than once, acts as an OR operation");
224Console.WriteLine(" -nomethod \"name\" : do not run a given test method (can be fully specified or use a wildcard;");
225Console.WriteLine(" : i.e., 'MyNamespace.MyClass.MyTestMethod' or '*.MyTestMethod')");
226Console.WriteLine(" : if specified more than once, acts as an AND operation");
227Console.WriteLine(" -class \"name\" : run all methods in a given test class (should be fully");
228Console.WriteLine(" : specified; i.e., 'MyNamespace.MyClass')");
229Console.WriteLine(" : if specified more than once, acts as an OR operation");
230Console.WriteLine(" -noclass \"name\" : do not run any methods in a given test class (should be fully");
231Console.WriteLine(" : specified; i.e., 'MyNamespace.MyClass')");
232Console.WriteLine(" : if specified more than once, acts as an AND operation");
233Console.WriteLine(" -namespace \"name\" : run all methods in a given namespace (i.e.,");
234Console.WriteLine(" : 'MyNamespace.MySubNamespace')");
235Console.WriteLine(" : if specified more than once, acts as an OR operation");
236Console.WriteLine(" -nonamespace \"name\" : do not run any methods in a given namespace (i.e.,");
237Console.WriteLine(" : 'MyNamespace.MySubNamespace')");
238Console.WriteLine(" : if specified more than once, acts as an AND operation");
239Console.WriteLine(" -noautoreporters : do not allow reporters to be auto-enabled by environment");
240Console.WriteLine(" : (for example, auto-detecting TeamCity or AppVeyor)");
241Console.WriteLine(" -framework \"name\" : set the target framework");
242Console.WriteLine();
247Console.WriteLine("Reporters: (optional, choose only one)");
250Console.WriteLine($" -{reporter.RunnerSwitch.ToLowerInvariant().PadRight(21)} : {reporter.Description}");
252Console.WriteLine();
255Console.WriteLine("Result formats: (optional, choose one or more)");
257transform => Console.WriteLine($" -{$"{transform.CommandLine} <filename>".PadRight(21).Substring(0, 21)} : {transform.Description}")
408Console.WriteLine("Canceling due to test failure...");
421Console.WriteLine($"{e.GetType().FullName}: {e.Message}");
424Console.WriteLine(e.StackTrace);
441Console.WriteLine($"File not found: {fileName}");