1 instantiation of ProcessResult
Microsoft.CodeAnalysis.Test.Utilities (1)
FX\ProcessUtilities.cs (1)
89return new ProcessResult(process.ExitCode, outputBuilder.ToString(), errorBuilder.ToString());
46 references to ProcessResult
Microsoft.Build.Tasks.CodeAnalysis.Sdk.UnitTests (7)
src\Compilers\Core\MSBuildTaskTests\TestUtilities\IntegrationTestBase.cs (7)
58protected static ProcessResult RunCommandLineCompiler( 71protected static ProcessResult RunCommandLineCompiler( 91protected ProcessResult? RunMsbuild( 125var result = RunMsbuild( 157var result = RunMsbuild( 195var result = RunCommandLineCompiler( 234var result = RunCommandLineCompiler(
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (13)
IntegrationTests.cs (5)
21private ProcessResult RunCompilerOutput(TempFile file) 317var result = RunCommandLineCompiler(_msbuildExecutable, arguments, _tempDirectory, SimpleMsBuildFiles); 329var runningResult = RunCompilerOutput(resultFile); 518var result = RunCommandLineCompiler(_msbuildExecutable, arguments, _tempDirectory, ReportAnalyzerMsBuildFiles, 695var result = RunCommandLineCompiler(_msbuildExecutable, "/p:UseSharedCompilation=false", testDir.Path);
TestUtilities\DotNetSdkTestBase.cs (1)
213var result = ProcessUtilities.Run(DotNetPath, arguments, workingDirectory, additionalEnvironmentVars);
TestUtilities\IntegrationTestBase.cs (7)
58protected static ProcessResult RunCommandLineCompiler( 71protected static ProcessResult RunCommandLineCompiler( 91protected ProcessResult? RunMsbuild( 125var result = RunMsbuild( 157var result = RunMsbuild( 195var result = RunCommandLineCompiler( 234var result = RunCommandLineCompiler(
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (10)
CommandLineTests.cs (10)
156var result = ProcessUtilities.Run(exePath, arguments: ""); 410var result = ProcessUtilities.Run(Path.Combine(dir.Path, "sjis.exe"), arguments: "", workingDirectory: dir.Path); 430var result = ProcessUtilities.Run(Path.Combine(dir.Path, "sjis.exe"), arguments: "", workingDirectory: dir.Path); 6000ProcessResult result = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? 6036ProcessResult result = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? 6069ProcessResult result = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? 6103ProcessResult result = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? 6115ProcessResult result = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? 12029var result = ProcessUtilities.Run(cscPath, arguments: "/nologo /t:library unknown.cs", workingDirectory: dir.Path); 12263var result = ProcessUtilities.Run(
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (6)
CsiTests.cs (6)
37var result = ProcessUtilities.Run(CsiPath, "/r:C.dll a.csx", workingDirectory: dir.Path); 49var result = ProcessUtilities.Run(CsiPath, "", stdInput: 95var result = ProcessUtilities.Run(CsiPath, "/r:C.dll a.csx", workingDirectory: cwd.Path, additionalEnvironmentVars: new[] { KeyValuePair.Create("LIB", dir.Path) }); 111var result = ProcessUtilities.Run(CsiPath, "/r:System.Data.dll /u:System.Data;System a.csx", workingDirectory: cwd.Path); 136var result = ProcessUtilities.Run(CsiPath, "a.csx", workingDirectory: cwd.Path); 152var result = ProcessUtilities.Run(CsiPath, "a.csx", workingDirectory: cwd.Path);
Microsoft.CodeAnalysis.Test.Utilities (2)
FX\ProcessUtilities.cs (1)
20public static ProcessResult Run(
Metadata\IlasmUtilities.cs (1)
123var result = ProcessUtilities.Run(IlasmPath, arguments);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (6)
NetCoreTests.cs (1)
44var restoreResult = ProcessUtilities.Run(
NewlyCreatedProjectsFromDotNetNew.cs (5)
107var result = RunDotNet($"new list --type project --language {language}", loggerFactory: null); 185var newResult = RunDotNet($""" 200var restoreResult = RunDotNet($"restore", LoggerFactory, outputDirectory); 250private static ProcessResult RunDotNet(string arguments, ILoggerFactory? loggerFactory, string? workingDirectory = null) 260var result = ProcessUtilities.Run(dotNetExeName, arguments, workingDirectory, additionalEnvironmentVars);
VBCSCompiler.UnitTests (2)
CompilerServerTests.cs (2)
264var result = ProcessUtilities.Run(file.Path, "", Path.GetDirectoryName(file.Path)); 1468var result = ProcessUtilities.Run(serverExe, arguments: $"-pipename:{GetUniqueName()}", workingDirectory: workingDirectory);