18 references to ToolArgumentException
dotnet-svcutil-lib (18)
CommandProcessorOptions.cs (16)
346
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidOperationNoProjectFileFoundUnderFolderFormat, workingDirectory));
356
throw new
ToolArgumentException
($"{moreThanOneProjectMsg}{Environment.NewLine}{useProjectOptions}");
360
throw new
ToolArgumentException
(moreThanOneProjectMsg);
440
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrOutputFileAlreadyExistsFormat, filePath, Switches.OutputFile.Name));
446
throw new
ToolArgumentException
(
473
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidOperationNoProjectFileFoundUnderFolderFormat, Directory.GetCurrentDirectory()));
477
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrProjectToUpdateNotFoundFormat, Switches.Update.Name, Switches.ProjectFile.Name));
508
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.FullPath));
516
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrMoreThanOneUpdateParamsFilesFoundFormat, this.Project.FullPath, Switches.Update.Name, svcRefNames));
530
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrServiceReferenceNotFoundUnderProjectFormat, this.UpdateServiceReferenceFolder, this.Project.FullPath));
538
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.FullPath));
662
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidNamespaceFormat,
865
throw new
ToolArgumentException
(string.Format(SR.ErrDuplicateValuePassedToTypeArgFormat, cmd, typeArg));
932
throw new
ToolArgumentException
(string.Format(SR.ErrCannotDisambiguateSpecifiedTypesFormat,
980
throw new
ToolArgumentException
(string.Format(SR.ErrCannotLoadSpecifiedTypeFormat, Switches.CollectionType.Name, collectionType, Switches.Reference.Name));
999
throw new
ToolArgumentException
(ex.Message);
Tool.cs (1)
148
throw new
ToolArgumentException
(SR.ErrUnexpectedError);
ToolInputException.cs (1)
26
internal ToolInputException(String message) :
base
(message)