| 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:24970bc1-a8e3-2e41-c001-c7e891ff1ba9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B530:356616:972FF9:CBBFB7:6A54264D |
| html-safe-nonce | e49da94519a41ad9698a6793830c71f45431b21663e3a2b78f81226230e21135 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTMwOjM1NjYxNjo5NzJGRjk6Q0JCRkI3OjZBNTQyNjREIiwidmlzaXRvcl9pZCI6IjYzNjU3NzYwMjU2Nzk1NzA1MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 89f794562224f38b8198a9c02abac37b4e7d9f8d9bcdd6fbcb31780d8baaf75f |
| hovercard-subject-tag | pull_request:1327741004 |
| 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/19566/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5f171d500ce050500b363dfa7cbe4c479731b1d56e1048baaa4c2654924001b2/PowerShell/PowerShell/pull/19566 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f171d500ce050500b363dfa7cbe4c479731b1d56e1048baaa4c2654924001b2/PowerShell/PowerShell/pull/19566 |
| og:image:alt | PR Summary
Ensure the native PInvoke call has SetLastError in the LibraryImport attribuute. We use the last error to determine the correct fully qualified error id.
PR Context
PR Checklist
PR ha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adityapatwardhan |
| 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/19566#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F19566 |
| 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%2F19566 |
|
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/19566 |
| Reload | https://github.com/PowerShell/PowerShell/pull/19566 |
| Reload | https://github.com/PowerShell/PowerShell/pull/19566 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19566 |
|
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
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 |
| daxian-dbw | https://github.com/daxian-dbw |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| adityapatwardhan:FixSetLastError | https://github.com/adityapatwardhan/PowerShell/tree/FixSetLastError |
| Conversation | https://github.com/PowerShell/PowerShell/pull/19566 |
| Commits1 (1) | https://github.com/PowerShell/PowerShell/pull/19566/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/19566/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/19566/files |
| SetLastError as true for Symbolic and Hard Link native APIs | https://github.com/PowerShell/PowerShell/pull/19566#top |
| daxian-dbw | https://github.com/daxian-dbw |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| adityapatwardhan:FixSetLastError | https://github.com/adityapatwardhan/PowerShell/tree/FixSetLastError |
|
| https://github.com/adityapatwardhan |
| adityapatwardhan | https://github.com/adityapatwardhan |
| Apr 25, 2023 | https://github.com/PowerShell/PowerShell/pull/19566#issue-1683851282 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19566 |
| 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/main/reference/7.3/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/19566 |
|
| https://github.com/adityapatwardhan |
| SetLastError as true for Symbolic and Hard Link native APIs | https://github.com/PowerShell/PowerShell/pull/19566/commits/72671a3564b54a842c06c2634094c62da9532726 |
| 72671a3 | https://github.com/PowerShell/PowerShell/pull/19566/commits/72671a3564b54a842c06c2634094c62da9532726 |
| https://github.com/adityapatwardhan |
| adityapatwardhan | https://github.com/adityapatwardhan |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
| iSazonov | https://github.com/iSazonov |
| April 25, 2023 20:54 | https://github.com/PowerShell/PowerShell/pull/19566#event-9096543625 |
| TravisEz13 | https://github.com/TravisEz13 |
| Apr 25, 2023 | https://github.com/PowerShell/PowerShell/pull/19566#event-9096544530 |
| https://github.com/adityapatwardhan |
| adityapatwardhan | https://github.com/adityapatwardhan |
| JamesWTruher | https://github.com/JamesWTruher |
| April 25, 2023 20:55 | https://github.com/PowerShell/PowerShell/pull/19566#event-9096546005 |
| https://github.com/JamesWTruher |
| JamesWTruher | https://github.com/JamesWTruher |
|
Apr 25, 2023
| https://github.com/PowerShell/PowerShell/pull/19566#pullrequestreview-1400809825 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/19566/files/72671a3564b54a842c06c2634094c62da9532726 |
| https://github.com/iSazonov |
| iSazonov | https://github.com/iSazonov |
| Apr 26, 2023 | https://github.com/PowerShell/PowerShell/pull/19566#issuecomment-1522705188 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19566 |
| https://github.com/SeeminglyScience |
| SeeminglyScience | https://github.com/SeeminglyScience |
| Apr 26, 2023 | https://github.com/PowerShell/PowerShell/pull/19566#issuecomment-1522788591 |
| here | https://github.com/PowerShell/PowerShell/blob/69e9b439fd38177ff7f3af1ef62f5617454bcf23/src/System.Management.Automation/namespaces/FileSystemProvider.cs#L2357-L2379 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19566 |
| https://github.com/iSazonov |
| iSazonov | https://github.com/iSazonov |
|
Apr 26, 2023
| https://github.com/PowerShell/PowerShell/pull/19566#pullrequestreview-1401173535 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/19566/files/72671a3564b54a842c06c2634094c62da9532726 |
| https://github.com/SteveL-MSFT |
| SteveL-MSFT | https://github.com/SteveL-MSFT |
|
May 1, 2023
| https://github.com/PowerShell/PowerShell/pull/19566#pullrequestreview-1407805895 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/19566/files/72671a3564b54a842c06c2634094c62da9532726 |
| https://github.com/daxian-dbw |
| daxian-dbw | https://github.com/daxian-dbw |
| 72c81b8 | https://github.com/PowerShell/PowerShell/commit/72c81b820ae16027efa5e4f6098d31f48325c1ca |
| May 1, 2023 | https://github.com/PowerShell/PowerShell/pull/19566#event-9138401685 |
| https://github.com/daxian-dbw |
| daxian-dbw | https://github.com/daxian-dbw |
|
CL-General
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General |
| May 1, 2023 | https://github.com/PowerShell/PowerShell/pull/19566#event-9138402644 |
| https://github.com/ghost |
| ghost | https://github.com/ghost |
| Jun 29, 2023 | https://github.com/PowerShell/PowerShell/pull/19566#issuecomment-1613862378 |
| Release Notes | https://github.com/PowerShell/PowerShell/releases/tag/v7.4.0-preview.4 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19566 |
| 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%2F19566 |
|
| https://github.com/SteveL-MSFT |
|
SteveL-MSFT
| https://github.com/SteveL-MSFT |
|
| https://github.com/PowerShell/PowerShell/pull/19566/files/72671a3564b54a842c06c2634094c62da9532726 |
|
| https://github.com/iSazonov |
|
iSazonov
| https://github.com/iSazonov |
|
| https://github.com/PowerShell/PowerShell/pull/19566/files/72671a3564b54a842c06c2634094c62da9532726 |
|
| https://github.com/JamesWTruher |
|
JamesWTruher
| https://github.com/JamesWTruher |
|
| https://github.com/PowerShell/PowerShell/pull/19566/files/72671a3564b54a842c06c2634094c62da9532726 |
|
| https://github.com/TravisEz13 |
|
TravisEz13
| https://github.com/TravisEz13 |
|
CL-General
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/19566 |
|
| https://github.com/adityapatwardhan |
|
| https://github.com/iSazonov |
|
| https://github.com/SeeminglyScience |
|
| https://github.com/JamesWTruher |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com/daxian-dbw |
|
| https://github.com/TravisEz13 |
|
| 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 |