Skip to content

Update CommandLineOptionsValidator.cs

1cc37c3
Select commit
Loading
Failed to load commit list.
Closed

[MTP] Improve performance of validating command line options #5655

Update CommandLineOptionsValidator.cs
1cc37c3
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build Windows Debug) failed Apr 1, 2026 in 6m 17s

Build Windows Debug failed

Annotations

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\a\binlogs

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

Build log #L9

Error: Not found SourceFolder: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\s\artifacts\packages\Debug\Shipping

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\s\artifacts\TestResults\Debug

Check failure on line 162 in src\Platform\Microsoft.Testing.Platform\CommandLine\CommandLineOptionsValidator.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

src\Platform\Microsoft.Testing.Platform\CommandLine\CommandLineOptionsValidator.cs#L162

src\Platform\Microsoft.Testing.Platform\CommandLine\CommandLineOptionsValidator.cs(162,87): error IDE0028: (NETCORE_ENGINEERING_TELEMETRY=Build) Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)