1 write to _pipeServer
Microsoft.Build.Tasks.Core (1)
NodePipeServer.cs (1)
62
_pipeServer
= new NamedPipeServerStream(
14 references to _pipeServer
Microsoft.Build.Tasks.Core (14)
NodePipeServer.cs (14)
79
protected override PipeStream NodeStream =>
_pipeServer
;
105
await
_pipeServer
.WaitForConnectionAsync(cts.Token).ConfigureAwait(false);
146
if (!gotValidConnection &&
_pipeServer
.IsConnected)
148
_pipeServer
.Disconnect();
154
if (
_pipeServer
.IsConnected)
156
_pipeServer
.Disconnect();
171
if (
_pipeServer
.IsConnected)
177
_pipeServer
.WaitForPipeDrain();
180
_pipeServer
.Disconnect();
197
_pipeServer
.TryReadIntForHandshake(byteToAccept: index == 0 ? CommunicationsUtilities.handshakeVersion : null,
206
_pipeServer
.WriteIntForHandshake(index + 1);
220
if (
_pipeServer
.TryReadEndOfHandshakeSignal(false,
227
_pipeServer
.WriteEndOfHandshakeSignal();
245
_pipeServer
.RunAsClient(() => { clientIdentity = WindowsIdentity.GetCurrent(true); });