From 653edd9ddfff010cbbf5ad49e75e2303be294f90 Mon Sep 17 00:00:00 2001 From: Tarek Mahmoud Sayed Date: Wed, 22 Jul 2020 11:43:00 -0700 Subject: [PATCH 1/2] Update RegionInfo.xml RegionInfo.Name is behaving differently in .NET Framework than .NET Core. This PR is to clarify that in the docs. --- xml/System.Globalization/RegionInfo.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Globalization/RegionInfo.xml b/xml/System.Globalization/RegionInfo.xml index c085d825a3d..8b72c512f75 100644 --- a/xml/System.Globalization/RegionInfo.xml +++ b/xml/System.Globalization/RegionInfo.xml @@ -1110,7 +1110,7 @@ ## Remarks If the current object is created with the constructor that takes a culture identifier parameter, the property value is one of the two-letter codes defined in ISO 3166 for the country/region and is formatted in uppercase. For example, the two-letter code for the United States is "US". - If the current object is created with the constructor and is passed a full culture name such as "en-US", the property value is a full culture name and not just the region name. + If the current object is created with the constructor and is passed a full culture name such as "en-US", In .NET Framework the property value is a full culture name but in .NET Core it will be the region name. From 0ba2d9f37d69cc5cfa2dd71d6f9b070fd955e1af Mon Sep 17 00:00:00 2001 From: Tarek Mahmoud Sayed Date: Mon, 27 Jul 2020 12:42:45 -0700 Subject: [PATCH 2/2] Update xml/System.Globalization/RegionInfo.xml Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> --- xml/System.Globalization/RegionInfo.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Globalization/RegionInfo.xml b/xml/System.Globalization/RegionInfo.xml index 8b72c512f75..196eb2eea66 100644 --- a/xml/System.Globalization/RegionInfo.xml +++ b/xml/System.Globalization/RegionInfo.xml @@ -1110,7 +1110,7 @@ ## Remarks If the current object is created with the constructor that takes a culture identifier parameter, the property value is one of the two-letter codes defined in ISO 3166 for the country/region and is formatted in uppercase. For example, the two-letter code for the United States is "US". - If the current object is created with the constructor and is passed a full culture name such as "en-US", In .NET Framework the property value is a full culture name but in .NET Core it will be the region name. + If the current object is created with the constructor and is passed a full culture name such as "en-US", the property value is a full culture name in .NET Framework and just the region name in .NET Core.