Skip to content

Use null check with pattern-matching instead of object.ReferenceEquals - #13065

Merged
Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
xtqqczze:is_null_check
Jul 6, 2020
Merged

Use null check with pattern-matching instead of object.ReferenceEquals#13065
Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
xtqqczze:is_null_check

Conversation

@xtqqczze

Copy link
Copy Markdown
Contributor

PR Summary

PR Context

Comply with dotnet_style_prefer_is_null_check_over_reference_equality_method = true in EditorConfig.

PR Checklist

@xtqqczze
xtqqczze marked this pull request as ready for review June 30, 2020 19:23
@iSazonov Ilya (iSazonov) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Jul 1, 2020
@iSazonov Ilya (iSazonov) self-assigned this Jul 6, 2020
@iSazonov
Ilya (iSazonov) merged commit 9aba45f into PowerShell:master Jul 6, 2020
@iSazonov Ilya (iSazonov) added this to the 7.1.0-preview.6 milestone Jul 6, 2020
@xtqqczze
xtqqczze deleted the is_null_check branch July 6, 2020 16:55
@ghost

Copy link
Copy Markdown

🎉v7.1.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.

3 participants