| 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:fa01e1e8-9062-1c75-58f5-a3d5153d1806 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D860:28D644:AF7D33:EC1501:6A527DF0 |
| html-safe-nonce | d848a8b11f91bf4b3e87e20eb59eb0943b3753ebf14418c4cbccbbb4e04c0947 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODYwOjI4RDY0NDpBRjdEMzM6RUMxNTAxOjZBNTI3REYwIiwidmlzaXRvcl9pZCI6IjI0MjI5MTQ4NjQ0Nzk2MzI4ODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c104f691d5029569439e347655de0de82bbc1f86c020bddd6fb1091acd9f2cd0 |
| hovercard-subject-tag | pull_request:466639144 |
| 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/13411/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9930861ce4672cfe0d484bec17c8f0c74bab377dab5be597d499437ab51ec264/PowerShell/PowerShell/pull/13411 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9930861ce4672cfe0d484bec17c8f0c74bab377dab5be597d499437ab51ec264/PowerShell/PowerShell/pull/13411 |
| og:image:alt | PR Summary
call the static method instead of instance method
PR Context
PR Checklist
PR has a meaningful title
Use the present tense and imperative mood when describing your changes
Summariz... |
| 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 | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/13411#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F13411 |
| 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%2F13411 |
|
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/13411 |
| Reload | https://github.com/PowerShell/PowerShell/pull/13411 |
| Reload | https://github.com/PowerShell/PowerShell/pull/13411 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
|
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.3k
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
287
| 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 |
| xtqqczze | https://github.com/xtqqczze |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| xtqqczze:replace-compareinfo-compare | https://github.com/xtqqczze/PowerShell-PowerShell/tree/replace-compareinfo-compare |
| Conversation | https://github.com/PowerShell/PowerShell/pull/13411 |
| Commits4 (4) | https://github.com/PowerShell/PowerShell/pull/13411/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/13411/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/13411/files |
| WIP: Replace compareinfo compare | https://github.com/PowerShell/PowerShell/pull/13411#top |
| xtqqczze | https://github.com/xtqqczze |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| xtqqczze:replace-compareinfo-compare | https://github.com/xtqqczze/PowerShell-PowerShell/tree/replace-compareinfo-compare |
|
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Aug 12, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#issue-677537557 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
| 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/13411 |
| iSazonov | https://github.com/iSazonov |
| Aug 12, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-3646791829 |
|
Waiting on Author
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22 |
| Aug 15, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-3658763948 |
|
Stale
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AStale |
| Aug 30, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-3707581306 |
| https://github.com/ghost |
| ghost | https://github.com/ghost |
| Aug 30, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#issuecomment-683463620 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
| Sep 10, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-3749120523 |
| https://github.com/iSazonov |
| iSazonov | https://github.com/iSazonov |
| Oct 16, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-3884459485 |
| https://github.com/iSazonov |
| iSazonov | https://github.com/iSazonov |
| Oct 16, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#issuecomment-709717896 |
| @xtqqczze | https://github.com/xtqqczze |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
|
Stale
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AStale |
| Oct 16, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-3884460097 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| October 22, 2020 22:57 | https://github.com/PowerShell/PowerShell/pull/13411#event-3911445708 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| anmenaga | https://github.com/anmenaga |
| code owner | https://github.com/PowerShell/PowerShell/blob/d20e1217ad62368b7af7d6a643e16b27c88598c2/.github/CODEOWNERS#L61 |
| October 22, 2020 22:57 | https://github.com/PowerShell/PowerShell/pull/13411#event-3911445721 |
| xtqqczze | https://github.com/xtqqczze |
| October 22, 2020 23:58 | https://github.com/PowerShell/PowerShell/pull/13411#commits-pushed-298dbb8 |
|
| https://github.com/xtqqczze |
| Use string.Compare | https://github.com/PowerShell/PowerShell/pull/13411/commits/298dbb86b3342e1aef7131d84ef95c841a06cdcc |
| 298dbb8 | https://github.com/PowerShell/PowerShell/pull/13411/commits/298dbb86b3342e1aef7131d84ef95c841a06cdcc |
|
| https://github.com/xtqqczze |
| Wrap arguments for clarity | https://github.com/PowerShell/PowerShell/pull/13411/commits/1c13c235ace97b6f5b41983e6bd0040fe25627da |
| 1c13c23 | https://github.com/PowerShell/PowerShell/pull/13411/commits/1c13c235ace97b6f5b41983e6bd0040fe25627da |
|
| https://github.com/xtqqczze |
| Use StringComparison.Ordinal for culture-agnostic string matching | https://github.com/PowerShell/PowerShell/pull/13411/commits/fd6af4acbe063bc10cce102c4fb07fd9fd2e044d |
| fd6af4a | https://github.com/PowerShell/PowerShell/pull/13411/commits/fd6af4acbe063bc10cce102c4fb07fd9fd2e044d |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| force-pushed | https://github.com/PowerShell/PowerShell/compare/735cb71f990ccce9759dc16f6000d5173f45e1ee..fd6af4acbe063bc10cce102c4fb07fd9fd2e044d |
| 735cb71 | https://github.com/PowerShell/PowerShell/commit/735cb71f990ccce9759dc16f6000d5173f45e1ee |
| fd6af4a | https://github.com/PowerShell/PowerShell/commit/fd6af4acbe063bc10cce102c4fb07fd9fd2e044d |
|
Compare
| https://github.com/PowerShell/PowerShell/compare/735cb71f990ccce9759dc16f6000d5173f45e1ee..fd6af4acbe063bc10cce102c4fb07fd9fd2e044d |
| October 22, 2020 22:59 | https://github.com/PowerShell/PowerShell/pull/13411#event-3911450770 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Oct 22, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#issuecomment-714807775 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
|
Waiting on Author
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22 |
| Oct 22, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-3911450933 |
|
| https://github.com/xtqqczze |
| Fix CodeFactor issue | https://github.com/PowerShell/PowerShell/pull/13411/commits/a1be291e45ea0c8fce621d9cacc60a423ec1535f |
| a1be291 | https://github.com/PowerShell/PowerShell/pull/13411/commits/a1be291e45ea0c8fce621d9cacc60a423ec1535f |
|
Review - Needed
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22 |
| Oct 30, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-3939143416 |
| https://github.com/ghost |
| ghost | https://github.com/ghost |
| Oct 30, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#issuecomment-719123999 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| October 30, 2020 15:07 | https://github.com/PowerShell/PowerShell/pull/13411#event-3941691084 |
|
Waiting on Author
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22 |
| Nov 2, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-3949628230 |
|
Stale
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AStale |
| Nov 17, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-4007280895 |
| https://github.com/ghost |
| ghost | https://github.com/ghost |
| Nov 17, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#issuecomment-729168197 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
| https://github.com/iSazonov |
| iSazonov | https://github.com/iSazonov |
| Nov 21, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#issuecomment-731594595 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
|
Stale
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AStale |
|
Review - Needed
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22 |
| Nov 21, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-4023946957 |
| https://github.com/xtqqczze |
| xtqqczze | https://github.com/xtqqczze |
| Nov 24, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#issuecomment-732895798 |
| #14148 | https://github.com/PowerShell/PowerShell/pull/14148 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
|
Waiting on Author
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22 |
|
Waiting on Author
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22 |
| Nov 24, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-4032331370 |
|
Stale
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AStale |
| Dec 12, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-4104782364 |
| https://github.com/ghost |
| ghost | https://github.com/ghost |
| Dec 12, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#issuecomment-743808019 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
|
CL-CodeCleanup
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup |
| Dec 15, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-4116504854 |
| Dec 26, 2020 | https://github.com/PowerShell/PowerShell/pull/13411#event-4149421447 |
| 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%2F13411 |
|
| https://github.com/anmenaga |
|
anmenaga
| https://github.com/anmenaga |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com/iSazonov |
|
iSazonov
| https://github.com/iSazonov |
|
CL-CodeCleanup
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup |
|
Stale
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AStale |
|
Waiting on Author
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/13411 |
|
| https://github.com/xtqqczze |
|
| https://github.com/iSazonov |
|
| https://github.com/SteveL-MSFT |
|
| 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 |