| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:01b09160-3c1e-404e-4580-d9a0a5c72ced |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5E0:389307:15C4CB:1D4222:6AFD41F6 |
| html-safe-nonce | cf9a8a866a02e40ca201fd1589ecb52352f7f2ea9a7cabbac1b0bc7766381486 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUUwOjM4OTMwNzoxNUM0Q0I6MUQ0MjIyOjZBRkQ0MUY2IiwidmlzaXRvcl9pZCI6IjgzODQyNDEyNzQxODU0MDA4MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f9ca90beb5d0c222575c8f4f4ea17bc771512d0000c95109349ae627afd73c9e |
| hovercard-subject-tag | pull_request:387997830 |
| 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/12124/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f4c5bd0ccb4905097206771209e6a4551236ea4a1ee81f4e33abc635da26676b/PowerShell/PowerShell/pull/12124 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f4c5bd0ccb4905097206771209e6a4551236ea4a1ee81f4e33abc635da26676b/PowerShell/PowerShell/pull/12124 |
| og:image:alt | PR Summary
Fix #11692
Check for null value argument when assigning to the Enum type ActionPreference for common parameters, just like what we do for non-optimized setters from the below code:
... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daxian-dbw |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| 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 | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/12124#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F12124 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F12124 |
| 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/12124 |
| Reload | https://github.com/PowerShell/PowerShell/pull/12124 |
| Reload | https://github.com/PowerShell/PowerShell/pull/12124 |
| PowerShell | https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
| Code | https://github.com/PowerShell/PowerShell |
| Issues1.3k (1.3k) | https://github.com/PowerShell/PowerShell/issues |
| Pull requests364 (364) | 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 quality3 (3) | https://github.com/PowerShell/PowerShell/security |
| Insights | https://github.com/PowerShell/PowerShell/insights |
| https://github.com/PowerShell/PowerShell |
| Ilya (iSazonov) | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| daxian-dbw:binder | https://github.com/daxian-dbw/PowerShell/tree/binder |
| Conversation | https://github.com/PowerShell/PowerShell/pull/12124 |
| Commits1 (1) | https://github.com/PowerShell/PowerShell/pull/12124/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/12124/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/12124/files |
| Fix NullReferenceException when binding common parameters of type ActionPreference | https://github.com/PowerShell/PowerShell/pull/12124#top |
| Ilya (iSazonov) | https://github.com/iSazonov |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| daxian-dbw:binder | https://github.com/daxian-dbw/PowerShell/tree/binder |
|
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Mar 13, 2020 | https://github.com/PowerShell/PowerShell/pull/12124#issue-580863057 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/12124 |
| #11692 | https://github.com/PowerShell/PowerShell/issues/11692 |
| PowerShell/src/System.Management.Automation/engine/ReflectionParameterBinder.cs | https://github.com/PowerShell/PowerShell/blob/e9152a59a56a4203f756d03fbe719600d25f5c78/src/System.Management.Automation/engine/ReflectionParameterBinder.cs#L233-L249 |
| e9152a5 | https://github.com/PowerShell/PowerShell/commit/e9152a59a56a4203f756d03fbe719600d25f5c78 |
| 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/12124 |
|
| https://github.com/daxian-dbw |
| Fix NullReferenceException when binding common parameters of type 'Ac… | https://github.com/PowerShell/PowerShell/pull/12124/commits/2e0d9a65adf4ae1f3e2af61822d33ba904f1d208 |
| 2e0d9a6 | https://github.com/PowerShell/PowerShell/pull/12124/commits/2e0d9a65adf4ae1f3e2af61822d33ba904f1d208 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Ilya (iSazonov) | https://github.com/iSazonov |
| March 13, 2020 21:27 | https://github.com/PowerShell/PowerShell/pull/12124#event-3128269832 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Ilya (iSazonov) | https://github.com/iSazonov |
| Mar 13, 2020 | https://github.com/PowerShell/PowerShell/pull/12124#event-3128269847 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
|
Mar 13, 2020
| https://github.com/PowerShell/PowerShell/pull/12124#ref-pullrequest-560355530 |
|
Fix NRE in ActionPreference parameters
#11779
| https://github.com/PowerShell/PowerShell/pull/11779 |
| https://github.com/PoshChan |
| PoshChan-Bot (PoshChan) | https://github.com/PoshChan |
|
Mar 13, 2020
| https://github.com/PowerShell/PowerShell/pull/12124#pullrequestreview-374638101 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/12124/files/2e0d9a65adf4ae1f3e2af61822d33ba904f1d208 |
| src/System.Management.Automation/engine/ReflectionParameterBinder.cs | https://github.com/PowerShell/PowerShell/pull/12124/files/2e0d9a65adf4ae1f3e2af61822d33ba904f1d208#diff-5e5ced42fa27ffc7251bf8f76f4a222860d55806a6ce8ad47fbbdd00b1f361aa |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/12124 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
Mar 16, 2020
| https://github.com/PowerShell/PowerShell/pull/12124#pullrequestreview-375183499 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/12124/files/2e0d9a65adf4ae1f3e2af61822d33ba904f1d208 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
|
CL-General
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General |
| Mar 16, 2020 | https://github.com/PowerShell/PowerShell/pull/12124#event-3133031745 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| 7.1-Consider | https://github.com/PowerShell/PowerShell/milestone/73 |
| 7.1.0-preview.1 | https://github.com/PowerShell/PowerShell/milestone/75 |
| Mar 16, 2020 | https://github.com/PowerShell/PowerShell/pull/12124#event-3133032645 |
| https://github.com/iSazonov |
| Ilya (iSazonov) | https://github.com/iSazonov |
| c737f31 | https://github.com/PowerShell/PowerShell/commit/c737f3162c756c5d4b1a54e1436d84f67a932477 |
| Mar 18, 2020 | https://github.com/PowerShell/PowerShell/pull/12124#event-3142640503 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| March 18, 2020 23:22 | https://github.com/PowerShell/PowerShell/pull/12124#event-3143508272 |
| https://github.com/ghost |
| Deleted user (ghost) | https://github.com/ghost |
| Mar 26, 2020 | https://github.com/PowerShell/PowerShell/pull/12124#issuecomment-604579096 |
| Release Notes | https://github.com/PowerShell/PowerShell/releases/tag/v7.1.0-preview.1 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/12124 |
|
Mar 26, 2020
| https://github.com/PowerShell/PowerShell/pull/12124#ref-issue-555739984 |
|
ErrorAction for Test-Path throw an NullReferenceException
#11692
| https://github.com/PowerShell/PowerShell/issues/11692 |
| Thatgfsj (Thatgfsj) | https://github.com/Thatgfsj |
|
Aug 6, 2026
| https://github.com/PowerShell/PowerShell/pull/12124#ref-commit-d14f623 |
|
| https://github.com/daxian-dbw |
| Fix NullReferenceException when binding common parameters of type 'Ac… | https://github.com/Thatgfsj-contribs/PowerShell/commit/d14f623e17cdd27954ccc5af0da441129ba7226e |
| d14f623 | https://github.com/Thatgfsj-contribs/PowerShell/commit/d14f623e17cdd27954ccc5af0da441129ba7226e |
| PowerShell#12124 | https://github.com/PowerShell/PowerShell/pull/12124 |
| 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%2F12124 |
|
| https://github.com/iSazonov |
|
Ilya (iSazonov)
| https://github.com/iSazonov |
|
| https://github.com/PowerShell/PowerShell/pull/12124/files/2e0d9a65adf4ae1f3e2af61822d33ba904f1d208 |
|
| https://github.com/PoshChan |
|
PoshChan-Bot (PoshChan)
| https://github.com/PoshChan |
|
| https://github.com/PowerShell/PowerShell/pull/12124/files/2e0d9a65adf4ae1f3e2af61822d33ba904f1d208 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/12124 |
|
| https://github.com/iSazonov |
|
Ilya (iSazonov)
| https://github.com/iSazonov |
|
CL-General
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General |
|
7.1.0-preview.1
| https://github.com/PowerShell/PowerShell/milestone/75 |
|
ErrorAction for Test-Path throw an NullReferenceException
| https://github.com/PowerShell/PowerShell/issues/11692 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/12124 |
|
| https://github.com/daxian-dbw |
|
| https://github.com/iSazonov |
|
| https://github.com/PoshChan |
|
| 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 |