8 instantiations of CommandParsingException
dotnet-user-secrets (8)
Internal\RemoveCommand.cs (1)
22throw new CommandParsingException(command, Resources.FormatError_MissingArgument("name"));
Internal\SetCommand.cs (2)
46throw new CommandParsingException(command, Resources.FormatError_MissingArgument("name")); 51throw new CommandParsingException(command, Resources.FormatError_MissingArgument("value"));
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (5)
235throw new CommandParsingException(command, $"Unexpected value '{longOption[1]}' for option '{option.LongName}'"); 304throw new CommandParsingException(command, $"Unexpected value '{shortOption[1]}' for option '{option.LongName}'"); 323throw new CommandParsingException(command, $"Unexpected value '{arg}' for option '{option.LongName}'"); 375throw new CommandParsingException(command, $"Missing value for option '{option.LongName}'"); 585throw new CommandParsingException(command, $"Unrecognized {argTypeName} '{args[index]}'");
1 reference to CommandParsingException
dotnet-user-secrets (1)
Program.cs (1)
57catch (CommandParsingException ex)