1 write to ExitCode
Microsoft.CodeAnalysis.Test.Utilities (1)
FX\ProcessResult.cs (1)
23ExitCode = exitCode;
22 references to ExitCode
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (7)
IntegrationTests.cs (5)
105Assert.Equal(0, result.ExitCode); 414if (result.ExitCode != 0) 419Assert.Equal(0, result.ExitCode); 611Assert.True(result.ExitCode != 0); 783Assert.Equal(0, result.ExitCode);
TestUtilities\DotNetSdkTestBase.cs (2)
214Assert.True(result.ExitCode == 0, $"MSBuild failed with exit code {result.ExitCode}: {result.Output}");
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (6)
CommandLineTests.cs (6)
156Assert.Equal(0, result.ExitCode); 410Assert.Equal(0, result.ExitCode); 430Assert.Equal(0, result.ExitCode); 12030Assert.Equal(1, result.ExitCode); 12038Assert.Equal(1, result.ExitCode); 12072Assert.Equal(0, result.ExitCode);
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (1)
CsiTests.cs (1)
79Assert.Equal(0, result.ExitCode);
Microsoft.CodeAnalysis.Test.Utilities (2)
FX\ProcessResult.cs (2)
31this.ExitCode + 44get { return this.ExitCode != 0 || !string.IsNullOrEmpty(this.Errors); }
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (2)
CommandLineTests.vb (2)
9687Assert.Equal(1, result.ExitCode) 9695Assert.Equal(1, result.ExitCode)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (3)
NetCoreTests.cs (2)
46Assert.True(restoreResult.ExitCode == 0, $"{dotNetExeName} failed with exit code {restoreResult.ExitCode}: {restoreResult.Output}");
NewlyCreatedProjectsFromDotNetNew.cs (1)
261if (result.ExitCode != 0)
VBCSCompiler.UnitTests (1)
CompilerServerTests.cs (1)
1469Assert.Equal(1, result.ExitCode);