Skip to content

Commit 8882680

Browse files
authored
Update Collection`1.xml (#5021)
Correct wrong type of collection being searched by IndexOf
1 parent cd5747e commit 8882680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Collections.ObjectModel/Collection`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@
788788
<Parameter Name="item" Type="T" />
789789
</Parameters>
790790
<Docs>
791-
<param name="item">The object to locate in the <see cref="T:System.Collections.Generic.List`1" />. The value can be <see langword="null" /> for reference types.</param>
791+
<param name="item">The object to locate in the <see cref="T:System.Collections.ObjectModel.Collection`1" />. The value can be <see langword="null" /> for reference types.</param>
792792
<summary>Searches for the specified object and returns the zero-based index of the first occurrence within the entire <see cref="T:System.Collections.ObjectModel.Collection`1" />.</summary>
793793
<returns>The zero-based index of the first occurrence of <paramref name="item" /> within the entire <see cref="T:System.Collections.ObjectModel.Collection`1" />, if found; otherwise, -1.</returns>
794794
<remarks>

0 commit comments

Comments
 (0)