Polyfill span.Contains(T) #123656
Merged
Polyfill span.Contains(T) #123656
Azure Pipelines / runtime-dev-innerloop (Build linux-x64 debug Libraries_WithPackages)
failed
Jan 30, 2026 in 25m 14s
Build linux-x64 debug Libraries_WithPackages failed
Annotations
Check failure on line 16 in src/libraries/Common/src/System/StringPolyfills.cs
azure-pipelines / runtime-dev-innerloop (Build linux-x64 debug Libraries_WithPackages)
src/libraries/Common/src/System/StringPolyfills.cs#L16
src/libraries/Common/src/System/StringPolyfills.cs(16,13): error CA2249: (NETCORE_ENGINEERING_TELEMETRY=Build) Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
Loading