remove redundant null checks #7508
Open
Azure Pipelines / microsoft.testfx (Build Windows Debug)
failed
Mar 8, 2026 in 8m 56s
Build Windows Debug failed
Annotations
azure-pipelines / microsoft.testfx (Build Windows Debug)
src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs#L258
src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs(258,9): error IDE0022: (NETCORE_ENGINEERING_TELEMETRY=Build) Use expression body for method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0022)
azure-pipelines / microsoft.testfx (Build Windows Debug)
src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs#L258
src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs(258,9): error IDE0022: (NETCORE_ENGINEERING_TELEMETRY=Build) Use expression body for method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0022)
azure-pipelines / microsoft.testfx (Build Windows Debug)
src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs#L258
src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs(258,9): error IDE0022: (NETCORE_ENGINEERING_TELEMETRY=Build) Use expression body for method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0022)
azure-pipelines / microsoft.testfx (Build Windows Debug)
src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs#L258
src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs(258,9): error IDE0022: (NETCORE_ENGINEERING_TELEMETRY=Build) Use expression body for method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0022)
azure-pipelines / microsoft.testfx (Build Windows Debug)
src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs#L258
src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs(258,9): error IDE0022: (NETCORE_ENGINEERING_TELEMETRY=Build) Use expression body for method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0022)
Loading