From 01f701c9ff2b5008528076688b48f602d155427b Mon Sep 17 00:00:00 2001 From: Eirik Tsarpalis Date: Mon, 19 Sep 2022 17:01:39 +0300 Subject: [PATCH] Fix grammatical error in #75831. (#75835) --- .../src/System/Collections/Generic/List.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs b/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs index a8fe67a34e2..af1e8347234 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs @@ -866,8 +866,8 @@ public int LastIndexOf(T item, int index, int count) return Array.LastIndexOf(_items, item, index, count); } - // Removes the first occurrence given element, if found. The size of the list is - // decreased by one. + // Removes the first occurrence of the given element, if found. + // The size of the list is decreased by one if successful. public bool Remove(T item) { int index = IndexOf(item); -- GitLab