Skip to content

Model the macOS/OSX alias through the guard attributes  #57225

Open

Description

@buyaa-n

In 6.0 we have updated the PCA analyzer to use the guard attributes on the OperatingSystem.IsXYZ methods in order to communicate the platform compat relationship between platforms, this approach can be used for macOS/OSX instead of hard coding the relation. This could include the following steps:

  1. Add SupportedOSPlatformGuard("OSX") to the OperatingSystem.IsMacOS() to express the relation OSX is MacOS
  2. Figure how to add the MacOS is OSX relation
  3. Figure out how to handle the backward compatibility and remove the hardcoded macOS/OSX relation in the analyzer

Originally posted by @jeffhandley in #53084 (comment)

Activity

  1. ghost added
    untriaged
    on Aug 11, 2021
  2. added this to the 7.0.0 milestone on Aug 11, 2021
  3. removed
    untriaged
    on Aug 11, 2021
  4. modified the milestones: 7.0.0, Future on Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions