dotnet / dotnet/dotnet-api-docs

Wrong exception message on indexing collections.

Open
#7,937 3 comments 0 reactions 0 assignees View on GitHub
area-System.Collections help wanted Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

See [this issue](https://github.com/dotnet/runtime/issues/67423) in dotnet/runtime and [this PR](https://github.com/dotnet/runtime/pull/67696) to fix it.

The last paragraph of that PR shows an example of misleading docs on `List.IndexOf` Exceptions sector. And after merging of that PR there's a need to update the docs through all such cases.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.