Skip to content

Request for improvement of TextSpan.ToString() documentation. #57299

@MarcioAB

Description

@MarcioAB

Currently the documentation of Microsoft.CodeAnalysis.Text.TextSpan.ToString() is only "Provides a string representation for TextSpan."

I propose to include the following text to improve understanding:

"This representation uses "half-open interval" notation, indicating the endpoint character is not included.
Example: [10..20), indicating the text starts at position 10 and ends at position 20 not included."

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions