Skip to content

remove redundant null checks

d2e0ece
Select commit
Loading
Failed to load commit list.
Open

remove redundant null checks #7508

remove redundant null checks
d2e0ece
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build Windows Release) failed Mar 8, 2026 in 8m 51s

Build Windows Release 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 Release)

Build log #L9

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

Check failure on line 258 in src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs

See this annotation in the file changed.

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

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)

Check failure on line 258 in src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs

See this annotation in the file changed.

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

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)

Check failure on line 258 in src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs

See this annotation in the file changed.

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

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)

Check failure on line 258 in src\Adapter\MSTestAdapter.PlatformServices\Services\TestContextImplementation.cs

See this annotation in the file changed.

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

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)