1 write to ExitCode
dotnet-svcutil-lib (1)
Shared\Utilities\ProcessRunner.cs (1)
29public ProcessResult(int exitCode, string outputText) { this.ExitCode = exitCode; this.OutputText = outputText; }
18 references to ExitCode
dotnet-svcutil-lib (7)
Bootstrapper\SvcutilBootstrapper.cs (4)
89MarkupTelemetryHelper.TelemetryPostOperation(result.ExitCode == 0, "Invoke svcutil bootstrapper"); 194MarkupTelemetryHelper.TelemetryPostOperation(restoreResult.ExitCode == 0, "Restore bootstrapper"); 195if (restoreResult.ExitCode != 0) 202MarkupTelemetryHelper.TelemetryPostOperation(buildResult.ExitCode == 0, "Build bootstrapper");
Shared\ProjectPropertyResolver.cs (1)
125if (procResult.ExitCode == 0)
Shared\Utilities\ProcessRunner.cs (1)
30public override string ToString() { return ExitCode.ToString(CultureInfo.InvariantCulture); }
Tool.cs (1)
135result = bootstrapResult.ExitCode;
dotnet-svcutil-lib.Tests (11)
E2ETests.cs (3)
56ValidateTest(options, this_TestCaseProject.DirectoryPath, processResult.ExitCode, processResult.OutputText, expectSuccess); 235Assert.True(result.ExitCode == 0, result.OutputText); 246Assert.True(ret.ExitCode == 0, ret.OutputText);
GlobalToolTests.cs (2)
25ValidateTest(options, this_TestCaseProject.DirectoryPath, processResult.ExitCode, processResult.OutputText, expectSuccess); 159Assert.True(ret.ExitCode == 0, ret.OutputText);
ProjectUtils.cs (4)
73Assert.True(ret.ExitCode == 0, $"Project package restore failed:{Environment.NewLine}{ret.OutputText}{logger}"); 78Assert.True(ret.ExitCode == 0, $"Project build failed:{Environment.NewLine}{ret.OutputText}{logger}"); 159var isSuccess = result.ExitCode == 0 || result.ExitCode == 6;
TestInit.cs (2)
137if (procResult.ExitCode == 0) 186Assert.True(ret.ExitCode == 0, "Could not install the global tool." + Environment.NewLine + ret.OutputText);