René's URL Explorer Experiment


Title: Enable CA2249: Consider using String.Contains instead of IndexOf by xtqqczze · Pull Request #14395 · PowerShell/PowerShell · GitHub

Open Graph Title: Enable CA2249: Consider using String.Contains instead of IndexOf by xtqqczze · Pull Request #14395 · PowerShell/PowerShell

X Title: Enable CA2249: Consider using String.Contains instead of IndexOf by xtqqczze · Pull Request #14395 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249

X Description: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/14395

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:198f673b-8375-e130-c170-989c20eda963
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA6BC:238007:EBC2B8:13AEE68:6A51B966
html-safe-nonced2c6303b35316253550668ebda20c3a38a6ba175e22f47049210357d9d9c91b0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkJDOjIzODAwNzpFQkMyQjg6MTNBRUU2ODo2QTUxQjk2NiIsInZpc2l0b3JfaWQiOiI2ODAxNzY1MjQ2ODg3Mzc3MjU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd9f9d9f6f466ce59637de2a20ebccd17e7ff7372983812aaf49e3971f607c04c
hovercard-subject-tagpull_request:536925332
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/14395/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2b1c568a7014288dd260e43a8e27d7f6f159c0421f9acdd590904435a8ea2ccc/PowerShell/PowerShell/pull/14395
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2b1c568a7014288dd260e43a8e27d7f6f159c0421f9acdd590904435a8ea2ccc/PowerShell/PowerShell/pull/14395
og:image:althttps://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamextqqczze
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/14395#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F14395
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F14395
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
Reloadhttps://github.com/PowerShell/PowerShell/pull/14395
Reloadhttps://github.com/PowerShell/PowerShell/pull/14395
Reloadhttps://github.com/PowerShell/PowerShell/pull/14395
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14395
PowerShell https://github.com/PowerShell
PowerShellhttps://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.3k 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 285 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
iSazonovhttps://github.com/iSazonov
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
xtqqczze:CA2249https://github.com/xtqqczze/PowerShell-PowerShell/tree/CA2249
Conversationhttps://github.com/PowerShell/PowerShell/pull/14395
Commits4 (4)https://github.com/PowerShell/PowerShell/pull/14395/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/14395/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/14395/files
Enable CA2249: Consider using String.Contains instead of IndexOfhttps://github.com/PowerShell/PowerShell/pull/14395#top
iSazonovhttps://github.com/iSazonov
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
xtqqczze:CA2249https://github.com/xtqqczze/PowerShell-PowerShell/tree/CA2249
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Dec 11, 2020https://github.com/PowerShell/PowerShell/pull/14395#issue-762376279
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14395
xtqqczzehttps://github.com/xtqqczze
December 11, 2020 00:40https://github.com/PowerShell/PowerShell/pull/14395#commits-pushed-ba6abee
https://github.com/xtqqczze
Enable CA2249: Consider using String.Contains instead of IndexOfhttps://github.com/PowerShell/PowerShell/pull/14395/commits/ba6abee5564874573c7ffbe6af7cecc5962854dd
ba6abeehttps://github.com/PowerShell/PowerShell/pull/14395/commits/ba6abee5564874573c7ffbe6af7cecc5962854dd
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249
https://github.com/xtqqczze
Restore StringComparison.Ordinalhttps://github.com/PowerShell/PowerShell/pull/14395/commits/d4ac21d9c2c096665bfb770558c68a0fa2f17eb8
d4ac21dhttps://github.com/PowerShell/PowerShell/pull/14395/commits/d4ac21d9c2c096665bfb770558c68a0fa2f17eb8
TravisEz13https://github.com/TravisEz13
Dec 11, 2020https://github.com/PowerShell/PowerShell/pull/14395#event-4100541407
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
December 11, 2020 16:07https://github.com/PowerShell/PowerShell/pull/14395#event-4101113897
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
TravisEz13https://github.com/TravisEz13
adityapatwardhanhttps://github.com/adityapatwardhan
code ownershttps://github.com/PowerShell/PowerShell/blob/c4cc62658a486bd6a073a2cdc8c50309004c2b59/.github/CODEOWNERS#L14
December 11, 2020 16:07https://github.com/PowerShell/PowerShell/pull/14395#event-4101113925
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Dec 12, 2020 https://github.com/PowerShell/PowerShell/pull/14395#pullrequestreview-550699255
View reviewed changes https://github.com/PowerShell/PowerShell/pull/14395/files/d4ac21d9c2c096665bfb770558c68a0fa2f17eb8
src/Microsoft.PowerShell.Commands.Utility/commands/utility/ImplicitRemotingCommands.cshttps://github.com/PowerShell/PowerShell/pull/14395/files/d4ac21d9c2c096665bfb770558c68a0fa2f17eb8#diff-e154433a28e04e69624a240e4e470743028d5cf2d456ea332a06e519a017a71f
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14395
src/System.Management.Automation/cimSupport/cmdletization/ScriptWriter.cshttps://github.com/PowerShell/PowerShell/pull/14395/files/d4ac21d9c2c096665bfb770558c68a0fa2f17eb8#diff-4238066f2258d1d0b40600692529225f04b8935af08b88ae5e512e33c72266d7
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14395
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
CL-CodeCleanup https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup
Dec 12, 2020https://github.com/PowerShell/PowerShell/pull/14395#event-4103727335
xtqqczzehttps://github.com/xtqqczze
December 13, 2020 11:25https://github.com/PowerShell/PowerShell/pull/14395#commits-pushed-2c71537
https://github.com/xtqqczze
Reformathttps://github.com/PowerShell/PowerShell/pull/14395/commits/2c715376525b990b34f64865da4dee99ed19ef19
2c71537https://github.com/PowerShell/PowerShell/pull/14395/commits/2c715376525b990b34f64865da4dee99ed19ef19
https://github.com/xtqqczze
Remove unecessary namespacehttps://github.com/PowerShell/PowerShell/pull/14395/commits/cec1b45bd70a41ee0b424772a2dea6a6e3bf7191
cec1b45https://github.com/PowerShell/PowerShell/pull/14395/commits/cec1b45bd70a41ee0b424772a2dea6a6e3bf7191
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Dec 13, 2020 https://github.com/PowerShell/PowerShell/pull/14395#pullrequestreview-550941620
View reviewed changes https://github.com/PowerShell/PowerShell/pull/14395/files/cec1b45bd70a41ee0b424772a2dea6a6e3bf7191
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Dec 21, 2020https://github.com/PowerShell/PowerShell/pull/14395#event-4133969347
https://github.com/ghost
ghosthttps://github.com/ghost
Dec 21, 2020https://github.com/PowerShell/PowerShell/pull/14395#issuecomment-748715451
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14395
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
TravisEz13https://github.com/TravisEz13
Jan 10, 2021https://github.com/PowerShell/PowerShell/pull/14395#event-4188022308
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Jan 10, 2021https://github.com/PowerShell/PowerShell/pull/14395#event-4188022330
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
9ea718fhttps://github.com/PowerShell/PowerShell/commit/9ea718f1719e54e81ae8c704f9b1bd2357ad90bc
Jan 10, 2021https://github.com/PowerShell/PowerShell/pull/14395#event-4188022585
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
7.2.0-preview.3https://github.com/PowerShell/PowerShell/milestone/104
Jan 10, 2021https://github.com/PowerShell/PowerShell/pull/14395#event-4188022712
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
January 18, 2021 03:00https://github.com/PowerShell/PowerShell/pull/14395#event-4215957897
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F14395
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/14395/files/cec1b45bd70a41ee0b424772a2dea6a6e3bf7191
https://github.com/adityapatwardhan
adityapatwardhan https://github.com/adityapatwardhan
https://github.com/TravisEz13
TravisEz13 https://github.com/TravisEz13
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
CL-CodeCleanup https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup
7.2.0-preview.3 https://github.com/PowerShell/PowerShell/milestone/104
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14395
https://github.com/xtqqczze
https://github.com/iSazonov
https://github.com/TravisEz13
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.