Visitar URL original
Use null propagation operator in Utility module by fflaten · Pull Request #17787 · PowerShell/PowerShell · GitHub
The Wayback Machine - https://web.archive.org/web/20220821051600/https://github.com/PowerShell/PowerShell/pull/17787
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 Utility module #17787

Merged
merged 1 commit 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 requested a review from PaulHigin as a code owner Jul 27, 2022
@iSazonov iSazonov added the CL-CodeCleanup label Jul 28, 2022
@daxian-dbw daxian-dbw merged commit ebfb62b into PowerShell:master Aug 1, 2022
39 checks passed
@fflaten fflaten deleted the fix-nullprop-utility 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

6 participants