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