Skip to content
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

Use null propagation operator in Commands.Management and ConsoleHost #17791

Merged
merged 3 commits into from Aug 1, 2022

Conversation

fflaten
Copy link
Contributor

@fflaten fflaten commented Jul 27, 2022

PR Summary

Replace if not null-checks with null propagation operator to solve IDE0031 with .NET Preview 7.

PR Context

Related to #17769

PR Checklist

@fflaten fflaten changed the title Use null propagation operator Use null propagation operator in Commands.Management and ConsoleHost Jul 27, 2022
@iSazonov iSazonov added the CL-CodeCleanup label Jul 28, 2022
@daxian-dbw daxian-dbw merged commit 2d4a6bf into PowerShell:master Aug 1, 2022
39 checks passed
@daxian-dbw daxian-dbw assigned daxian-dbw and unassigned TravisEz13 Aug 1, 2022
@fflaten fflaten deleted the fix-nullprop-misc branch Aug 1, 2022
@fflaten fflaten mentioned this pull request Aug 1, 2022
22 tasks
@msftbot
Copy link

msftbot bot commented Aug 11, 2022

🎉v7.3.0-preview.7 has been released which incorporates this pull request.🎉

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CL-CodeCleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants