1 write to _pipeServer
Microsoft.Build.Tasks.Core (1)
NodePipeServer.cs (1)
64
_pipeServer
= new NamedPipeServerStream(
14 references to _pipeServer
Microsoft.Build.Tasks.Core (14)
NodePipeServer.cs (14)
81
protected override PipeStream NodeStream =>
_pipeServer
;
117
await
_pipeServer
.WaitForConnectionAsync(cts.Token).ConfigureAwait(false);
158
if (!gotValidConnection &&
_pipeServer
.IsConnected)
160
_pipeServer
.Disconnect();
166
if (
_pipeServer
.IsConnected)
168
_pipeServer
.Disconnect();
183
if (
_pipeServer
.IsConnected)
189
_pipeServer
.WaitForPipeDrain();
192
_pipeServer
.Disconnect();
210
_pipeServer
.TryReadIntForHandshake(byteToAccept: index == 0 ? CommunicationsUtilities.handshakeVersion : null,
219
_pipeServer
.WriteIntForHandshake(index + 1);
233
if (
_pipeServer
.TryReadEndOfHandshakeSignal(false,
240
_pipeServer
.WriteEndOfHandshakeSignal();
258
_pipeServer
.RunAsClient(() => { clientIdentity = WindowsIdentity.GetCurrent(true); });