| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:155f8361-3914-009f-6846-38d5c9cf91df |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E61E:3D12FA:104C8BC:1600A65:6A570F42 |
| html-safe-nonce | 228b5dcda6cd0fc8e3b3739d017cb36c9e153b159e7b2a8552e1ba39a94bcd14 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjFFOjNEMTJGQToxMDRDOEJDOjE2MDBBNjU6NkE1NzBGNDIiLCJ2aXNpdG9yX2lkIjoiODEwNDc0NTg1NTM1NzQ1ODU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 14c30aba23c3b9bfdee5d460cbfa6746e13aa4e3d5dc9b40a25d9bc936a57a34 |
| hovercard-subject-tag | pull_request:457005170 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/13285/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/23e4650bed612e2b7ba3c05e587784a524bb08eaf0a8d966917f4fc4e128c68b/PowerShell/PowerShell/pull/13285 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/23e4650bed612e2b7ba3c05e587784a524bb08eaf0a8d966917f4fc4e128c68b/PowerShell/PowerShell/pull/13285 |
| og:image:alt | PR Summary
Fix comparison of value type object to null
PR Context
#13286
PR Checklist
PR has a meaningful title
Use the present tense and imperative mood when describing your changes
Summar... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xtqqczze |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| turbo-cache-control | no-cache |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/13285#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F13285 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F13285 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/13285 |
| Reload | https://github.com/PowerShell/PowerShell/pull/13285 |
| Reload | https://github.com/PowerShell/PowerShell/pull/13285 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13285 |
|
PowerShell
| https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
|
Notifications
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Fork
8.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Star
54.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
1.2k
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
288
| https://github.com/PowerShell/PowerShell/pulls |
|
Discussions
| https://github.com/PowerShell/PowerShell/discussions |
|
Actions
| https://github.com/PowerShell/PowerShell/actions |
|
Projects
| https://github.com/PowerShell/PowerShell/projects |
|
Security and quality
3
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
| https://github.com/PowerShell/PowerShell/pulls |
|
Discussions
| https://github.com/PowerShell/PowerShell/discussions |
|
Actions
| https://github.com/PowerShell/PowerShell/actions |
|
Projects
| https://github.com/PowerShell/PowerShell/projects |
|
Security and quality
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
| anmenaga | https://github.com/anmenaga |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| xtqqczze:RCS1166 | https://github.com/xtqqczze/PowerShell-PowerShell/tree/RCS1166 |
| Conversation | https://github.com/PowerShell/PowerShell/pull/13285 |
| Commits3 (3) | https://github.com/PowerShell/PowerShell/pull/13285/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/13285/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/13285/files |
| Fix comparison of value type object to null | https://github.com/PowerShell/PowerShell/pull/13285#top |
| anmenaga | https://github.com/anmenaga |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| xtqqczze:RCS1166 | https://github.com/xtqqczze/PowerShell-PowerShell/tree/RCS1166 |
|
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Jul 27, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#issue-666103088 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13285 |
| #13286 | https://github.com/PowerShell/PowerShell/pull/13286 |
| PR has a meaningful title | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Summarized changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Work in Progress | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress |
| Breaking changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Experimental feature(s) needed | https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md |
| Documentation needed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure you've added a new test if existing tests do not effectively test the code changed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting |
| PowerShell Editor Services | https://github.com/PowerShell/PowerShellEditorServices |
| PowerShell extension | https://github.com/PowerShell/vscode-powershell |
| PSScriptAnalyzer | https://github.com/PowerShell/PSScriptAnalyzer |
| EditorSyntax | https://github.com/PowerShell/EditorSyntax |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13285 |
| anmenaga | https://github.com/anmenaga |
| Jul 27, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#event-3588786775 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
|
Jul 27, 2020
| https://github.com/PowerShell/PowerShell/pull/13285#ref-pullrequest-665625532 |
|
Use is null syntax
#13277
| https://github.com/PowerShell/PowerShell/pull/13277 |
|
Waiting on Author
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22 |
| Jul 30, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#event-3605342446 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
|
Jul 30, 2020
| https://github.com/PowerShell/PowerShell/pull/13285#ref-pullrequest-666205151 |
|
Use is not null syntax
#13286
| https://github.com/PowerShell/PowerShell/pull/13286 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| July 30, 2020 21:16 | https://github.com/PowerShell/PowerShell/pull/13285#event-3605834302 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| adityapatwardhan | https://github.com/adityapatwardhan |
| anmenaga | https://github.com/anmenaga |
| daxian-dbw | https://github.com/daxian-dbw |
| code owners | https://github.com/PowerShell/PowerShell/blob/fd05d1af93a78ac8106bca1359c9775e04359db4/.github/CODEOWNERS#L52 |
| July 30, 2020 21:16 | https://github.com/PowerShell/PowerShell/pull/13285#event-3605834331 |
|
Waiting on Author
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22 |
| Jul 30, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#event-3605834465 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Jul 30, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#event-3606240137 |
| https://github.com/daxian-dbw |
| daxian-dbw | https://github.com/daxian-dbw |
|
Jul 31, 2020
| https://github.com/PowerShell/PowerShell/pull/13285#pullrequestreview-458842652 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/13285/files |
| daxian-dbw | https://github.com/daxian-dbw |
| https://github.com/PowerShell/PowerShell/pull/13285#pullrequestreview-458842652 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13285 |
| src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs | https://github.com/PowerShell/PowerShell/pull/13285/files#diff-3ba0ad52040bee05362fd1bd9f11eac7806d4a75bf06cd17b46c10e94d4ddd30 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13285 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Jul 31, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#event-3609198725 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| force-pushed | https://github.com/PowerShell/PowerShell/compare/f8beefebd21040478238698d9608823b2fbdb291..237519bcb6bf772166beb46940ad5bb5e1ef97c5 |
| f8beefe | https://github.com/PowerShell/PowerShell/commit/f8beefebd21040478238698d9608823b2fbdb291 |
| 237519b | https://github.com/PowerShell/PowerShell/commit/237519bcb6bf772166beb46940ad5bb5e1ef97c5 |
|
Compare
| https://github.com/PowerShell/PowerShell/compare/f8beefebd21040478238698d9608823b2fbdb291..237519bcb6bf772166beb46940ad5bb5e1ef97c5 |
| July 31, 2020 16:06 | https://github.com/PowerShell/PowerShell/pull/13285#event-3609204786 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Jul 31, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#issuecomment-667201676 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13285 |
| https://github.com/daxian-dbw |
| daxian-dbw | https://github.com/daxian-dbw |
|
Jul 31, 2020
| https://github.com/PowerShell/PowerShell/pull/13285#pullrequestreview-459309492 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/13285/files |
|
Review - Needed
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22 |
| Aug 8, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#event-3635249016 |
| https://github.com/ghost |
| ghost | https://github.com/ghost |
| Aug 8, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#issuecomment-670807424 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13285 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
|
Aug 8, 2020
| https://github.com/PowerShell/PowerShell/pull/13285#ref-pullrequest-675598437 |
|
Turn on /features:strict for all projects
#13383
| https://github.com/PowerShell/PowerShell/pull/13383 |
| xtqqczze | https://github.com/xtqqczze |
| August 8, 2020 23:33 | https://github.com/PowerShell/PowerShell/pull/13285#commits-pushed-4658a96 |
|
| https://github.com/xtqqczze |
| Autofix RCS1166: Value type object is never equal to null | https://github.com/PowerShell/PowerShell/pull/13285/commits/4658a96dda62c9fb787f112850beff42d61277dc |
| 4658a96 | https://github.com/PowerShell/PowerShell/pull/13285/commits/4658a96dda62c9fb787f112850beff42d61277dc |
|
| https://github.com/xtqqczze |
| Refactor default value checks | https://github.com/PowerShell/PowerShell/pull/13285/commits/c9c28b2d7b9ce829e80098bb4c8e4e6f8e8e092f |
| c9c28b2 | https://github.com/PowerShell/PowerShell/pull/13285/commits/c9c28b2d7b9ce829e80098bb4c8e4e6f8e8e092f |
|
| https://github.com/xtqqczze |
| Remove assert | https://github.com/PowerShell/PowerShell/pull/13285/commits/7c6f6fce4c15d00ed43618ec5a9459e8061ddaab |
| 7c6f6fc | https://github.com/PowerShell/PowerShell/pull/13285/commits/7c6f6fce4c15d00ed43618ec5a9459e8061ddaab |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| force-pushed | https://github.com/PowerShell/PowerShell/compare/237519bcb6bf772166beb46940ad5bb5e1ef97c5..7c6f6fce4c15d00ed43618ec5a9459e8061ddaab |
| 237519b | https://github.com/PowerShell/PowerShell/commit/237519bcb6bf772166beb46940ad5bb5e1ef97c5 |
| 7c6f6fc | https://github.com/PowerShell/PowerShell/commit/7c6f6fce4c15d00ed43618ec5a9459e8061ddaab |
|
Compare
| https://github.com/PowerShell/PowerShell/compare/237519bcb6bf772166beb46940ad5bb5e1ef97c5..7c6f6fce4c15d00ed43618ec5a9459e8061ddaab |
| August 8, 2020 22:39 | https://github.com/PowerShell/PowerShell/pull/13285#event-3636026059 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Aug 8, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#issuecomment-670981262 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13285 |
| https://github.com/anmenaga |
| anmenaga | https://github.com/anmenaga |
| d8f8f0a | https://github.com/PowerShell/PowerShell/commit/d8f8f0a8bcbadb357f9eaafbb797278ebe07d7cc |
| Aug 10, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#event-3640628164 |
|
Review - Needed
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22 |
| Aug 10, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#event-3640628319 |
| https://github.com/anmenaga |
| anmenaga | https://github.com/anmenaga |
|
CL-CodeCleanup
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup |
| Aug 10, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#event-3640628776 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| August 10, 2020 23:08 | https://github.com/PowerShell/PowerShell/pull/13285#event-3640792923 |
| https://github.com/ghost |
| ghost | https://github.com/ghost |
| Aug 17, 2020 | https://github.com/PowerShell/PowerShell/pull/13285#issuecomment-675143629 |
| Release Notes | https://github.com/PowerShell/PowerShell/releases/tag/v7.1.0-preview.6 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13285 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F13285 |
|
| https://github.com/daxian-dbw |
|
daxian-dbw
| https://github.com/daxian-dbw |
|
| https://github.com/PowerShell/PowerShell/pull/13285/files/237519bcb6bf772166beb46940ad5bb5e1ef97c5 |
|
| https://github.com/adityapatwardhan |
|
adityapatwardhan
| https://github.com/adityapatwardhan |
|
| https://github.com/anmenaga |
|
anmenaga
| https://github.com/anmenaga |
|
| https://github.com/anmenaga |
|
anmenaga
| https://github.com/anmenaga |
|
CL-CodeCleanup
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13285 |
|
| https://github.com/xtqqczze |
|
| https://github.com/daxian-dbw |
|
| https://github.com/anmenaga |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |