dotnet / dotnet/dotnet-api-docs

Exceptions in IReadOnlyList<T>.Item[int]?

オープン
#1,655 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area-System.Collections dotnet-api/prod Pri2 untriaged
主要言語
C#
スター
949
フォーク
1.7k
平均マージ
2日 19時間
マージ済み PR(30日)
52

説明

Does the interface not specify any exceptions if the index is negative or greater than or equal to the Count?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: c954189d-e804-c075-2330-5cf90d5834a3
* Version Independent ID: 96584ae9-f4fb-b9e8-7807-b160af69913f
* Content: [IReadOnlyList<T>.Item\[Int32\] Property (System.Collections.Generic)](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlylist-1.item?view=netframework-4.7.2#System_Collections_Generic_IReadOnlyList_1_Item_System_Int32_)
* Content Source: [xml/System.Collections.Generic/IReadOnlyList`1.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Collections.Generic/IReadOnlyList`1.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

xml/System.Collections.Generic/IReadOnlyList`1.xml を開き、Item[Int32] エントリを関連するコレクションのインデクサーのドキュメント、特に IList.Item と比較します。API リファレンスに記載すべき範囲外例外を確認してエントリを更新し、レンダリングされた IReadOnlyList.Item のドキュメントに期待される例外情報が表示されることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。