KEMBAR78
Add Uri : ISpanFormattable by stephentoub · Pull Request #88012 · dotnet/runtime · GitHub
Skip to content

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.
@ghost
Copy link

ghost commented Jun 25, 2023

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
@stephentoub stephentoub deleted the uritryformat branch June 25, 2023 18:54
@karelz karelz added this to the 8.0.0 milestone Jul 3, 2023
@ghost ghost 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