38 references to ExitType
Microsoft.Build.CommandLine.UnitTests (7)
CommandLineSwitches_Tests.cs (1)
1530
MSBuildApp.Execute(new[] { @"msbuild.exe", project, "/t:foo.bar" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
XMake_Tests.cs (6)
525
.ShouldBe(MSBuildApp.
ExitType
.Success);
624
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", "-junk" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
626
MSBuildApp.Execute(new[] { @"msbuild.exe", "-t" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
628
MSBuildApp.Execute(new[] { @"msbuild.exe", "@bogus.rsp" }).ShouldBe(MSBuildApp.
ExitType
.InitializationError);
1113
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", quotedProjectFileName }).ShouldBe(MSBuildApp.
ExitType
.Success);
1160
}).ShouldBe(MSBuildApp.
ExitType
.Success);
Microsoft.Build.Engine.UnitTests (1)
Utilities_Tests.cs (1)
92
MSBuildApp.
ExitType
.Success,
MSBuild (30)
MSBuildClientApp.cs (4)
37
public static MSBuildApp.
ExitType
Execute(
64
public static MSBuildApp.
ExitType
Execute(
91
Enum.TryParse(exitResult.MSBuildAppExitTypeString, out MSBuildApp.
ExitType
MSBuildAppExitType))
98
return MSBuildApp.
ExitType
.MSBuildClientFailure;
XMake.cs (26)
280
s_buildCancellationSource.Token) ==
ExitType
.Success) ? 0 : 1);
291
==
ExitType
.Success) ? 0 : 1);
646
public static
ExitType
Execute(
671
ExitType
exitType =
ExitType
.Success;
826
exitType =
ExitType
.BuildError;
851
collection.LogBuildFinishedEvent(exitType ==
ExitType
.Success);
856
exitType =
ExitType
.BuildError;
901
exitType =
ExitType
.BuildError;
952
exitType =
ExitType
.SwitchError;
960
exitType =
ExitType
.InitializationError;
967
exitType =
ExitType
.InitializationError;
992
exitType =
ExitType
.LoggerAbort;
1008
exitType =
ExitType
.LoggerFailure;
1014
exitType =
ExitType
.InitializationError;
1033
exitType =
ExitType
.ProjectCacheFailure;
1040
exitType =
ExitType
.Unexpected;
1086
private static
ExitType
OutputPropertiesAfterEvaluation(string[] getProperty, string[] getItem, Project project, TextWriter outputStream)
1103
return
ExitType
.Success;
1106
private static
ExitType
OutputBuildInformationInJson(BuildResult result, string[] getProperty, string[] getItem, string[] getTargetResult, ILogger[] loggers,
ExitType
exitType, TextWriter outputStream)
1113
exitType = exitType ==
ExitType
.Success && (logger as SimpleErrorLogger).HasLoggedErrors ?
ExitType
.BuildError : exitType;
3430
ExitType
exitType;
3434
exitType =
ExitType
.InitializationError;
3441
exitCode = exitType ==
ExitType
.Success ? 0 : 1;