From d6c5f379220dc3d9c0bb18cf9b8f45644fe858d2 Mon Sep 17 00:00:00 2001 From: Fast-Nick <150809607+Fast-Nick@users.noreply.github.com> Date: Thu, 14 Mar 2024 15:36:56 +0100 Subject: [PATCH] Update Array.xml change ArgumentOutOfRangeException description for '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: #9719 --- xml/System/Array.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System/Array.xml b/xml/System/Array.xml index 66fdf518671..5d3834d4261 100644 --- a/xml/System/Array.xml +++ b/xml/System/Array.xml @@ -3772,7 +3772,7 @@ is . - is outside the range of valid indexes for . + is less than zero or greater than the length of the . @@ -3863,7 +3863,7 @@ is . - is outside the range of valid indexes for . + is less than zero or greater than the length of the . -or-