René's URL Explorer Experiment


Title: Fix CA1846 and CA1845 for using `AsSpan` instead of `Substring` by adityapatwardhan · Pull Request #15738 · PowerShell/PowerShell · GitHub

Open Graph Title: Fix CA1846 and CA1845 for using `AsSpan` instead of `Substring` by adityapatwardhan · Pull Request #15738 · PowerShell/PowerShell

X Title: Fix CA1846 and CA1845 for using `AsSpan` instead of `Substring` by adityapatwardhan · Pull Request #15738 · PowerShell/PowerShell

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

Open Graph Description: PR Summary Fix CA1846 and CA1845 violations by replacing Substring with AsSpan. PR Context These violations cause build break when used with .NET 6 Preview 6. PR Checklist PR has a meaningful tit...

X Description: PR Summary Fix CA1846 and CA1845 violations by replacing Substring with AsSpan. PR Context These violations cause build break when used with .NET 6 Preview 6. PR Checklist PR has a meaningful tit...

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

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:bf3457bb-b35e-c799-58b9-7c29f6f536ad
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB1C2:22DB63:19667CD:2047F22:6991901F
html-safe-nonce9311d442b010c2503e0e9ccfa1df3eb211022539d24dc2eb1a802721ec58262b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUMyOjIyREI2MzoxOTY2N0NEOjIwNDdGMjI6Njk5MTkwMUYiLCJ2aXNpdG9yX2lkIjoiMTc2NDc2MDUwOTg4ODk1ODQ5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfb78c874f77e0bbaedb68adecaa5c9ac92ee4a36c69c20e3852963807bdbe4f8
hovercard-subject-tagpull_request:685553249
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/15738/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2c7839a20f46840b6622d66ec2d34863d9895901b9b5acafd2f752ecd60b487e/PowerShell/PowerShell/pull/15738
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2c7839a20f46840b6622d66ec2d34863d9895901b9b5acafd2f752ecd60b487e/PowerShell/PowerShell/pull/15738
og:image:altPR Summary Fix CA1846 and CA1845 violations by replacing Substring with AsSpan. PR Context These violations cause build break when used with .NET 6 Preview 6. PR Checklist PR has a meaningful tit...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadityapatwardhan
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/15738#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F15738
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F15738
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/15738
Reloadhttps://github.com/PowerShell/PowerShell/pull/15738
Reloadhttps://github.com/PowerShell/PowerShell/pull/15738
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.2k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 51.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.2k https://github.com/PowerShell/PowerShell/issues
Pull requests 215 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects 7 https://github.com/PowerShell/PowerShell/projects
Security 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 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
adityapatwardhanhttps://github.com/adityapatwardhan
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
adityapatwardhan:FixNet6p6Issueshttps://github.com/adityapatwardhan/PowerShell/tree/FixNet6p6Issues
Conversationhttps://github.com/PowerShell/PowerShell/pull/15738
Commits3 (3)https://github.com/PowerShell/PowerShell/pull/15738/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/15738/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/15738/files
Fix CA1846 and CA1845 for using AsSpan instead of Substringhttps://github.com/PowerShell/PowerShell/pull/15738#top
adityapatwardhanhttps://github.com/adityapatwardhan
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
adityapatwardhan:FixNet6p6Issueshttps://github.com/adityapatwardhan/PowerShell/tree/FixNet6p6Issues
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
Jul 7, 2021https://github.com/PowerShell/PowerShell/pull/15738#issue-939311509
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15738
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://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 headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://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 changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
PowerShell Editor Serviceshttps://github.com/PowerShell/PowerShellEditorServices
PowerShell extensionhttps://github.com/PowerShell/vscode-powershell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15738
https://github.com/adityapatwardhan
Fix CA1846 and CA1845 for using AsSpan instead of Substringhttps://github.com/PowerShell/PowerShell/pull/15738/commits/c232cf7e498c5a5d161707876fe2a294d734a92b
c232cf7https://github.com/PowerShell/PowerShell/pull/15738/commits/c232cf7e498c5a5d161707876fe2a294d734a92b
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
anmenagahttps://github.com/anmenaga
daxian-dbwhttps://github.com/daxian-dbw
code ownershttps://github.com/PowerShell/PowerShell/blob/03c0933092c4e10f801ff58c8500ce8ac7390657/.github/CODEOWNERS#L36
July 7, 2021 22:30https://github.com/PowerShell/PowerShell/pull/15738#event-4991745608
iSazonovhttps://github.com/iSazonov
Jul 7, 2021https://github.com/PowerShell/PowerShell/pull/15738#event-4991745695
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
CL-CodeCleanup https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup
Jul 7, 2021https://github.com/PowerShell/PowerShell/pull/15738#event-4991764267
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Jul 7, 2021 https://github.com/PowerShell/PowerShell/pull/15738#pullrequestreview-701527793
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15738/files/c232cf7e498c5a5d161707876fe2a294d734a92b
src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cshttps://github.com/PowerShell/PowerShell/pull/15738/files/c232cf7e498c5a5d161707876fe2a294d734a92b#diff-a9d279ca59037e4fccfc4a0a6f23c87c5555b78dead860918c91168055d57933
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15738
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Jul 7, 2021 https://github.com/PowerShell/PowerShell/pull/15738#pullrequestreview-701527956
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15738/files/c232cf7e498c5a5d161707876fe2a294d734a92b
src/System.Management.Automation/engine/debugger/debugger.cshttps://github.com/PowerShell/PowerShell/pull/15738/files/c232cf7e498c5a5d161707876fe2a294d734a92b#diff-0a4e4bd42dcf35b5e74e88bce4adba02f6d6f823b698647e3ee706d007b1915b
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15738
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
Jul 7, 2021 https://github.com/PowerShell/PowerShell/pull/15738#pullrequestreview-701528326
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15738/files/c232cf7e498c5a5d161707876fe2a294d734a92b
daxian-dbwhttps://github.com/daxian-dbw
https://github.com/PowerShell/PowerShell/pull/15738#pullrequestreview-701528326
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15738
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Jul 8, 2021https://github.com/PowerShell/PowerShell/pull/15738#issuecomment-876101473
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15738
adityapatwardhanhttps://github.com/adityapatwardhan
July 9, 2021 10:24https://github.com/PowerShell/PowerShell/pull/15738#commits-pushed-89c37e8
https://github.com/adityapatwardhan
https://github.com/SteveL-MSFT
Update src/System.Management.Automation/engine/CommandCompletion/Comp…https://github.com/PowerShell/PowerShell/pull/15738/commits/89c37e8032dc453ad93dfbe4fa52b988e9615168
89c37e8https://github.com/PowerShell/PowerShell/pull/15738/commits/89c37e8032dc453ad93dfbe4fa52b988e9615168
https://github.com/adityapatwardhan
https://github.com/SteveL-MSFT
Update src/System.Management.Automation/engine/debugger/debugger.cshttps://github.com/PowerShell/PowerShell/pull/15738/commits/130aa82cb2411a4b86d975940e6698ec9cb0d13c
130aa82https://github.com/PowerShell/PowerShell/pull/15738/commits/130aa82cb2411a4b86d975940e6698ec9cb0d13c
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
Jul 9, 2021https://github.com/PowerShell/PowerShell/pull/15738#issuecomment-877349302
@iSazonovhttps://github.com/iSazonov
PowerShell/.globalconfighttps://github.com/PowerShell/PowerShell/blob/c49cf068b35bf71b0585efaa286df9f49b557805/.globalconfig#L473-L479
c49cf06https://github.com/PowerShell/PowerShell/commit/c49cf068b35bf71b0585efaa286df9f49b557805
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15738
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Jul 9, 2021 https://github.com/PowerShell/PowerShell/pull/15738#pullrequestreview-703269545
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15738/files/130aa82cb2411a4b86d975940e6698ec9cb0d13c
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
6d09c6ehttps://github.com/PowerShell/PowerShell/commit/6d09c6e40a1963537b158bf6fd1d94e58a1371c6
Jul 9, 2021https://github.com/PowerShell/PowerShell/pull/15738#event-5001608277
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
July 9, 2021 17:55https://github.com/PowerShell/PowerShell/pull/15738#event-5001608443
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
7.2.0-preview.8https://github.com/PowerShell/PowerShell/milestone/109
Jul 12, 2021https://github.com/PowerShell/PowerShell/pull/15738#event-5005434921
https://github.com/ghost
ghosthttps://github.com/ghost
Jul 22, 2021https://github.com/PowerShell/PowerShell/pull/15738#issuecomment-885253654
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.2.0-preview.8
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15738
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%2F15738
https://github.com/daxian-dbw
daxian-dbw https://github.com/daxian-dbw
https://github.com/PowerShell/PowerShell/pull/15738/files/c232cf7e498c5a5d161707876fe2a294d734a92b
https://github.com/SteveL-MSFT
SteveL-MSFT https://github.com/SteveL-MSFT
https://github.com/PowerShell/PowerShell/pull/15738/files/130aa82cb2411a4b86d975940e6698ec9cb0d13c
https://github.com/anmenaga
anmenaga https://github.com/anmenaga
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.8 https://github.com/PowerShell/PowerShell/milestone/109
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15738
https://github.com/adityapatwardhan
https://github.com/iSazonov
https://github.com/daxian-dbw
https://github.com/SteveL-MSFT
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.