[MTP] Improve performance of validating command line options #5655
+208
−26
Azure Pipelines / microsoft.testfx (Build Linux Debug)
failed
Apr 1, 2026 in 3m 19s
Build Linux Debug failed
Annotations
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)
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)
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)
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)
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)
Loading