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