Skip to content

Remove unused FreeBSD OSPlatform extension from TargetInfo.cs#126612

Merged
jkotas merged 1 commit intomainfrom
copilot/remove-freebsd-osplatform-extension
Apr 8, 2026
Merged

Remove unused FreeBSD OSPlatform extension from TargetInfo.cs#126612
jkotas merged 1 commit intomainfrom
copilot/remove-freebsd-osplatform-extension

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 7, 2026

Per #126437 (comment), the FreeBSD OSPlatform extension in PlatformExtensions was defined but never used after PR #126437 removed its only usage. This PR removes the unused extension(OSPlatform) block while keeping the still-used extension(Architecture) block for LoongArch64.

cc @elinor-fung @am11

@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke, @elinor-fung
See info in area-owners.md if you want to be subscribed.

@elinor-fung elinor-fung marked this pull request as ready for review April 7, 2026 23:33
Copilot AI review requested due to automatic review settings April 7, 2026 23:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes a now-unused extension(OSPlatform) block in TargetInfo.cs that previously existed solely to provide a FreeBSD OSPlatform value under NETFRAMEWORK. The remaining extension(Architecture) block is kept to support the still-used Architecture.LoongArch64 reference.

Changes:

  • Removed the unused OSPlatform FreeBSD extension member under #if NETFRAMEWORK.
  • Kept the Architecture.LoongArch64 extension member used by the alignment logic.

@jkotas jkotas merged commit 10cb926 into main Apr 8, 2026
90 checks passed
@jkotas jkotas deleted the copilot/remove-freebsd-osplatform-extension branch April 8, 2026 04:41
@github-project-automation github-project-automation bot moved this to Done in AppModel Apr 8, 2026
radekdoulik pushed a commit to radekdoulik/runtime that referenced this pull request Apr 9, 2026
…#126612)

Per
dotnet#126437 (comment),
the `FreeBSD` `OSPlatform` extension in `PlatformExtensions` was defined
but never used after PR dotnet#126437 removed its only usage. This PR removes
the unused `extension(OSPlatform)` block while keeping the still-used
`extension(Architecture)` block for `LoongArch64`.

cc @elinor-fung @am11

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: elinor-fung <47805090+elinor-fung@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants