- [ ] 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 NotHybridImplementation ``` Use below code , this avoids duplicating the `NotHybridImplementation` logic. ``` #if TARGET_MACCATALYST || TARGET_IOS || TARGET_TVOS if (Hybrid) { HybridImplementation } else #endif { NotHybridImplementation } ``` - [x] ~Rename `IsHybridGlobalizationOnOSX` to `IsHybridGlobalizationOniOS` https://github.com/dotnet/runtime/blob/main/src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs#L369~ implemented by https://github.com/dotnet/runtime/pull/96974 Contributes to https://github.com/dotnet/runtime/issues/80689
Activity