You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[iOS][non-icu] HybridGlobalization rafactor condition checks / clean up the code #96328
Define APPLE_HYBRID_GLOBALIZATION symbol for the 3 OSes and use it throughout the implementation instead of defined(TARGET_MACCATALYST) || defined(TARGET_IOS) || defined(TARGET_TVOS) conditions in all files under https://github.com/dotnet/runtime/tree/main/src/native/libs/System.Globalization.Native
This should be IsHybridGlobalizationOnApplePlatform. It returns true on more OSes, not just iOS. The name does not need to encode the fact that the hybrid globalization is not available in macOS build currently.
changed the title [-][iOS][non-icu] HybridGlobalization rafactor condition checks[/-][+][iOS][non-icu] HybridGlobalization rafactor condition checks / clean up the code[/+]on Jan 10, 2024
Activity
jkotas commentedon Dec 27, 2023
This should be IsHybridGlobalizationOnApplePlatform. It returns true on more OSes, not just iOS. The name does not need to encode the fact that the hybrid globalization is not available in macOS build currently.
[-][iOS][non-icu] HybridGlobalization rafactor condition checks[/-][+][iOS][non-icu] HybridGlobalization rafactor condition checks / clean up the code[/+]