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 Linux Debug) failed Apr 1, 2026 in 3m 19s

Build Linux Debug failed

Annotations

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 Linux 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)

Check failure on line 171 in src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs

See this annotation in the file changed.

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

src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs#L171

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

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 Linux 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)

Check failure on line 171 in src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs

See this annotation in the file changed.

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

src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs#L171

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

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 Linux 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)