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

Update Array.xml change ArgumentOutOfRangeException description for 'startIndex' parameter on FindIndex methods #9720

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

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
Copy link
Contributor

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

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:

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.
1 participant