dotnet / dotnet/dotnet-api-docs

Incorrect examples of ...OutOfRangeException

Open
#3,050 1 comment 0 reactions 0 assignees View on GitHub
area-System.Runtime doc-bug Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

One example in [ArgumentOutOfRangeException](https://docs.microsoft.com/dotnet/api/system.argumentoutofrangeexception) Remarks throws `IndexOutOfRangeException` (when accessing array).

Two examples in [IndexOutOfRangeException](https://docs.microsoft.com/dotnet/api/system.indexoutofrangeexception) Remarks throw `ArgumentOutOfRangeException` (when accessing `List`).

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.