René's URL Explorer Experiment


Title: Fix RCS1098: Constant values should be on right side of comparisons by xtqqczze · Pull Request #13833 · PowerShell/PowerShell · GitHub

Open Graph Title: Fix RCS1098: Constant values should be on right side of comparisons by xtqqczze · Pull Request #13833 · PowerShell/PowerShell

X Title: Fix RCS1098: Constant values should be on right side of comparisons by xtqqczze · Pull Request #13833 · PowerShell/PowerShell

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

Open Graph Description: PR Summary Avoid so-called Yoda conditions. PR Context https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1098.md Constant values should appear on the right-hand side of compar...

X Description: PR Summary Avoid so-called Yoda conditions. PR Context https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1098.md Constant values should appear on the right-hand side of compar...

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

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:360318ba-318b-cd8d-6c7d-5e6a3d42ba47
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id88B0:1111EE:F73CE0:14F5290:6A520261
html-safe-nonce660b6001b02aa7faba4bcbdb158cca1b05b520af1943db9c82ff66a5eaf41bda
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEIwOjExMTFFRTpGNzNDRTA6MTRGNTI5MDo2QTUyMDI2MSIsInZpc2l0b3JfaWQiOiI4ODk1NDY5MTEzOTk4MTgwOTYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac92047911f7cfb8cf9fe6716715dc845dbd5c957bc5b271b262ef4e7da1bbcdf0
hovercard-subject-tagpull_request:508327411
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/13833/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/be9e9c55a229bcd32e652f5b127784cb9d87371b50ae30d8b20c9232594fa429/PowerShell/PowerShell/pull/13833
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/be9e9c55a229bcd32e652f5b127784cb9d87371b50ae30d8b20c9232594fa429/PowerShell/PowerShell/pull/13833
og:image:altPR Summary Avoid so-called Yoda conditions. PR Context https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1098.md Constant values should appear on the right-hand side of compar...
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/13833#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F13833
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%2F13833
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/13833
Reloadhttps://github.com/PowerShell/PowerShell/pull/13833
Reloadhttps://github.com/PowerShell/PowerShell/pull/13833
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13833
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.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 286 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:RCS1098https://github.com/xtqqczze/PowerShell-PowerShell/tree/RCS1098
Conversationhttps://github.com/PowerShell/PowerShell/pull/13833
Commits2 (2)https://github.com/PowerShell/PowerShell/pull/13833/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/13833/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/13833/files
Fix RCS1098: Constant values should be on right side of comparisonshttps://github.com/PowerShell/PowerShell/pull/13833#top
iSazonovhttps://github.com/iSazonov
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
xtqqczze:RCS1098https://github.com/xtqqczze/PowerShell-PowerShell/tree/RCS1098
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 22, 2020https://github.com/PowerShell/PowerShell/pull/13833#issue-727433183
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13833
Yoda conditionshttps://en.wikipedia.org/wiki/Yoda_conditions
https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1098.mdhttps://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1098.md
Constant values should appear on the right-hand side of comparison dotnet/runtime#40652https://github.com/dotnet/runtime/pull/40652
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/13833
https://github.com/xtqqczze
Fix RCS1098: Constant values should be on right side of comparisonshttps://github.com/PowerShell/PowerShell/pull/13833/commits/ff6f6e2464515621016a08e033af0af781d37d8a
ff6f6e2https://github.com/PowerShell/PowerShell/pull/13833/commits/ff6f6e2464515621016a08e033af0af781d37d8a
https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1098.mdhttps://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1098.md
daxian-dbwhttps://github.com/daxian-dbw
Oct 22, 2020https://github.com/PowerShell/PowerShell/pull/13833#event-3909341456
https://github.com/xtqqczze
fixup! Fix RCS1098: Constant values should be on right side of compar…https://github.com/PowerShell/PowerShell/pull/13833/commits/6237ff956f6257789551a8b4cbd4e58269d3c474
6237ff9https://github.com/PowerShell/PowerShell/pull/13833/commits/6237ff956f6257789551a8b4cbd4e58269d3c474
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
October 22, 2020 17:44https://github.com/PowerShell/PowerShell/pull/13833#event-3910366319
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
CL-CodeCleanup https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup
Oct 22, 2020https://github.com/PowerShell/PowerShell/pull/13833#event-3910367011
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 22, 2020https://github.com/PowerShell/PowerShell/pull/13833#event-3910504263
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Oct 22, 2020 https://github.com/PowerShell/PowerShell/pull/13833#ref-pullrequest-679604544
Fix RCS1033: Remove redundant boolean literal part 1 #13454 https://github.com/PowerShell/PowerShell/pull/13454
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
Oct 25, 2020https://github.com/PowerShell/PowerShell/pull/13833#event-3918120880
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
October 28, 2020 00:34https://github.com/PowerShell/PowerShell/pull/13833#event-3928824611
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
adityapatwardhanhttps://github.com/adityapatwardhan
daxian-dbwhttps://github.com/daxian-dbw
code ownershttps://github.com/PowerShell/PowerShell/blob/dfc591c218ae2647e23577ebd77a380b3193e5f0/.github/CODEOWNERS#L30
October 28, 2020 00:34https://github.com/PowerShell/PowerShell/pull/13833#event-3928824619
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Nov 4, 2020https://github.com/PowerShell/PowerShell/pull/13833#event-3955490943
https://github.com/ghost
ghosthttps://github.com/ghost
Nov 4, 2020https://github.com/PowerShell/PowerShell/pull/13833#issuecomment-721469396
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13833
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Nov 4, 2020 https://github.com/PowerShell/PowerShell/pull/13833#pullrequestreview-523054288
View reviewed changes https://github.com/PowerShell/PowerShell/pull/13833/files/6237ff956f6257789551a8b4cbd4e58269d3c474
src/Microsoft.PowerShell.Commands.Management/commands/management/Navigation.cshttps://github.com/PowerShell/PowerShell/pull/13833/files/6237ff956f6257789551a8b4cbd4e58269d3c474#diff-2434c0d6278eb8f497d820f88f0ca622818f5e9fd040c3cf5c283e2991d04ce3
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13833
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
daxian-dbwhttps://github.com/daxian-dbw
Nov 5, 2020https://github.com/PowerShell/PowerShell/pull/13833#event-3960458081
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Nov 5, 2020https://github.com/PowerShell/PowerShell/pull/13833#event-3960458129
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
03a0ef2https://github.com/PowerShell/PowerShell/commit/03a0ef26e69079d3b643a3e8432d51143aaed8db
Nov 5, 2020https://github.com/PowerShell/PowerShell/pull/13833#event-3960459127
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
November 5, 2020 16:27https://github.com/PowerShell/PowerShell/pull/13833#event-3963276763
https://github.com/ghost
ghosthttps://github.com/ghost
Nov 17, 2020https://github.com/PowerShell/PowerShell/pull/13833#issuecomment-729265669
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.2.0-preview.1
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13833
https://github.com/xtqqczze
xtqqczzehttps://github.com/xtqqczze
Nov 18, 2020 https://github.com/PowerShell/PowerShell/pull/13833#ref-pullrequest-745968184
Enable SA1131: Use readable conditions #14132 https://github.com/PowerShell/PowerShell/pull/14132
xtqqczzehttps://github.com/xtqqczze
Nov 18, 2020 https://github.com/PowerShell/PowerShell/pull/13833#ref-commit-0960dc1
https://github.com/xtqqczze
Enable SA1131: Use readable conditionshttps://github.com/xtqqczze/PowerShell-PowerShell/commit/0960dc11fa795a23c7074e72c41d48d3bbab49f6
0960dc1https://github.com/xtqqczze/PowerShell-PowerShell/commit/0960dc11fa795a23c7074e72c41d48d3bbab49f6
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1131.mdhttps://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1131.md
PowerShell#13833https://github.com/PowerShell/PowerShell/pull/13833
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%2F13833
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/13833/files/6237ff956f6257789551a8b4cbd4e58269d3c474
https://github.com/adityapatwardhan
adityapatwardhan https://github.com/adityapatwardhan
https://github.com/daxian-dbw
daxian-dbw https://github.com/daxian-dbw
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
CL-CodeCleanup https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-CodeCleanup
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13833
https://github.com/xtqqczze
https://github.com/iSazonov
https://github.com/daxian-dbw
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.