Skip to content

Conversation

AlexRadch
Copy link
Contributor

Close #28507

- Modified constructor to be `internal` and updated property assignments.
- Enhanced `Equals` and `GetHashCode` methods for readability and performance.
- Improved XML documentation for clarity and consistency with Unicode terminology.
- Updated test methods to reflect changes in `RunePosition`, removing unnecessary assertions and adding new test cases.
- Ensured enumerators correctly handle current position in Unicode data.
@ghost
Copy link

ghost commented Jan 7, 2025

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

1 similar comment
@ghost
Copy link

ghost commented Jan 7, 2025

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

…tf16Enumerator` and `Utf8Enumerator` structures.
@AlexRadch AlexRadch requested a review from lilinus January 9, 2025 11:31
@stephentoub
Copy link
Member

@GrabYourPitchforks, can you please review this? Thanks.

@tarekgh
Copy link
Member

tarekgh commented Sep 22, 2025

@tarekgh
Copy link
Member

tarekgh commented Sep 24, 2025

/ba-g the failure looks more infrastructure, for sure is not related to the changes here.

@tarekgh tarekgh added this to the 11.0.0 milestone Sep 24, 2025
@tarekgh tarekgh merged commit eae73b7 into dotnet:main Sep 24, 2025
142 of 144 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Memory community-contribution Indicates that the PR has been added by a community member new-api-needs-documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API proposal: Complex Rune enumeration over spans of UTF-16 and UTF-8 text

4 participants