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 SafeSecurityHelper.GetCultureInfoByIetfLanguageTag proxy for code quality #9733

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

h3xds1nz
Copy link
Member

@h3xds1nz h3xds1nz commented Sep 6, 2024

Description

Removes the SafeSecurityHelper.GetCultureInfoByIetfLanguageTag method and replaces it directly with CultureInfo.GetCultureInfoByIetfLanguageTag.

One of the few leftover remnants from CAS times, there is no reason for this proxy method anymore.

Customer Impact

Few bytes less in size of PresentationCore.

Regression

No.

Testing

Local build.

Risk

None.

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz h3xds1nz force-pushed the securityhelper-cultureproxy branch from 99a5088 to af24279 Compare November 12, 2024 17:44
@h3xds1nz
Copy link
Member Author

Fixed merge conflicts after #9855 for this really big PR.

@himgoyalmicro himgoyalmicro merged commit 5c7de0f into dotnet:main Dec 18, 2024
8 checks passed
@himgoyalmicro
Copy link
Contributor

Thank you @h3xds1nz for the contribution 😄

@h3xds1nz
Copy link
Member Author

@himgoyalmicro Thank you!

@github-actions github-actions bot locked and limited conversation to collaborators Jan 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Community Contribution A label for all community Contributions Included in test pass PR metadata: Label to tag PRs, to facilitate with triage Status:Completed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants