[MTP] Improve performance of validating command line options #5655
+89
−26
Azure Pipelines / microsoft.testfx (Build Linux Debug)
failed
Jun 1, 2025 in 3m 23s
Build Linux Debug failed
Annotations
azure-pipelines / microsoft.testfx (Build Linux Debug)
src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs#L130
src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs(130,60): error SA1116: (NETCORE_ENGINEERING_TELEMETRY=Build) The parameters should begin on the line after the declaration, whenever the parameter span across multiple lines (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1116.md)
azure-pipelines / microsoft.testfx (Build Linux Debug)
src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs#L148
src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs(148,18): error IDE0008: (NETCORE_ENGINEERING_TELEMETRY=Build) Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)
azure-pipelines / microsoft.testfx (Build Linux Debug)
src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs#L150
src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs(150,13): error IDE0008: (NETCORE_ENGINEERING_TELEMETRY=Build) Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)
azure-pipelines / microsoft.testfx (Build Linux Debug)
src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs#L151
src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs(151,22): error IDE0008: (NETCORE_ENGINEERING_TELEMETRY=Build) Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)
azure-pipelines / microsoft.testfx (Build Linux Debug)
src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs#L154
src/Platform/Microsoft.Testing.Platform/CommandLine/CommandLineOptionsValidator.cs(154,66): error IDE0008: (NETCORE_ENGINEERING_TELEMETRY=Build) Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)
Loading