- Notifications
You must be signed in to change notification settings - Fork7.7k
Add helper in EnumSingleTypeConverter to get enum names as array#17785
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Feels like random failures. Rerun? |
fflaten commentedJul 28, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Just noticed that#17684 plan to replace this code. This PR can be closed if the other one is accepted. |
src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.csShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
ghost commentedAug 5, 2022
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for7 days. |
c0d7fb7
intoPowerShell:masterUh oh!
There was an error while loading.Please reload this page.
microsoft-github-policy-servicebot commentedJan 2, 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@fflaten, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗https://aka.ms/PSRepoFeedback |
PR Summary
Adds a helper in
EnumSingleTypeConverter
to get enum names-array.Updates switch statement completer to use the new helper instead of string joining + splitting.
PR Context
Related#17750 (comment)
There's another occurrence in
CompletionCompleters.cs
which is replaced as part of the PR above.PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.(which runs in a different PS Host).