| 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:778d993f-24b9-f666-46c8-b323453ad961 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D0FA:247EC1:299863:392D2E:6AFD83EE |
| html-safe-nonce | 97b27036572d30a0b0b7d00daf8ef46acd21226ce9d3a05192efb378284c30c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEZBOjI0N0VDMToyOTk4NjM6MzkyRDJFOjZBRkQ4M0VFIiwidmlzaXRvcl9pZCI6IjQ1ODkzOTc5ODMyMjQ0OTcxMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 65d25a07c008688166906bdb25ed42c13bcd1bc6e0254a5bf6d530136ac35ced |
| hovercard-subject-tag | pull_request:945890300 |
| 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/17423/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ed4d4dc947c8679057acff775b1b760becd4b12153531a5a444e478c7d43b27c/PowerShell/PowerShell/pull/17423 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed4d4dc947c8679057acff775b1b760becd4b12153531a5a444e478c7d43b27c/PowerShell/PowerShell/pull/17423 |
| og:image:alt | PR Summary
Fix #17384
Update the code that gets the default reference assemblies in Add-Type to remove the assert and use a more deterministic way to get the needed capacity.
PR Checklist
PR has ... |
| 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 | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| 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 | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/17423#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F17423 |
| 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%2F17423 |
| 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/17423 |
| Reload | https://github.com/PowerShell/PowerShell/pull/17423 |
| Reload | https://github.com/PowerShell/PowerShell/pull/17423 |
| 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 requests366 (366) | 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 |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| daxian-dbw:assert | https://github.com/daxian-dbw/PowerShell/tree/assert |
| Conversation | https://github.com/PowerShell/PowerShell/pull/17423 |
| Commits2 (2) | https://github.com/PowerShell/PowerShell/pull/17423/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/17423/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/17423/files |
| Remove the assert and use a relatively larger capacity to cover possible increase of .NET ref assemblies | https://github.com/PowerShell/PowerShell/pull/17423#top |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| daxian-dbw:assert | https://github.com/daxian-dbw/PowerShell/tree/assert |
|
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| May 24, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#issue-1246853945 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/17423 |
| #17384 | https://github.com/PowerShell/PowerShell/issues/17384 |
| 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 |
| https://github.com/MicrosoftDocs/PowerShell- | https://github.com/MicrosoftDocs/PowerShell- |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/17423 |
|
| https://github.com/daxian-dbw |
| Remove the assert and use a more deterministic way to get the needed … | https://github.com/PowerShell/PowerShell/pull/17423/commits/551d555fc89fcf96dc3c47b20c7fb80dc22b4500 |
| 551d555 | https://github.com/PowerShell/PowerShell/pull/17423/commits/551d555fc89fcf96dc3c47b20c7fb80dc22b4500 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Paul Higinbotham (PaulHigin) | https://github.com/PaulHigin |
| code owner | https://github.com/PowerShell/PowerShell/blob/8cb7e35ccf30394b825b19e669e976e86f8850b5/.github/CODEOWNERS#L33 |
| May 24, 2022 16:58 | https://github.com/PowerShell/PowerShell/pull/17423#event-6670841122 |
| Ilya (iSazonov) | https://github.com/iSazonov |
| May 24, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#event-6670841391 |
| https://github.com/apps/pull-request-quantifier-deprecated |
| pull-request-quantifier-deprecated | https://github.com/apps/pull-request-quantifier-deprecated |
|
Extra Small
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Extra%20Small%22 |
| May 24, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#event-6670841485 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| May 24, 2022 16:58 | https://github.com/PowerShell/PowerShell/pull/17423#event-6670842021 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Ilya (iSazonov) | https://github.com/iSazonov |
| May 24, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#event-6670842536 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
|
CL-General
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General |
| May 24, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#event-6670843885 |
| https://github.com/JamesWTruher |
| James Truher (JamesWTruher) | https://github.com/JamesWTruher |
|
May 24, 2022
| https://github.com/PowerShell/PowerShell/pull/17423#pullrequestreview-983583853 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/17423/files/551d555fc89fcf96dc3c47b20c7fb80dc22b4500 |
| https://github.com/PaulHigin |
| Paul Higinbotham (PaulHigin) | https://github.com/PaulHigin |
|
May 24, 2022
| https://github.com/PowerShell/PowerShell/pull/17423#pullrequestreview-983587385 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/17423/files/551d555fc89fcf96dc3c47b20c7fb80dc22b4500 |
| src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddType.cs | https://github.com/PowerShell/PowerShell/pull/17423/files/551d555fc89fcf96dc3c47b20c7fb80dc22b4500#diff-d790c3ebe319e2d67d5542aae9c14ee8f59213d9fc0b0c678d2eab7a6f6cbec7 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/17423 |
|
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 |
| May 24, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#event-6670928685 |
|
| https://github.com/daxian-dbw |
| Simplify the logic | https://github.com/PowerShell/PowerShell/pull/17423/commits/cb7eb1b8eb5953f1e956f8bbbb04d192c16153f0 |
| cb7eb1b | https://github.com/PowerShell/PowerShell/pull/17423/commits/cb7eb1b8eb5953f1e956f8bbbb04d192c16153f0 |
| https://github.com/apps/pull-request-quantifier-deprecated |
| pull-request-quantifier-deprecated | https://github.com/apps/pull-request-quantifier-deprecated |
| May 24, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#issuecomment-1136244493 |
| https://camo.githubusercontent.com/c2d250693fe744096da7142f95df83f1928da179b9530046756e8b8725b0e186/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d5175616e746966696564266d6573736167653d4578747261253230536d616c6c26636f6c6f723d677265656e |
| PullRequestQuantifier customizations | https://github.com/microsoft/PullRequestQuantifier/blob/main/docs/prquantifier-yaml.md |
| context generator | https://github.com/microsoft/PullRequestQuantifier/releases |
| see context specification | https://github.com/PowerShell/PowerShell/pull/docs/prquantifier-yaml.md |
| 👍 | https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiZGF4aWFuLWRidyIsIlJlcG9zaXRvcnlMaW5rIjoiaHR0cHM6Ly9naXRodWIuY29tL1Bvd2VyU2hlbGwvUG93ZXJTaGVsbCIsIlB1bGxSZXF1ZXN0TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwvcHVsbC8xNzQyMyIsIkV2ZW50VHlwZSI6IlRodW1ic1VwIn0=&anonymous=True |
| :ok_hand: | https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiZGF4aWFuLWRidyIsIlJlcG9zaXRvcnlMaW5rIjoiaHR0cHM6Ly9naXRodWIuY29tL1Bvd2VyU2hlbGwvUG93ZXJTaGVsbCIsIlB1bGxSZXF1ZXN0TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwvcHVsbC8xNzQyMyIsIkV2ZW50VHlwZSI6Ik5ldXRyYWwifQ==&anonymous=True |
| :thumbsdown: | https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiZGF4aWFuLWRidyIsIlJlcG9zaXRvcnlMaW5rIjoiaHR0cHM6Ly9naXRodWIuY29tL1Bvd2VyU2hlbGwvUG93ZXJTaGVsbCIsIlB1bGxSZXF1ZXN0TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwvcHVsbC8xNzQyMyIsIkV2ZW50VHlwZSI6IlRodW1ic0Rvd24ifQ==&anonymous=True |
| Email | MAILTO:prquantifier@microsoft.com |
| Customize PullRequestQuantifier | https://github.com/PowerShell/PowerShell/blob/master/.github/prquantifier.yaml |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/17423 |
| https://github.com/PaulHigin |
| Paul Higinbotham (PaulHigin) | https://github.com/PaulHigin |
|
May 24, 2022
| https://github.com/PowerShell/PowerShell/pull/17423#pullrequestreview-983622208 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/17423/files/cb7eb1b8eb5953f1e956f8bbbb04d192c16153f0 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| May 24, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#event-6671393187 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| 736cf3e | https://github.com/PowerShell/PowerShell/commit/736cf3ecbf441af05baec72ac31bad9619a2b3e2 |
| May 24, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#event-6671395882 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| May 24, 2022 18:14 | https://github.com/PowerShell/PowerShell/pull/17423#event-6671396274 |
| https://github.com/daxian-dbw |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| May 24, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#issuecomment-1136283809 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/17423 |
| https://github.com/ghost |
| Deleted user (ghost) | https://github.com/ghost |
| Jun 22, 2022 | https://github.com/PowerShell/PowerShell/pull/17423#issuecomment-1163567164 |
| Release Notes | https://github.com/PowerShell/PowerShell/releases/tag/v7.3.0-preview.5 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/17423 |
|
Jun 22, 2022
| https://github.com/PowerShell/PowerShell/pull/17423#ref-issue-1242028245 |
|
Default reference assembly count is incorrect, causing debug assert
#17384
| https://github.com/PowerShell/PowerShell/issues/17384 |
| Thatgfsj (Thatgfsj) | https://github.com/Thatgfsj |
|
Aug 6, 2026
| https://github.com/PowerShell/PowerShell/pull/17423#ref-commit-a9b69eb |
|
| https://github.com/daxian-dbw |
| Remove the assert and use a relatively larger capacity to cover possi… | https://github.com/Thatgfsj-contribs/PowerShell/commit/a9b69eb370145a2684ed2274609012484b106ab0 |
| a9b69eb | https://github.com/Thatgfsj-contribs/PowerShell/commit/a9b69eb370145a2684ed2274609012484b106ab0 |
| PowerShell#17423 | https://github.com/PowerShell/PowerShell/pull/17423 |
| 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%2F17423 |
|
| https://github.com/SteveL-MSFT |
|
Steve Lee (SteveL-MSFT)
| https://github.com/SteveL-MSFT |
|
| https://github.com/JamesWTruher |
|
James Truher (JamesWTruher)
| https://github.com/JamesWTruher |
|
| https://github.com/PowerShell/PowerShell/pull/17423/files/551d555fc89fcf96dc3c47b20c7fb80dc22b4500 |
|
| https://github.com/PaulHigin |
|
Paul Higinbotham (PaulHigin)
| https://github.com/PaulHigin |
|
| https://github.com/PowerShell/PowerShell/pull/17423/files/cb7eb1b8eb5953f1e956f8bbbb04d192c16153f0 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/17423 |
|
| https://github.com/daxian-dbw |
|
Dongbo Wang (daxian-dbw)
| https://github.com/daxian-dbw |
|
CL-General
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General |
|
Extra Small
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Extra%20Small%22 |
|
Default reference assembly count is incorrect, causing debug assert
| https://github.com/PowerShell/PowerShell/issues/17384 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/17423 |
|
| https://github.com/daxian-dbw |
|
| https://github.com/JamesWTruher |
|
| https://github.com/PaulHigin |
|
| https://github.com/iSazonov |
|
| 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 |