Skip to content

Clean up code for PSSession class - #11001

Merged
Andrew (anmenaga) merged 1 commit into
PowerShell:masterfrom
PaulHigin:code_cleanup_pssession
Nov 7, 2019
Merged

Andrew (anmenaga) merged 1 commit into
PowerShell:masterfrom
PaulHigin:code_cleanup_pssession

Conversation

@PaulHigin

Copy link
Copy Markdown
Contributor

PR Summary

Use new C# switch on type for PSSession to clean up the code a bit.

PR Context

Just happened to notice this in a previous code review and decided to update the code to use the new syntax. Functionality does not change.

PR Checklist

@iSazonov Ilya (iSazonov) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Nov 7, 2019
@iSazonov Ilya (iSazonov) added this to the 7.0.0-preview.6 milestone Nov 7, 2019
@anmenaga
Andrew (anmenaga) merged commit 41e2898 into PowerShell:master Nov 7, 2019
@PaulHigin
Paul Higinbotham (PaulHigin) deleted the code_cleanup_pssession branch November 7, 2019 23:53
@ghost

Copy link
Copy Markdown

🎉v7.0.0-preview.6 has been released which incorporates this pull request.:tada:

Handy links:

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 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.

5 participants