Skip to content

[release/v7.5] Make inherited protected internal instance members accessible in class scope. #25547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

pwshBot
Copy link
Collaborator

@pwshBot pwshBot commented May 12, 2025

Backport of #25245 to release/v7.5

Triggered by @daxian-dbw on behalf of @mawosoft

Original CL Label: CL-General

/cc @PowerShell/powershell-maintainers

Impact

Choose either tooling or Customer impact.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Customer Impact

  • Customer reported
  • Found internally

Prevented PowerShell classes to access inherited protected internal instance members in addition to protected ones.

Regression

  • Yes
  • No

From the user's perspective, this is a regression. From PowerShell's perspective, this is a new feature.

Testing

tests were added

Risk

  • High
  • Medium
  • Low

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

@TravisEz13 TravisEz13 added CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log BackPort-7.5.x-Approved labels May 14, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Review - Needed The PR is being reviewed label May 22, 2025
@TravisEz13
Copy link
Member

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@TravisEz13 TravisEz13 merged commit 2240ac8 into PowerShell:release/v7.5 Jun 3, 2025
37 of 45 checks passed
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Review - Needed The PR is being reviewed label Jun 3, 2025
Copy link
Contributor

microsoft-github-policy-service bot commented Jun 3, 2025

📣 Hey @@pwshBot, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackPort-7.5.x-Approved CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants