Runtime: Change platform code for "OSX" to "macOS" or similar

Created on 1 Nov 2020  路  2Comments  路  Source: dotnet/runtime

Background and Motivation

The name "OSX" is no longer correct. The name "Mac OS X" has been deprecated since 2016 when Apple rebranded their Mac operating system to "macOS". However, in addition to this, the name "OSX" is now just flat out wrong, since the "X" stands for "10", but macOS Big Sur is going to be version 11.0.

Proposed API

Renaming "OSX" and "osx" to either "macOS" or "MacOS" or "macos" or similar would solve this problem.

This proposal does not have specific signature requirements.

Usage Examples

N/A

Alternative Designs

"macOS" (stylized), "MacOS" (PascalCase), "macos" (lowercase), and "MACOS" (uppercase) are all similar designs that would be appropriate depending on the desired naming convention.

Risks

This would break compatibility, but wrappers and aliases can be kept as needed, and upgrading shouldn't be too big of an issue.

api-suggestion area-Meta untriaged

Most helpful comment

All 2 comments

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

Was this page helpful?
0 / 5 - 0 ratings