| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ca28929d-aa1e-2e2f-1384-93827c0965f2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D170:118228:1B3FE96:26021BB:6AFD093A |
| html-safe-nonce | 162ec9dc9ac4206f3a49419261d887fb341d23c243db4b5dea40b3e7ffeb5f6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTcwOjExODIyODoxQjNGRTk2OjI2MDIxQkI6NkFGRDA5M0EiLCJ2aXNpdG9yX2lkIjoiMzY4ODQ0MTI4NDc5MzI3MjYzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c754d197aa64050613060f524db3835a75299882d8012bd384b1502d3b5440cd |
| hovercard-subject-tag | pull_request:3532294154 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
| twitter:image | https://avatars.githubusercontent.com/u/8080834?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/8080834?s=400&v=4 |
| og:image:alt | This rule checks for the creation of an ArrayList collection.
The ArrayList class is a non-generic collection that can hold objects of any type.
This is in line with the fact that PowerShell is a ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 33149177 |
| octolytics-dimension-repository_nwo | PowerShell/PSScriptAnalyzer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33149177 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PSScriptAnalyzer |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c9e619def6d670dc18a45d3b02cea938c1c7e47 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F2174%2Ffiles |
| 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%2FPSScriptAnalyzer%2Fpull%2F2174%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=PowerShell%2FPSScriptAnalyzer |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
| Reload | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
| PowerShell | https://github.com/PowerShell |
| PSScriptAnalyzer | https://github.com/PowerShell/PSScriptAnalyzer |
| Code | https://github.com/PowerShell/PSScriptAnalyzer |
| Issues407 (407) | https://github.com/PowerShell/PSScriptAnalyzer/issues |
| Pull requests34 (34) | https://github.com/PowerShell/PSScriptAnalyzer/pulls |
| Discussions | https://github.com/PowerShell/PSScriptAnalyzer/discussions |
| Actions | https://github.com/PowerShell/PSScriptAnalyzer/actions |
| Projects | https://github.com/PowerShell/PSScriptAnalyzer/projects |
| Wiki | https://github.com/PowerShell/PSScriptAnalyzer/wiki |
| Security and quality | https://github.com/PowerShell/PSScriptAnalyzer/security |
| Insights | https://github.com/PowerShell/PSScriptAnalyzer/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose |
| Andy Jordan (andyleejordan) | https://github.com/andyleejordan |
| PowerShell:main | https://github.com/PowerShell/PSScriptAnalyzer/tree/main |
| iRon7:#2147AvoidArrayList | https://github.com/iRon7/PSScriptAnalyzer/tree/%232147AvoidArrayList |
|
Conversation
53
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174 |
|
Commits
24
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits |
|
Checks
4
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/checks |
|
Files changed
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
|
Add new AvoidUsingArrayList rule
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#top |
|
Show all changes
24 commits
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
|
c34eb23
Implemented the AvoidUsingArrayList rule to warn when the ArrayList c…
iRon7 Apr 14, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/c34eb236b4571eff1d820f0506646fa13e890445 |
|
ba1167d
Testing-Commit-CSpell-issue
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/ba1167d577989d302f71c2a2d6ea09d25de20101 |
|
77384e1
Apply suggestion from @liamjpeters
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/77384e11bb0b43c2dfd06e0007cd6fd0cb5ac168 |
|
77d1e6d
Update docs/Rules/AvoidUsingArrayList.md
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/77d1e6dac8b90ccf54324b431ebf2c5fb5be69a9 |
|
d9b88a8
Updated rule help
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/d9b88a8b23b29315660a76f85e3c863128fe5dd7 |
|
1eb92e9
Merge branch '#2147AvoidArrayList' of https://github.com/iRon7/PSScri…
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/1eb92e978969ad415401f8220eb1bfdd80574ca0 |
|
c0aa82b
Changed "unintentionally"
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/c0aa82b322e60abd05b085338193258af2fdc0e6 |
|
7bc3dfa
Update Rules/AvoidUsingArrayList.cs
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/7bc3dfad148607267983984ccaee1c22a962470b |
|
b35becb
Update Tests/Rules/AvoidUsingArrayList.tests.ps1
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/b35becb93524dad85cc06bb1ed07b589168f9d9e |
|
9ed1355
ArrayListName could be null
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/9ed13550f6c80a2457113f44c7eda0f200fc8cce |
|
e1362e6
Resolved camelCase
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/e1362e62c006d7bd5bfa97a2a9b5d05df659e31e |
|
b80f01c
Remove ComponentModel namespace
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/b80f01c8d00821bb6ac3f8af2f884cb0c58ae4d6 |
|
f913b1f
Fixed tests
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/f913b1f058af6637f9ccccbc074859fad52bc4a8 |
|
b3a5c3c
Updated Tests
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/b3a5c3cb3639dab0e0e84e8b4fd2071b386f055e |
|
8aefe4c
fixed and tested empty (dynamic) BoundParameter
iRon7 Apr 16, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/8aefe4c0189bd0cd0f2a0e0bb3ff9ee62bc2338b |
|
ad49041
Robuster Pester tests
iRon7 Apr 17, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/ad49041630c6dcda86781285e009b8fb237b0a66 |
|
4bc41e9
Configurable (enable by default)
iRon7 Apr 18, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/4bc41e9ff0196c49b91605ec69483adeb37ced18 |
|
fb27627
Fixed ConstantValue null check test and rule
iRon7 Apr 21, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/fb27627a7329855279c6a7ee89c3d6d25ae7627d |
|
5a66672
Merge branch 'main' into #2147AvoidArrayList
iRon7 May 5, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/5a66672b7fb7479b7bd94c92b6fb56f2509a51e7 |
|
973d2e7
Better UsingStatements handling and disable AvoidUsingArrayList by de…
iRon7 May 6, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/973d2e7f356e6ca5ea605a08bb47caa35acb7485 |
|
14ed9f5
`[ArrayList]::new()` without a `using namespace System.Collections`
iRon7 May 6, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/14ed9f531c4cc3d7efe80fc70a1a97974b780711 |
|
2a46b7f
Potential fix for pull request finding
iRon7 May 11, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/2a46b7f0cd6553b31c8f195166f63e37abbb975b |
|
0646b3d
Resolve Copilot suggestions and resolved `Method not found: ScriptBlo…
iRon7 May 11, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/0646b3d9fea538dbe740b2cb70ae477bd466037a |
|
49a1a55
Merge branch 'main' into #2147AvoidArrayList
iRon7 May 17, 2026
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/commits/49a1a550babc2ec0689be6c465e50ab32fe4250f |
|
Clear filters
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
|
AvoidUsingArrayList.cs
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#diff-1574aaa0372190bbe7bd9d34922b8d4ca3fd5ce2fd244bd2055efd7c9d113ea3 |
|
Strings.resx
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3 |
|
AvoidUsingArrayList.tests.ps1
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#diff-dd899fdc9b9d5bc8092bdfadae6e530cb340a3bcd2440c807d7610e4f1ff5d47 |
|
AvoidUsingArrayList.md
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#diff-4d208f2d06c2109235286c9b7c3d5f886a9d361c4b804610305e048babe8149f |
|
README.md
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#diff-aa3ee3522a3ec73c6f36f2fe020f02ee8517299d57cfe67d99ff0efd2038a0d5 |
|
| https://github.com/PowerShell/PSScriptAnalyzer/blob/main/.github/CODEOWNERS#L2 |
| Rules/AvoidUsingArrayList.cs | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#diff-1574aaa0372190bbe7bd9d34922b8d4ca3fd5ce2fd244bd2055efd7c9d113ea3 |
|
View file
| https://github.com/iRon7/PSScriptAnalyzer/blob/49a1a550babc2ec0689be6c465e50ab32fe4250f/Rules/AvoidUsingArrayList.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/{{ revealButtonHref }} |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
|
| https://github.com/PowerShell/PSScriptAnalyzer/blob/main/.github/CODEOWNERS#L2 |
| Rules/Strings.resx | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3 |
|
View file
| https://github.com/iRon7/PSScriptAnalyzer/blob/49a1a550babc2ec0689be6c465e50ab32fe4250f/Rules/Strings.resx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3 |
|
| https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files#diff-dcff94e6a5c5ee1dc9226dea0752aba08f8f1f53020b4a0e67f1ac944036b8c3 |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
| Please reload this page | https://github.com/PowerShell/PSScriptAnalyzer/pull/2174/files |
|
| 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 |