dotnet / dotnet/dotnet-api-docs
Exceptions in IReadOnlyList<T>.Item[int]?
- Vorherrschende Sprache
- C#
- Sterne
- 949
- Forks
- 1.7k
- Ø Merge
- 2 T. 19 Std.
- Gemergte PRs (30 T.)
- 52
Beschreibung
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**
Beitragsleitfaden
Rechercherichtung
Öffne xml/System.Collections.Generic/IReadOnlyList`1.xml und vergleiche den Eintrag Item[Int32] mit der Dokumentation verwandter Sammlungsindexer, insbesondere IList.Item. Bestätige, welche Ausnahmen bei Überschreitung des gültigen Bereichs die API-Referenz angeben sollte, aktualisiere den Eintrag und überprüfe, dass die gerenderte Dokumentation für IReadOnlyList.Item die erwarteten Ausnahmeinformationen anzeigt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 48/100