-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Enable nullable: System.Management.Automation.Host.IHostUISupportsMultipleChoiceSelection #14172
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable nullable: System.Management.Automation.Host.IHostUISupportsMultipleChoiceSelection #14172
Conversation
…tipleChoiceSelection
|
|
||
| #nullable restore | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #nullable restore | |
| #nullable restore | |
| #nullable enable | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move to line 1206.
| /// <seealso cref="System.Management.Automation.Host.PSHostUserInterface.PromptForChoice"/> | ||
| Collection<int> PromptForChoice(string caption, string message, | ||
| Collection<ChoiceDescription> choices, IEnumerable<int> defaultChoices); | ||
| Collection<int> PromptForChoice(string? caption, string? message, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add in XML comment - implementations should never return null.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be a compiler warning - I don't see the point of stating the obvious.
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
Tracking issue: #12631.