-
Notifications
You must be signed in to change notification settings - Fork 5.4k
API Proposal: Add PlatformID.Unknown value #38984
Copy link
Copy link
Closed
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarch-wasmWebAssembly architectureWebAssembly architecturearea-System.Runtime
Milestone
Description
Background and Motivation
With the addition of more platforms to dotnet/runtime the existing .NET Framework APIs are missing way to express them. Instead of duplicating logic between System.Runtime.InteropServices.RuntimeInformation API and old .NET Framework APIs we introduce generic undefined value for old APIs.
Proposed API
namespace System
{
public enum PlatformID
{
MacOSX = 6,
+ Unknown = 7,
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarch-wasmWebAssembly architectureWebAssembly architecturearea-System.Runtime