dotnet / dotnet/dotnet-api-docs
Exceptions in IReadOnlyList<T>.Item[int]?
- Lingua principale
- C#
- Stelle
- 949
- Fork
- 1.7k
- Merge medio
- 3g 27m
- PR unite (30g)
- 49
Descrizione
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**
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Open xml/System.Collections.Generic/IReadOnlyList`1.xml and compare the Item[Int32] entry with related collection indexer documentation, especially IList.Item. Confirm which out-of-range exceptions the API reference should state, update the entry, and verify that the rendered IReadOnlyList.Item documentation shows the expected exception information.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 48/100