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

Add Uri : ISpanFormattable #88012

Merged
merged 2 commits into from Jun 25, 2023
Merged

Add Uri : ISpanFormattable #88012

merged 2 commits into from Jun 25, 2023

Conversation

stephentoub
Copy link
Member

Implemented TryFormat by copying in the ToString implementation, manually expanding out each call, deleting all the cruft, and switching return strings to be span copies / writes.

Fixes #87151

Implemented TryFormat by copying in the ToString implementation, manually expanding out each call, deleting all the cruft, and switching return strings to be span copies / writes.
@dotnet-issue-labeler
Copy link

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.

@ghost ghost assigned stephentoub Jun 25, 2023
@ghost
Copy link

ghost commented Jun 25, 2023

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Implemented TryFormat by copying in the ToString implementation, manually expanding out each call, deleting all the cruft, and switching return strings to be span copies / writes.

Fixes #87151

Author: stephentoub
Assignees: stephentoub
Labels:

area-System.Net, new-api-needs-documentation

Milestone: -

@stephentoub stephentoub merged commit eaa9717 into dotnet:main Jun 25, 2023
105 checks passed
@stephentoub stephentoub deleted the uritryformat branch June 25, 2023 18:54
@karelz karelz added this to the 8.0.0 milestone Jul 3, 2023
@dotnet dotnet locked as resolved and limited conversation to collaborators Aug 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[API Proposal]: Uri : ISpanFormattable
4 participants