Skip to content

System.IO.Stream.Position remarks section has puzzling sentence #8772

@elgonzo

Description

@elgonzo

The Remarks section for the System.IO.Stream.Position property (https://learn.microsoft.com/en-us/dotnet/api/system.io.stream.position?view=net-7.0) features this seemingly puzzling sentence:

The Position property does not keep track of the number of bytes from the stream that have been consumed, skipped, or both.

It is entirely unclear how this would be relevant/significant information in understanding that the Position property indicates a ..uh.. position. Being a bit of a pessimist, i fear that this sentence might create confusion for beginners reading this by inadvertently implying that reading from (consuming) and seeking over (skipping) a stream won't have a bearing on the stream's position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.IO

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions