Skip to content

Conversation

tarekgh
Copy link
Member

@tarekgh tarekgh commented Feb 7, 2022

Fixes #64893

Don't allow creating RegionInfo when using LOCALE_CUSTOM_UNSPECIFIED (0x1000) Lcid.

@ghost ghost assigned tarekgh Feb 7, 2022
@ghost
Copy link

ghost commented Feb 7, 2022

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

Issue Details

Fixes #64893

Don't allow creating RegionInfo when using LOCALE_CUSTOM_UNSPECIFIED (0x1000) Lcid.

Author: tarekgh
Assignees: -
Labels:

area-System.Globalization

Milestone: -

…RegionInfoTests.cs

Co-authored-by: Santiago Fernandez Madero <[email protected]>
@tarekgh
Copy link
Member Author

tarekgh commented Feb 10, 2022

The CI runtime failure in Linux arm is tracked by the issue #65115.

@tarekgh tarekgh merged commit 1f47f0e into dotnet:main Feb 10, 2022
@tarekgh tarekgh deleted the FixRegionInfoCreationWithCustomUnspecifiedLcid branch February 10, 2022 16:36
{
Debug.Assert(!GlobalizationMode.Invariant);

// LOCALE_CUSTOM_UNSPECIFIED ia an unspecified custom locale, used to identify all supplemental locales.
Copy link

Choose a reason for hiding this comment

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

"ia an"

@ghost ghost locked as resolved and limited conversation to collaborators Mar 12, 2022
@ericstj ericstj added breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet labels Nov 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Globalization breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RegionInfo(4096) behaves differently depending on preceding method calls
5 participants