Skip to content
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

Recognize MacCatalyst as a superset of iOS #55550

Merged
merged 5 commits into from
Jul 13, 2021
Merged

Recognize MacCatalyst as a superset of iOS #55550

merged 5 commits into from
Jul 13, 2021

Conversation

jeffhandley
Copy link
Member

  1. OperatingSystem.IsIOS() now returns true when running on MacCatalyst
  2. OperatingSystem.IsOSPlatform("ios") now returns true when running on MacCatalyst
  3. [SupportedOSPlatformGuard] attributes are applied to OperatingSystem.IsIOS() and OperatingSystem.IsIOSVersionAtLeast() to indicate those methods guard for either "ios" or "maccatalyst"

This contributes to #53084 (comment).

…ttributes that will inform the analyzer of the relationship.
@dotnet-issue-labeler
Copy link

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@jeffhandley jeffhandley marked this pull request as ready for review July 13, 2021 17:05
Copy link
Member

@buyaa-n buyaa-n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ghost
Copy link

ghost commented Jul 13, 2021

Hello @jeffhandley!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@jeffhandley
Copy link
Member Author

The test failures are Quic tests timing out and they are unrelated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants