Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quibbles about the text #11114

Open
rindlespot opened this issue Mar 24, 2025 · 0 comments
Open

Quibbles about the text #11114

rindlespot opened this issue Mar 24, 2025 · 0 comments
Labels
area-System.IO untriaged New issue has not been triaged by the area owner

Comments

@rindlespot
Copy link

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

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.IO untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

1 participant