dotnet / dotnet/dotnet-api-docs
Inconsistent documentation for DbParameterCollection.CopyTo
- Lenguaje dominante
- C#
- Estrellas
- 949
- Forks
- 1.7k
- Merge medio
- 2 d 19 h
- PR fusionados (30 d)
- 52
Descripción
I found an anomaly in the docs for DbParameterCollection ( [dotnet-api-docs/xml/System.Data.Common/DbParameterCollection.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Data.Common/DbParameterCollection.xml) ). In the CopyTo method, the documentation claims that the values in the input array are copied to the collection. However, the documentation for the interface (IDataParameterCollection) and the documentation for SqlParameterCollection claim the values in the collection are copied into the input array.
I wasn't sure which way would be the expected behavior, and I didn't have time to read the .NET source code, so I wanted to document this. If nobody know off the top of their head, I'll try to loop back to research it out and fix it later :)
Guía de contribución
Línea de trabajo
Comience con dotnet-api-docs/xml/System.Data.Common/DbParameterCollection.xml y compare la redacción de CopyTo con IDataParameterCollection y SqlParameterCollection. Inspeccione el código fuente de .NET para determinar la dirección real de la copia; después, actualice la documentación incoherente y compruebe las páginas de API afectadas.
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
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100