File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/System.Management.Automation/engine/hostifaces Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1202,6 +1202,7 @@ public void Dispose()
12021202 /// by giving the user ability to select more than one choice. The PromptForChoice method available
12031203 /// in PSHostUserInterface class supports only one choice selection.
12041204 /// </summary>
1205+ #nullable enable
12051206 public interface IHostUISupportsMultipleChoiceSelection
12061207 {
12071208 /// <summary>
@@ -1226,9 +1227,10 @@ public interface IHostUISupportsMultipleChoiceSelection
12261227 /// implementation.
12271228 /// </returns>
12281229 /// <seealso cref="System.Management.Automation.Host.PSHostUserInterface.PromptForChoice"/>
1229- Collection < int > PromptForChoice ( string caption , string message ,
1230- Collection < ChoiceDescription > choices , IEnumerable < int > defaultChoices ) ;
1230+ Collection < int > PromptForChoice ( string ? caption , string ? message ,
1231+ Collection < ChoiceDescription > choices , IEnumerable < int > ? defaultChoices ) ;
12311232 }
1233+ #nullable restore
12321234
12331235 /// <summary>
12341236 /// Helper methods used by PowerShell's Hosts: ConsoleHost and InternalHost to process
You can’t perform that action at this time.
0 commit comments