13 instantiations of NamedPipeServerStream
csc (1)
Microsoft.Build (1)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.VisualBasic.Forms (1)
MSBuild (1)
MSBuildTaskHost (1)
Replay (1)
vbc (1)
VBCSCompiler (1)
89 references to NamedPipeServerStream
csc (4)
Microsoft.AspNetCore.Connections.Abstractions (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (19)
Microsoft.Build (2)
Microsoft.Build.Tasks.CodeAnalysis (4)
Microsoft.CodeAnalysis.InteractiveHost (2)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
Microsoft.VisualBasic.Forms (4)
Microsoft.VisualBasic.Forms.Tests (4)
Microsoft.VisualBasic.Tests (12)
Microsoft\VisualBasic\ApplicationServices\SingleInstanceTests.cs (12)
41private bool TryCreatePipeServer(string pipeName, out NamedPipeServerStream pipeServer)
46private Task WaitForClientConnectionsAsync(NamedPipeServerStream pipeServer, Action<string[]> callback, CancellationToken cancellationToken = default)
78List<NamedPipeServerStream> pipeServers = [];
84Assert.True(TryCreatePipeServer(GetUniqueName(), out var pipeServer));
91foreach (var pipeServer in pipeServers)
108if (TryCreatePipeServer(pipeName, out var pipeServer))
129Assert.True(TryCreatePipeServer(pipeName, out var pipeServer));
150Assert.True(TryCreatePipeServer(pipeName, out var pipeServer));
170Assert.True(TryCreatePipeServer(pipeName, out var pipeServer));
211Assert.True(TryCreatePipeServer(pipeName, out var pipeServer));
225Assert.True(TryCreatePipeServer(pipeName, out var pipeServer));
244Assert.True(TryCreatePipeServer(pipeName, out var pipeServer));
MSBuild (2)
MSBuildTaskHost (2)
netstandard (1)
Replay (4)
System.Core (1)
System.IO.Pipes.AccessControl (1)
vbc (4)
VBCSCompiler (8)
VBCSCompiler.UnitTests (2)