Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build break #99328

Closed
wants to merge 1 commit into from

Fix build break

cc24ab1
Select commit
Loading
Failed to load commit list.
Closed

Fix build break #99328

Fix build break
cc24ab1
Select commit
Loading
Failed to load commit list.
Azure Pipelines / runtime (Build ios-arm64 Release AllSubsets_Mono) failed Mar 5, 2024 in 22m 36s

Build ios-arm64 Release AllSubsets_Mono failed

Annotations

Check failure on line 1085 in src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime (Build ios-arm64 Release AllSubsets_Mono)

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs#L1085

src/libraries/System.Runtime/tests/System.Runtime.Tests/System/StringTests.cs(1085,25): error CA2265: (NETCORE_ENGINEERING_TELEMETRY=Build) Comparing a span to 'default' might not do what you intended, make the code more explicit by checking 'IsEmpty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)