Skip to content

Conversation

@Fast-Nick
Copy link
Contributor

Summary

Changed the exception description to match 'startIndex' from String.Substring, because the behavior is identical (and original description on Array.FindIndex is arguably either wrong or vague and hard to understand).

Fixes: #9719

…startIndex' parameter on FindIndex methods

Changed it to match String.Substring, because the behavior is identical (and original description is arguably wrong or hard to understand).

Fixes: dotnet#9719
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Mar 14, 2024
@ghost ghost added the area-System.Runtime label Mar 14, 2024
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-runtime

@learn-build-service-prod
Copy link

Learn Build status updates of commit d6c5f37:

✅ Validation status: passed

File Status Preview URL Details
xml/System/Array.xml ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

@gewarren gewarren marked this pull request as ready for review September 22, 2025 23:29
@gewarren gewarren requested a review from a team as a code owner September 22, 2025 23:29
@gewarren gewarren enabled auto-merge (squash) September 22, 2025 23:29
@gewarren gewarren closed this Oct 28, 2025
auto-merge was automatically disabled October 28, 2025 16:31

Pull request was closed

@gewarren gewarren reopened this Oct 28, 2025
@gewarren gewarren enabled auto-merge (squash) October 28, 2025 16:32
@gewarren gewarren merged commit 5524c68 into dotnet:main Oct 28, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Runtime community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Array.FindIndex has incorrect ArgumentOutOfRangeException description for 'startIndex' parameter.

2 participants