-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-System.Globalizationin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is mergedos-iosApple iOSApple iOS
Milestone
Description
-
Maintain consistency instead of using below implementations
#if TARGET_MACCATALYST || TARGET_IOS || TARGET_TVOS if (Hybrid) { HybridImplementation } else { NotHybridImplementation } #else NotHybridImplementation #endif#if TARGET_MACCATALYST || TARGET_IOS || TARGET_TVOS if (Hybrid) { HybridImplementation } #endif NotHybridImplementationUse below code , this avoids duplicating the
NotHybridImplementationlogic.#if TARGET_MACCATALYST || TARGET_IOS || TARGET_TVOS if (Hybrid) { HybridImplementation } else #endif { NotHybridImplementation } -
Renameimplemented by [iOS][non-icu] HybridGlobalization clean up the code #96974IsHybridGlobalizationOnOSXtoIsHybridGlobalizationOniOShttps://github.com/dotnet/runtime/blob/main/src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs#L369
Contributes to #80689
Metadata
Metadata
Assignees
Labels
area-System.Globalizationin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is mergedos-iosApple iOSApple iOS