Skip to content

Clean up code for PSSession class#11001

Merged
anmenaga merged 1 commit intoPowerShell:masterfrom
PaulHigin:code_cleanup_pssession
Nov 7, 2019
Merged

Clean up code for PSSession class#11001
anmenaga merged 1 commit intoPowerShell: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 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 iSazonov added this to the 7.0.0-preview.6 milestone Nov 7, 2019
@anmenaga anmenaga merged commit 41e2898 into PowerShell:master Nov 7, 2019
@PaulHigin PaulHigin deleted the code_cleanup_pssession branch November 7, 2019 23:53
@ghost
Copy link
Copy Markdown

ghost commented Nov 21, 2019

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

Handy links:

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