Base:
24 references to WriteAsync
aspire-tray (3)
src\Aspire.Tray\Common\TrayActivation.cs (3)
71await pipe.WriteAsync(new byte[] { command }, timeout.Token).ConfigureAwait(false); 76await pipe.WriteAsync(new byte[] { AcceptedResponse }, timeout.Token).ConfigureAwait(false); 141await _pipe.WriteAsync(reply, request.Token).ConfigureAwait(false);
Aspire.Tray.Tests (14)
src\Aspire.Tray\Common\TrayActivation.cs (3)
71await pipe.WriteAsync(new byte[] { command }, timeout.Token).ConfigureAwait(false); 76await pipe.WriteAsync(new byte[] { AcceptedResponse }, timeout.Token).ConfigureAwait(false); 141await _pipe.WriteAsync(reply, request.Token).ConfigureAwait(false);
TrayActivationTests.cs (3)
63await client.WriteAsync(new byte[] { 99 }, TestContext.Current.CancellationToken); 72await client.WriteAsync(new byte[] { 1 }, TestContext.Current.CancellationToken); 264await server.WriteAsync(response, TestContext.Current.CancellationToken);
WindowsTrayActivationTests.cs (5)
25await client.WriteAsync(new byte[] { 2 }, TestContext.Current.CancellationToken); 29await client.WriteAsync(new byte[] { 0 }, TestContext.Current.CancellationToken); 53await client.WriteAsync(new byte[] { 2 }, TestContext.Current.CancellationToken); 59await client.WriteAsync(new byte[] { 1 }, TestContext.Current.CancellationToken); 76await client.WriteAsync(new byte[] { 2 }, TestContext.Current.CancellationToken);
WindowsTrayLauncherTests.cs (3)
54await pipe.WriteAsync(identity, timeout.Token); 65await pipe.WriteAsync(new byte[] { 1 }, timeout.Token); 71await pipe.WriteAsync(new byte[] { 1 }, timeout.Token);
dotnet-aot (1)
parent\dotnet\Commands\Test\MTP\IPC\NamedPipeServer.cs (1)
116await _namedPipeServerStream.WriteAsync(_messageBuffer.GetBuffer().AsMemory(0, (int)_messageBuffer.Position), cancellationToken);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
Internal\NamedPipeConnection.cs (2)
168await _stream.WriteAsync(buffer.First); 174await _stream.WriteAsync(segment);
Microsoft.Build.Tasks.Core (1)
parent\Shared\NodePipeBase.cs (1)
149await NodeStream.WriteAsync(buffer.AsMemory(i, lengthToWrite), cancellationToken).ConfigureAwait(false);
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\ApplicationServices\SingleInstanceHelpers.vb (1)
56Await pipeClient.WriteAsync(
System.ServiceModel.NetNamedPipe (2)
System\ServiceModel\Channels\PipeConnection.cs (2)
174await _pipe.WriteAsync(buffer, cancellationToken); 436return _pipe.WriteAsync(ZeroBuffer, token);