From cec3fcb95c87986c4cd5466a298ed8417e3b16d0 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 18 Dec 2025 16:43:05 +0000
Subject: [PATCH 1/6] Initial plan
From 7d511d48006be142c9d6d52d6c26f82ba8a04498 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 18 Dec 2025 17:09:13 +0000
Subject: [PATCH 2/6] Update HybridGlobalization error messages to reflect
correct guidance
Updated 6 error messages in Strings.resx that incorrectly told users to
"Disable it to load larger ICU bundle" when HybridGlobalization=true.
Since hybrid globalization can no longer be disabled on Apple mobile
platforms, the messages now direct users to adjust their code or open
an issue on https://github.com/dotnet/runtime.
Co-authored-by: matouskozak <55735845+matouskozak@users.noreply.github.com>
---
.../src/Resources/Strings.resx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
index bf34d7bec20f87..9a73a15c6df76f 100644
--- a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
+++ b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
@@ -4176,25 +4176,25 @@
AssemblyName.GetAssemblyName() is not supported on this platform.
- CompareOptions = {0} are not supported when HybridGlobalization=true on this platform. Disable it to load larger ICU bundle, then use this option.
+ CompareOptions = {0} are not supported when HybridGlobalization=true on this platform. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
- Mixed compositions in string not supported when HybridGlobalization=true on this platform. Disable it to load larger ICU bundle, then use this option.
+ Mixed compositions in string not supported when HybridGlobalization=true on this platform. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
- CompareOptions = {0} are not supported for culture = {1} when HybridGlobalization=true on this platform. Disable it to load larger ICU bundle, then use this option.
+ CompareOptions = {0} are not supported for culture = {1} when HybridGlobalization=true on this platform. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
- Match length calculation is not supported when HybridGlobalization=true. Disable it to load larger ICU bundle, then use this function.
+ Match length calculation is not supported when HybridGlobalization=true. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
Arrays with non-zero lower bounds are not supported.
- {0} is not supported when HybridGlobalization=true. Disable it to load larger ICU bundle, then use this option.
+ {0} is not supported when HybridGlobalization=true. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
- {0} is not supported for {1}, when HybridGlobalization=true. Disable it to load larger ICU bundle, then use this option.
+ {0} is not supported for {1}, when HybridGlobalization=true. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
The body of this method was removed by the AOT compiler because it's not callable.
From 62a41b007a39b41c35c6e7d8736c5fafbcb5d508 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 18 Dec 2025 17:36:31 +0000
Subject: [PATCH 3/6] Replace HybridGlobalization=true with Apple mobile
platforms in error messages
Per review feedback, changed error messages to use clearer platform-specific
language "on Apple mobile platforms" instead of "when HybridGlobalization=true
on this platform".
Co-authored-by: matouskozak <55735845+matouskozak@users.noreply.github.com>
---
.../src/Resources/Strings.resx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
index 9a73a15c6df76f..f003eca3681093 100644
--- a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
+++ b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
@@ -4176,25 +4176,25 @@
AssemblyName.GetAssemblyName() is not supported on this platform.
- CompareOptions = {0} are not supported when HybridGlobalization=true on this platform. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ CompareOptions = {0} are not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
- Mixed compositions in string not supported when HybridGlobalization=true on this platform. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ Mixed compositions in string are not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
- CompareOptions = {0} are not supported for culture = {1} when HybridGlobalization=true on this platform. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ CompareOptions = {0} are not supported for culture = {1} on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
- Match length calculation is not supported when HybridGlobalization=true. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ Match length calculation is not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
Arrays with non-zero lower bounds are not supported.
- {0} is not supported when HybridGlobalization=true. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ {0} is not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
- {0} is not supported for {1}, when HybridGlobalization=true. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ {0} is not supported for {1} on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
The body of this method was removed by the AOT compiler because it's not callable.
From d7127ce58ef20d71034d6a38706933d0e8646b02 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Mon, 5 Jan 2026 09:39:47 +0000
Subject: [PATCH 4/6] Remove dotnet/runtime issue guidance from error messages
Per review feedback, simplified error messages by removing the
"Adjust your code or open an issue on https://github.com/dotnet/runtime
if this is impacting your use case." text from all 6 HybridGlobalization
error messages.
Co-authored-by: matouskozak <55735845+matouskozak@users.noreply.github.com>
---
.../src/Resources/Strings.resx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
index f003eca3681093..df6a2544f7359d 100644
--- a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
+++ b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
@@ -4176,25 +4176,25 @@
AssemblyName.GetAssemblyName() is not supported on this platform.
- CompareOptions = {0} are not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ CompareOptions = {0} are not supported on Apple mobile platforms.
- Mixed compositions in string are not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ Mixed compositions in string are not supported on Apple mobile platforms.
- CompareOptions = {0} are not supported for culture = {1} on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ CompareOptions = {0} are not supported for culture = {1} on Apple mobile platforms.
- Match length calculation is not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ Match length calculation is not supported on Apple mobile platforms.
Arrays with non-zero lower bounds are not supported.
- {0} is not supported on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ {0} is not supported on Apple mobile platforms.
- {0} is not supported for {1} on Apple mobile platforms. Adjust your code or open an issue on https://github.com/dotnet/runtime if this is impacting your use case.
+ {0} is not supported for {1} on Apple mobile platforms.
The body of this method was removed by the AOT compiler because it's not callable.
From 30f6d2f735f0efc873e9d6bdf6d1cfede7a9895b Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Mon, 5 Jan 2026 10:05:02 +0000
Subject: [PATCH 5/6] Fix grammar: use "is" instead of "are" for CompareOptions
Changed "CompareOptions = {0} are not supported" to
"CompareOptions = {0} is not supported" since CompareOptions
is a singular entity being compared to a value.
Co-authored-by: matouskozak <55735845+matouskozak@users.noreply.github.com>
---
.../System.Private.CoreLib/src/Resources/Strings.resx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
index df6a2544f7359d..ef34551421d241 100644
--- a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
+++ b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
@@ -4176,13 +4176,13 @@
AssemblyName.GetAssemblyName() is not supported on this platform.
- CompareOptions = {0} are not supported on Apple mobile platforms.
+ CompareOptions = {0} is not supported on Apple mobile platforms.
Mixed compositions in string are not supported on Apple mobile platforms.
- CompareOptions = {0} are not supported for culture = {1} on Apple mobile platforms.
+ CompareOptions = {0} is not supported for culture = {1} on Apple mobile platforms.
Match length calculation is not supported on Apple mobile platforms.
From f85291d744861f5c455b0e03e2da239ac08ebee6 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Mon, 5 Jan 2026 12:44:28 +0000
Subject: [PATCH 6/6] Revert grammar change: restore "are" for CompareOptions
Reverted "is" back to "are" for CompareOptions messages since the
passed value can represent option(s) which can be plural.
Co-authored-by: matouskozak <55735845+matouskozak@users.noreply.github.com>
---
.../System.Private.CoreLib/src/Resources/Strings.resx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
index ef34551421d241..df6a2544f7359d 100644
--- a/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
+++ b/src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
@@ -4176,13 +4176,13 @@
AssemblyName.GetAssemblyName() is not supported on this platform.
- CompareOptions = {0} is not supported on Apple mobile platforms.
+ CompareOptions = {0} are not supported on Apple mobile platforms.
Mixed compositions in string are not supported on Apple mobile platforms.
- CompareOptions = {0} is not supported for culture = {1} on Apple mobile platforms.
+ CompareOptions = {0} are not supported for culture = {1} on Apple mobile platforms.
Match length calculation is not supported on Apple mobile platforms.