6 references to FileOption
dotnet (6)
Commands\Hidden\Add\Package\AddPackageCommandParser.cs (1)
32command.Options.Add(PackageCommandParser.FileOption);
Commands\Package\Add\PackageAddCommandParser.cs (1)
98command.Options.Add(PackageCommandParser.FileOption);
Commands\Package\PackageCommandParser.cs (3)
52bool hasFileOption = parseResult.HasOption(FileOption); 60(true, false) => (parseResult.GetValue(FileOption)!, AppKinds.FileBased), 62(true, true) => throw new GracefulException(CliCommandStrings.CannotCombineOptions, FileOption.Name, ProjectOption.Name),
Commands\Package\Remove\PackageRemoveCommandParser.cs (1)
33command.Options.Add(PackageCommandParser.FileOption);