dotnet / dotnet/dotnet-api-docs
Exceptions in IReadOnlyList<T>.Item[int]?
- Lenguaje dominante
- C#
- Estrellas
- 949
- Forks
- 1.7k
- Merge medio
- 2 d 19 h
- PR fusionados (30 d)
- 52
Descripción
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**
Guía de contribución
Línea de trabajo
Abre xml/System.Collections.Generic/IReadOnlyList`1.xml y compara la entrada Item[Int32] con la documentación de indexadores de colecciones relacionados, especialmente IList.Item. Confirma qué excepciones por estar fuera de rango debería indicar la referencia de API, actualiza la entrada y verifica que la documentación renderizada de IReadOnlyList.Item muestre la información esperada sobre las excepciones.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- documentation
- Tipo de issue
- Documentación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 48/100