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

Remove custom copy of PtrToStringChars #3117

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

GrabYourPitchforks
Copy link
Member

This PR removes WPF's custom implementation of PtrToStringChars in favor of the built-in version. The custom version was originally introduced to work around CAS performance issues. However, since Core did not bring any of the CAS infrastructure forward, there's no need for the custom copy.

Related: dotnet/runtime#31406

@GrabYourPitchforks GrabYourPitchforks requested a review from a team as a code owner June 9, 2020 21:27
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Jun 9, 2020
@ghost ghost requested review from fabiant3, ryalanms and SamBent June 9, 2020 21:28
@ryalanms ryalanms added the Priority:1 Work that is critical for the release, but we could probably ship without label Jan 5, 2021
Copy link
Member

@fabiant3 fabiant3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be no more instances of our custom implementation now, given wpfvcclr.h is also being deleted. We have yet to enable our test collateral to be run in the open, but this looks safe. Thanks for the PR @GrabYourPitchforks!

@ryalanms
Copy link
Member

ryalanms commented Feb 8, 2021

Thank you for your contribution, @GrabYourPitchforks.

@ryalanms ryalanms merged commit d03fc45 into dotnet:master Feb 8, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Apr 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
PR metadata: Label to tag PRs, to facilitate with triage Priority:1 Work that is critical for the release, but we could probably ship without
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants