12 instantiations of ToolInputException
dotnet-svcutil.xmlserializer (12)
Microsoft\Tools\ServiceModel\SvcUtil\InputModule.cs (12)
99throw new ToolInputException(SR.Format(SR.ErrUnableToLoadFile, path), e); 104throw new ToolInputException(SR.Format(SR.ErrInvalidInputPath, path)); 115throw new ToolInputException(SR.Format(SR.ErrInputFileNotAssemblyOrMetadata, fileInfo.FullName, path)); 171throw new ToolInputException(SR.Format(SR.ErrDirectoryNotFound, dirInfo.FullName)); 176throw new ToolInputException(SR.Format(SR.ErrDirectoryInsteadOfFile, path)); 180throw new ToolInputException(SR.Format(SR.ErrNoFilesFound, path)); 193return new ToolInputException(SR.Format(SR.ErrInputConflictsWithTarget, Options.Cmd.Target, _options.ModeSettingValue, inputSrc)); 197return new ToolInputException(SR.Format(SR.ErrInputConflictsWithOption, modeSettingStr, inputSrc)); 204return new ToolInputException(SR.Format(SR.ErrConflictingInputs, _options.ModeSettingValue, inputSrc)); 208return new ToolInputException(SR.Format(SR.ErrInputConflictsWithMode, inputSrc)); 227throw new ToolInputException(SR.Format(SR.ErrAssemblyLoadFailed, path), e); 249throw new ToolInputException(SR.Format(SR.ErrCouldNotLoadTypesFromAssemblyAt, assembly.Location));
2 references to ToolInputException
dotnet-svcutil.xmlserializer (2)
Microsoft\Tools\ServiceModel\SvcUtil\InputModule.cs (2)
138catch (ToolInputException tie) 142&& Marshal.GetHRForException(ie) == ToolInputException.COR_E_ASSEMBLYEXPECTED)