6 references to All
System.CommandLine.StaticCompletions (6)
CompletionsCommandDefinition.cs (2)
32
if (!ShellNames.
All
.Contains(singleToken.Value))
34
argumentResult.AddError(string.Format(Strings.ShellDiscovery_ShellNotSupported, singleToken.Value, string.Join(", ", ShellNames.
All
)));
CompletionsCommandParser.cs (2)
25
Debug.Assert(providers.Select(provider => provider.ArgumentName).SequenceEqual(ShellNames.
All
));
33
ShellNames.
All
.Select(shellName => new CompletionItem(shellName, documentation: ShellProviders[shellName].HelpDescription)));
ShellName.cs (2)
35
if (
All
.Contains(shellName))
40
throw new InvalidOperationException(string.Format(Strings.ShellDiscovery_ShellNotSupported, shellName, string.Join(", ",
All
)));