Skip to content

Polyfill span.Contains(T) and string.Contains/StartsWith/EndsWith(char)

9212f13
Select commit
Loading
Failed to load commit list.
Merged

Polyfill span.Contains(T) #123656

Polyfill span.Contains(T) and string.Contains/StartsWith/EndsWith(char)
9212f13
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Jan 30, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

⚠️ The following pipeline(s) will not be analyzed as has been explicited excluded from analysis

Build Failures

runtime / Build / windows-x64 Debug Libraries_WithPackages / Build product

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌src\libraries\Common\src\System\StringPolyfills.cs(16,13): error CA2249: Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)

runtime-dev-innerloop / Build / linux-x64 debug Libraries_WithPackages / Build product

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌src/libraries/Common/src/System/StringPolyfills.cs(16,13): error CA2249: Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)

Known test errors

Was this helpful? Yes No