1 type derived from ToolArgumentException
dotnet-svcutil-lib (1)
ToolInputException.cs (1)
10
internal class ToolInputException :
ToolArgumentException
21 instantiations of ToolArgumentException
dotnet-svcutil-lib (21)
CommandProcessorOptions.cs (16)
345
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidOperationNoProjectFileFoundUnderFolderFormat, workingDirectory));
355
throw new
ToolArgumentException
($"{moreThanOneProjectMsg}{Environment.NewLine}{useProjectOptions}");
359
throw new
ToolArgumentException
(moreThanOneProjectMsg);
439
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrOutputFileAlreadyExistsFormat, filePath, Switches.OutputFile.Name));
445
throw new
ToolArgumentException
(
472
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidOperationNoProjectFileFoundUnderFolderFormat, Directory.GetCurrentDirectory()));
476
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrProjectToUpdateNotFoundFormat, Switches.Update.Name, Switches.ProjectFile.Name));
507
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.FullPath));
515
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrMoreThanOneUpdateParamsFilesFoundFormat, this.Project.FullPath, Switches.Update.Name, svcRefNames));
529
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrServiceReferenceNotFoundUnderProjectFormat, this.UpdateServiceReferenceFolder, this.Project.FullPath));
537
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.FullPath));
661
throw new
ToolArgumentException
(string.Format(CultureInfo.CurrentCulture, SR.ErrInvalidNamespaceFormat,
852
throw new
ToolArgumentException
(string.Format(SR.ErrDuplicateValuePassedToTypeArgFormat, cmd, typeArg));
919
throw new
ToolArgumentException
(string.Format(SR.ErrCannotDisambiguateSpecifiedTypesFormat,
967
throw new
ToolArgumentException
(string.Format(SR.ErrCannotLoadSpecifiedTypeFormat, Switches.CollectionType.Name, collectionType, Switches.Reference.Name));
986
throw new
ToolArgumentException
(ex.Message);
OutputPathHelper.cs (3)
94
throw new
ToolArgumentException
(string.Format(SR.ErrPathTooLongFormat, path, CommandProcessorOptions.Switches.OutputDirectory.Name, option), ptle);
98
throw new
ToolArgumentException
(string.Format(SR.ErrPathTooLongDirOnlyFormat, path, CommandProcessorOptions.Switches.OutputDirectory.Name), ptle);
104
throw new
ToolArgumentException
(string.Format(SR.ErrInvalidPathFormat, path, option), e);
Tool.cs (2)
148
throw new
ToolArgumentException
(SR.ErrUnexpectedError);
339
var ex = new AggregateException(options.Errors.Select(e => e as ToolArgumentException ?? new
ToolArgumentException
(e.Message, e.InnerException)));
2 references to ToolArgumentException
dotnet-svcutil-lib (2)
Tool.cs (2)
339
var ex = new AggregateException(options.Errors.Select(e => e as
ToolArgumentException
?? new ToolArgumentException(e.Message, e.InnerException)));
376
else if (ex is
ToolArgumentException
ae)