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