1 write to _namedPipeClientStream
dotnet.Tests (1)
CommandTests\Test\NamedPipeClient.cs (1)
23_namedPipeClientStream = new(".", name, PipeDirection.InOut, PipeOptions.CurrentUserOnly);
6 references to _namedPipeClientStream
dotnet.Tests (6)
CommandTests\Test\NamedPipeClient.cs (6)
30=> await _namedPipeClientStream.ConnectAsync(cancellationToken).ConfigureAwait(false); 93await _namedPipeClientStream.WriteAsync(_messageBuffer.GetBuffer().AsMemory(0, (int)_messageBuffer.Position), cancellationToken).ConfigureAwait(false); 94await _namedPipeClientStream.FlushAsync(cancellationToken).ConfigureAwait(false); 97_namedPipeClientStream.WaitForPipeDrain(); 113int currentReadBytes = await _namedPipeClientStream.ReadAsync(_readBuffer.AsMemory(currentReadIndex, _readBuffer.Length), cancellationToken).ConfigureAwait(false); 187_namedPipeClientStream.Dispose();