-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Remove IsWatchOS checks for consistency #117653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes all OperatingSystem.IsWatchOS()
checks to streamline platform consistency and deprecate explicit watchOS handling.
- Dropped watchOS from runner entry logic and platform detection utilities.
- Updated tests, interop layers, and library code to no longer special-case watchOS.
- Aligned
OperatingSystemTests
, globalization messaging, and internal platform behaviors accordingly.
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
RunnerEntryPoint.cs | Removed IsWatchOS from Apple entry-point condition. |
PlatformDetection.cs | Excluded watchOS from unsupported-native-assets and AppleMobile flags. |
OperatingSystemTests.cs | Eliminated watchOS entry in OS platform test data. |
GlobalizationMode.Unix.cs | Dropped watchOS check in ICU load failure logic. |
msquic.cs | Removed watchOS from SockaddrHasLength predicate. |
PingTest.cs | No longer excludes watchOS from raw-sockets logic. |
PathInternal.CaseSensitivity.cs | Excluded watchOS from case-insensitivity detection. |
Interop.Odbc.cs | ODBC library lookup no longer checks for watchOS. |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
/ba-g Infstrastructure problem, timeouts (e.g. tracked in #117714) |
Description
Remove
OperatingSystem.IsWatchOS()
checks for consistency.Related issues
Fixes #92601