Skip to content

Use null propagation operator in Utility module #17787

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

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 July 27, 2022 21:56
@iSazonov iSazonov added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Jul 28, 2022
@daxian-dbw daxian-dbw merged commit ebfb62b into PowerShell:master Aug 1, 2022
@fflaten fflaten deleted the fix-nullprop-utility branch August 1, 2022 17:19
@fflaten fflaten mentioned this pull request Aug 1, 2022
22 tasks
@ghost
Copy link

ghost commented Aug 11, 2022

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

Handy links:

@TravisEz13 TravisEz13 mentioned this pull request Sep 30, 2022
22 tasks
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.

6 participants