- Notifications
You must be signed in to change notification settings - Fork8.1k
ReturnArray.Empty instead of collection[]#25137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
ReturnArray.Empty instead of collection[]#25137
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@iSazonov do you have issues with VSCode and editorconfig not using rules? I still get recommendation to use |
iSazonov commentedMar 7, 2025 • edited by unfurl-linksbot
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by unfurl-linksbot
Uh oh!
There was an error while loading.Please reload this page.
@ArmaanMcleod I played with the option, and it works for me in VS Code. Maybe you need restart? Or not
|
src/Microsoft.PowerShell.Commands.Management/commands/management/Process.cs OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Enumerable.Empty instead of collection[]Array.Empty instead of collection[]ArmaanMcleod commentedMar 7, 2025 • edited by unfurl-linksbot
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by unfurl-linksbot
Uh oh!
There was an error while loading.Please reload this page.
Thanks@iSazonov. I will play around with it, maybe need to reinstall extension.
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
210ca83 intoPowerShell:masterUh oh!
There was an error while loading.Please reload this page.
microsoft-github-policy-servicebot commentedMar 7, 2025 • edited by unfurl-linksbot
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by unfurl-linksbot
Uh oh!
There was an error while loading.Please reload this page.
📣 Hey@ArmaanMcleod, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗https://aka.ms/PSRepoFeedback |

Uh oh!
There was an error while loading.Please reload this page.
PR Summary
Return
Array.Emptyinstead of collection[].Missed this in#25126 (comment)
PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.- [ ] Issue filed:
(which runs in a different PS Host).