Skip to content

Refactor platform checks to use OperatingSystem class#26918

Open
xtqqczze wants to merge 1 commit intoPowerShell:masterfrom
xtqqczze:platform-checks
Open

Refactor platform checks to use OperatingSystem class#26918
xtqqczze wants to merge 1 commit intoPowerShell:masterfrom
xtqqczze:platform-checks

Conversation

@xtqqczze
Copy link
Contributor

@xtqqczze xtqqczze commented Feb 27, 2026

OperatingSystem.IsWindows and similar are available since .NET 5.

@xtqqczze xtqqczze requested review from a team and jshigetomi as code owners February 27, 2026 19:20
These APIs are available since .NET 5.
@xtqqczze xtqqczze marked this pull request as draft February 27, 2026 19:24
@xtqqczze xtqqczze marked this pull request as ready for review February 27, 2026 19:24
@PowerShell PowerShell deleted a comment from azure-pipelines bot Mar 2, 2026
@jshigetomi jshigetomi added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants