1 write to PipeName
VBCSCompiler.UnitTests (1)
ServerUtil.cs (1)
68PipeName = pipeName;
54 references to PipeName
VBCSCompiler.UnitTests (54)
BuildServerConnectionTests.cs (1)
75serverData.PipeName,
CompilerServerTests.cs (49)
198finalFlags = $"{flags} /shared:{serverData.PipeName} /pathmap:{tempDir.Path}=/ /out:{outFile} {srcFile}"; 265$"/shared:{serverData.PipeName} /nologo hello.cs", 282var result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"/shared:{serverData.PipeName} /nologo hello.cs", _tempDirectory, s_helloWorldSrcCs, shouldRunOnServer: false); 297var result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"/shared:{serverData.PipeName} /nologo hello.cs", _tempDirectory, files, redirectEncoding: Encoding.ASCII, shouldRunOnServer: false); 314$"/shared:{serverData.PipeName} /utf8output /nologo /t:library {srcFile}", 336$"/shared:{serverData.PipeName} /vbruntime* /nologo test.vb", 360$"/shared:{serverData.PipeName} /vbruntime* /utf8output /nologo /t:library {srcFile}", 381var result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"/shared:{serverData.PipeName} /nologo /vbruntime* hello.vb", _tempDirectory, s_helloWorldSrcVb, shouldRunOnServer: false); 393var result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"/shared:{serverData.PipeName} /nologo hello.cs", _tempDirectory, s_helloWorldSrcCs); 406var result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"-shared:{serverData.PipeName} /nologo hello.cs", _tempDirectory, s_helloWorldSrcCs); 440$"/shared:{serverData.PipeName} /nologo /t:library /platform:x86 c.cs", 455$"/shared:{serverData.PipeName} /vbruntime* /nologo /t:library /platform:x86 c.vb", 469$"/shared:{serverData.PipeName} /nologo /r:mscorlib.dll hello.cs", 483$"/shared:{serverData.PipeName} /nologo /vbruntime* hello.vb", 497$"/shared:{serverData.PipeName} /nologo /r:mscorlib.dll /vbruntime* hello.vb", 520var result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"/shared:{serverData.PipeName} hello.cs", _tempDirectory, files); 549var result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"/shared:{serverData.PipeName} /vbruntime* hellovb.vb", _tempDirectory, files); 567var result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"/shared:{serverData.PipeName} missingfile.cs", _tempDirectory); 585var result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"/shared:{serverData.PipeName} /r:missing.dll hello.cs", _tempDirectory, s_helloWorldSrcCs); 610var result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"/shared:{serverData.PipeName} /r:Lib.cs app.cs", _tempDirectory, files); 628var result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"/shared:{serverData.PipeName} /vbruntime* missingfile.vb", _tempDirectory); 658var result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"/shared:{serverData.PipeName} /nologo /vbruntime* /r:missing.dll hellovb.vb", _tempDirectory, files); 687var result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"/shared:{serverData.PipeName} /nologo /vbruntime* /r:Lib.vb app.vb", _tempDirectory, files); 721var result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"src1.vb /shared:{serverData.PipeName} /nologo /t:library /out:lib.dll", rootDirectory, files); 737result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"hello1.vb /shared:{serverData.PipeName} /nologo /vbruntime* /r:lib.dll /out:hello1.exe", rootDirectory, files); 756result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"hello2.vb /shared:{serverData.PipeName} /nologo /vbruntime* /r:lib.dll /out:hello2.exe", rootDirectory, files); 778result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"src2.vb /shared:{serverData.PipeName} /nologo /t:library /out:lib.dll", rootDirectory, files); 794result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"hello3.vb /shared:{serverData.PipeName} /nologo /vbruntime* /r:lib.dll /out:hello3.exe", rootDirectory, files); 836var result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"src1.cs /shared:{serverData.PipeName} /nologo /t:library /out:lib.dll", rootDirectory, files); 851result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"hello1.cs /shared:{serverData.PipeName} /nologo /r:lib.dll /out:hello1.exe", rootDirectory, files); 871result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"hello2.cs /shared:{serverData.PipeName} /nologo /r:lib.dll /out:hello2.exe", rootDirectory, files); 892result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"src2.cs /shared:{serverData.PipeName} /nologo /t:library /out:lib.dll", rootDirectory, files); 907result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"hello3.cs /shared:{serverData.PipeName} /nologo /r:lib.dll /out:hello3.exe", rootDirectory, files); 1001tasks[i] = RunCompilationAsync(language, serverData.PipeName, i, compilationDir); 1030$"src1.cs /shared:{serverData.PipeName} /nologo /t:library /out:" + Path.Combine(libDirectory.Path, "lib.dll"), 1047result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"hello1.cs /shared:{serverData.PipeName} /nologo /r:lib.dll /out:hello1.exe", _tempDirectory, files, 1081$"src1.vb /shared:{serverData.PipeName} /vbruntime* /nologo /t:library /out:" + Path.Combine(libDirectory.Path, "lib.dll"), 1099result = RunCommandLineCompiler(BasicCompilerClientExecutable, $"hello1.vb /shared:{serverData.PipeName} /nologo /vbruntime* /r:lib.dll /out:hello1.exe", _tempDirectory, files, 1120$"/shared:{serverData.PipeName} /nologo /t:library {srcFile}", 1143$"/shared:{serverData.PipeName} /nologo /vbruntime* /t:library {srcFile}", 1169$"/shared:{serverData.PipeName} /utf8output /nologo /t:library {srcFile}", 1192$"/shared:{serverData.PipeName} /utf8output /nologo /vbruntime* /t:library {srcFile}", 1232$"ref_mscorlib2.cs /shared:{serverData.PipeName} /nologo /nostdlib /noconfig /t:library /r:mscorlib20.dll", 1255$"main.cs /shared:{serverData.PipeName} /nologo /nostdlib /noconfig /r:mscorlib40.dll /r:ref_mscorlib2.dll", 1277$"/shared:{serverData.PipeName} /noconfig @{rspFile}", 1301$"/shared:{serverData.PipeName} /noconfig @{rspFile}", 1368$"/shared:{serverData.PipeName} /nologo /t:library {srcFile}", 1402$"/shared:{serverData.PipeName} /vbruntime* /nologo /t:library {srcFile}", 1413$"/shared:{serverData.PipeName} /nologo /t:library {srcFile}",
ServerUtil.cs (3)
117var mutexName = BuildServerConnection.GetServerMutexName(PipeName); 127PipeName, 153Assert.True(NamedPipeTestUtil.IsPipeFullyClosed(PipeName));
VBCSCompilerServerTests.cs (1)
67var exitCode = await RunShutdownAsync(serverData.PipeName, waitForProcess: false);