dotnet / dotnet/dotnet-api-docs
Quibbles about the text
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
### Type of issue
Typo
### Description
The text for "ArgumentOutOfRangeException" refers to "The number of characters in the next line" which is surely a copy/paste from ReadLine. There is no 'line' if we're reading the entire remainder of the file.
Also, the 'Returns' text should steal this part from StreamReader.ReadToEnd:
> If the current position is at the end of the stream, returns an empty string ("").
I assume that's the intent for TextReader too.
### Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.io.textreader.readtoend?view=net-9.0
### Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.IO/TextReader.xml
### Document Version Independent Id
979313f5-fa53-eae7-b87f-dc6f1e854dd2
### Platform Id
f8bb511e-8bf0-fee3-60c9-8f2b54618f30
### Article author
@dotnet-bot
Contributor guide
Assessment
This issue has not been assessed yet.