-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
area-System.IOuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
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
Metadata
Metadata
Assignees
Labels
area-System.IOuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner