20 references to ToolExitCode
dotnet-svcutil-lib (20)
Bootstrapper\BootstrapException.cs (1)
14public int ExitCode { get; private set; } = (int)ToolExitCode.BootstrapError;
ImportModule.cs (2)
80ToolConsole.ExitCode = ToolExitCode.ValidationError; 135ToolConsole.ExitCode = ToolExitCode.ValidationErrorTurnedWarning;
Tool.cs (9)
102result = (int)ToolExitCode.Success; 156result = (int)ToolExitCode.InputError; 198internal static async Task<ToolExitCode> RunAsync(CommandProcessorOptions options, CancellationToken cancellationToken) 260return result == (int)ToolExitCode.Success || result == (int)ToolExitCode.ValidationErrorTurnedWarning; 332int retVal = (int)ToolExitCode.Unknown; 374retVal = (int)ToolExitCode.RuntimeError; 379retVal = (int)ToolExitCode.RuntimeError; 384retVal = (int)ToolExitCode.Unknown;
ToolArgumentException.cs (2)
12internal virtual ToolExitCode ExitCode 16return ToolExitCode.ArgumentError;
ToolConsole.cs (2)
17public static ToolExitCode ExitCode { get; set; } = ToolExitCode.Success;
ToolInputException.cs (2)
14internal override ToolExitCode ExitCode 18return ToolExitCode.InputError;
ToolRuntimeException.cs (2)
11internal virtual ToolExitCode ExitCode { get; } = ToolExitCode.RuntimeError;