110 overrides of FlushAsync
Aspire.Hosting.Browsers.Tests (1)
BrowserLogsCdpConnectionTests.cs (1)
589public override async Task FlushAsync(CancellationToken cancellationToken)
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedWriteStream.cs (1)
164public override Task FlushAsync(CancellationToken cancellationToken)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DelegatingStream.cs (1)
135public override Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Components.Server (3)
Circuits\RemoteJSDataStream.cs (1)
168public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
94public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
277public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.Components.WebAssembly (2)
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
94public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
src\aspnetcore\src\Components\Shared\src\PullFromJSDataStream.cs (1)
62public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.Components.WebView (2)
src\aspnetcore\src\Components\Shared\src\ArrayBuilderMemoryStream.cs (1)
94public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
src\aspnetcore\src\Components\Shared\src\PullFromJSDataStream.cs (1)
62public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.Http (1)
Internal\ReferenceReadStream.cs (1)
135public override Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Http.Connections (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
277public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.HttpLogging (1)
BufferingStream.cs (1)
226public override Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\NonDisposableStream.cs (1)
145public override Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.OpenApi (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
277public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.OutputCaching (1)
Streams\OutputCacheStream.cs (1)
86public override async Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.ResponseCaching (2)
src\aspnetcore\src\Shared\SegmentWriteStream.cs (1)
105public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Streams\ResponseCachingStream.cs (1)
86public override async Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
120public override Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Server.HttpSys (4)
RequestProcessing\OpaqueStream.cs (1)
152public override Task FlushAsync(CancellationToken cancellationToken)
RequestProcessing\RequestStream.cs (1)
85public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
RequestProcessing\ResponseBody.cs (1)
303public override Task FlushAsync(CancellationToken cancellationToken)
ResponseStream.cs (1)
52public override async Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Server.IIS (6)
Core\DuplexStream.cs (1)
78public override Task FlushAsync(CancellationToken cancellationToken)
Core\HttpResponseStream.cs (1)
26public override Task FlushAsync(CancellationToken cancellationToken)
Core\HttpUpgradeStream.cs (1)
107public override Task FlushAsync(CancellationToken cancellationToken)
Core\ReadOnlyStream.cs (1)
33public override Task FlushAsync(CancellationToken cancellationToken)
Core\WrappingStream.cs (1)
54public override Task FlushAsync(CancellationToken cancellationToken)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
111public override Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http\HttpRequestStream.cs (1)
85public override Task FlushAsync(CancellationToken cancellationToken)
Internal\Http\HttpResponseStream.cs (1)
59public override Task FlushAsync(CancellationToken cancellationToken)
Internal\Http\HttpUpgradeStream.cs (1)
107public override Task FlushAsync(CancellationToken cancellationToken)
Internal\Infrastructure\StatusCheckWriteStream.cs (1)
70public override Task FlushAsync(CancellationToken cancellationToken)
Internal\Infrastructure\WrappingStream.cs (1)
53public override Task FlushAsync(CancellationToken cancellationToken)
Middleware\Internal\LoggingStream.cs (1)
71public override Task FlushAsync(CancellationToken cancellationToken)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
111public override Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.SignalR.Common (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
277public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
277public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
277public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
277public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
src\aspnetcore\src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
277public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.AspNetCore.TestHost (3)
AsyncStreamWrapper.cs (1)
37public override Task FlushAsync(CancellationToken cancellationToken)
ResponseBodyReaderStream.cs (1)
56public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
ResponseBodyWriterStream.cs (1)
52public override async Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Watch.BrowserRefresh (2)
src\sdk\src\Dotnet.Watch\Web.Middleware\ResponseStreamWrapper.cs (1)
59public override async Task FlushAsync(CancellationToken cancellationToken)
src\sdk\src\Dotnet.Watch\Web.Middleware\ScriptInjectingStream.cs (1)
43public override Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.WebSockets (1)
AbortStream.cs (1)
110public override Task FlushAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.WebUtilities (2)
BufferedReadStream.cs (1)
178public override Task FlushAsync(CancellationToken cancellationToken)
FileBufferingWriteStream.cs (1)
184public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
Microsoft.Build (2)
Logging\BinaryLogger\Postprocessing\SubStream.cs (1)
46public override Task FlushAsync(CancellationToken cancellationToken) => _stream.FlushAsync(cancellationToken);
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (1)
80public override Task FlushAsync(CancellationToken cancellationToken)
Microsoft.Extensions.AI.Abstractions (1)
Functions\AIFunctionFactory.cs (1)
1411public override Task FlushAsync(CancellationToken cancellationToken) =>
Microsoft.Extensions.AI.OpenAI (1)
OpenAIFileDownloadStream.cs (1)
79public override Task FlushAsync(CancellationToken cancellationToken) =>
NuGet.Packaging (1)
Signing\Archive\ReadOnlyBufferedStream.cs (1)
139public override Task FlushAsync(CancellationToken cancellationToken)
System.Formats.Tar (2)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (1)
276public override Task FlushAsync(CancellationToken cancellationToken) =>
System\Formats\Tar\GnuSparseStream.cs (1)
559public override Task FlushAsync(CancellationToken cancellationToken) =>
System.IO.Compression (13)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (1)
276public override Task FlushAsync(CancellationToken cancellationToken) =>
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (1)
77public override Task FlushAsync(CancellationToken cancellationToken)
System\IO\Compression\DeflateZLib\DeflateStream.cs (1)
217public override Task FlushAsync(CancellationToken cancellationToken)
System\IO\Compression\GZipStream.cs (1)
255public override Task FlushAsync(CancellationToken cancellationToken)
System\IO\Compression\PositionPreservingWriteOnlyStreamWrapper.cs (1)
83public override Task FlushAsync(CancellationToken cancellationToken) => _stream.FlushAsync(cancellationToken);
System\IO\Compression\WinZipAesStream.cs (1)
665public override async Task FlushAsync(CancellationToken cancellationToken)
System\IO\Compression\ZipArchiveEntry.cs (1)
2399public override Task FlushAsync(CancellationToken cancellationToken)
System\IO\Compression\ZipCryptoStream.cs (1)
452public override Task FlushAsync(CancellationToken cancellationToken)
System\IO\Compression\ZipCustomStreams.cs (3)
217public override Task FlushAsync(CancellationToken cancellationToken) 466public override Task FlushAsync(CancellationToken cancellationToken) 688public override Task FlushAsync(CancellationToken cancellationToken)
System\IO\Compression\ZLibStream.cs (1)
94public override Task FlushAsync(CancellationToken cancellationToken)
System\IO\Compression\Zstandard\ZstandardStream.Compress.cs (1)
336public override Task FlushAsync(CancellationToken cancellationToken)
System.IO.Compression.Brotli (1)
System\IO\Compression\enc\BrotliStream.Compress.cs (1)
215public override Task FlushAsync(CancellationToken cancellationToken)
System.IO.Hashing (1)
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (1)
347public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
System.IO.Pipelines (1)
System\IO\Pipelines\PipeWriterStream.cs (1)
93public override Task FlushAsync(CancellationToken cancellationToken)
System.IO.Pipes (1)
System\IO\Pipes\PipeStream.cs (1)
132public override Task FlushAsync(CancellationToken cancellationToken)
System.Memory (1)
System\Buffers\ReadOnlySequenceStream.cs (1)
210public override Task FlushAsync(CancellationToken cancellationToken) =>
System.Net.Http (4)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
144public override Task FlushAsync(CancellationToken cancellationToken)
System\Net\Http\HttpBaseStream.cs (1)
77public override Task FlushAsync(CancellationToken cancellationToken) => NopAsync(cancellationToken);
System\Net\Http\HttpContent.cs (1)
1148public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
System\Net\Http\MultipartContent.cs (1)
619public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
System.Net.Http.Json (1)
System\Net\Http\Json\LengthLimitReadStream.cs (1)
86public override Task FlushAsync(CancellationToken cancellationToken) => _innerStream.FlushAsync(cancellationToken);
System.Net.Http.WinHttpHandler (2)
System\Net\Http\WinHttpRequestStream.cs (1)
91public override Task FlushAsync(CancellationToken cancellationToken)
System\Net\Http\WinHttpResponseStream.cs (1)
85public override Task FlushAsync(CancellationToken cancellationToken)
System.Net.HttpListener (2)
System\Net\HttpRequestStream.cs (1)
40public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
System\Net\HttpResponseStream.cs (1)
20public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
System.Net.Mail (1)
System\Net\DelegatedStream.cs (1)
98public override Task FlushAsync(CancellationToken cancellationToken)
System.Net.Quic (1)
System\Net\Quic\QuicStream.Stream.cs (1)
214public override Task FlushAsync(CancellationToken cancellationToken = default)
System.Net.Requests (3)
System\Net\NetworkStreamWrapper.cs (1)
223public override Task FlushAsync(CancellationToken cancellationToken)
System\Net\RequestBufferingStream.cs (1)
27public override Task FlushAsync(CancellationToken cancellationToken)
System\Net\RequestStream.cs (1)
54public override Task FlushAsync(CancellationToken cancellationToken)
System.Net.Security (2)
System\Net\Security\NegotiateStream.cs (1)
293public override Task FlushAsync(CancellationToken cancellationToken) =>
System\Net\Security\SslStream.cs (1)
693public override Task FlushAsync(CancellationToken cancellationToken) => InnerStream.FlushAsync(cancellationToken);
System.Net.Sockets (1)
System\Net\Sockets\NetworkStream.cs (1)
673public override Task FlushAsync(CancellationToken cancellationToken)
System.Net.WebClient (2)
src\runtime\src\libraries\Common\src\System\IO\ChunkedMemoryStream.cs (1)
113public override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask;
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
144public override Task FlushAsync(CancellationToken cancellationToken)
System.Net.WebSockets (1)
System\Net\WebSockets\WebSocketStream.cs (1)
120public override Task FlushAsync(CancellationToken cancellationToken) =>
System.Private.CoreLib (12)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (1)
303public override Task FlushAsync(CancellationToken cancellationToken)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (1)
250public override Task FlushAsync(CancellationToken cancellationToken)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs (1)
161public override Task FlushAsync(CancellationToken cancellationToken)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\ReadOnlyMemoryStream.cs (1)
80public override Task FlushAsync(CancellationToken cancellationToken) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\BufferedFileStreamStrategy.cs (1)
785public override Task FlushAsync(CancellationToken cancellationToken)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\DerivedFileStreamStrategy.cs (1)
141public override Task FlushAsync(CancellationToken cancellationToken)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\OSFileStreamStrategy.cs (1)
135public sealed override Task FlushAsync(CancellationToken cancellationToken) => Task.CompletedTask; // no buffering = nothing to flush
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (1)
1031public override Task FlushAsync(CancellationToken cancellationToken) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StringStream.cs (1)
318public override Task FlushAsync(CancellationToken cancellationToken) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStream.cs (1)
234public override Task FlushAsync(CancellationToken cancellationToken)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\WritableMemoryStream.cs (1)
82public override Task FlushAsync(CancellationToken cancellationToken) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (1)
280public override Task FlushAsync(CancellationToken cancellationToken)
System.Security.Cryptography (1)
System\Security\Cryptography\CryptoStream.cs (1)
192public override Task FlushAsync(CancellationToken cancellationToken)
System.ServiceModel.Primitives (3)
System\ServiceModel\Channels\BufferedReadStream.cs (1)
149public override Task FlushAsync(CancellationToken cancellationToken)
System\ServiceModel\Channels\BufferedWriteStream.cs (1)
174public override Task FlushAsync(CancellationToken cancellationToken)
System\ServiceModel\Channels\DelegatingStream.cs (1)
77public override Task FlushAsync(CancellationToken cancellationToken) => BaseStream.FlushAsync(cancellationToken);
81 references to FlushAsync
Aspire.Dashboard (2)
DashboardEndpointsBuilder.cs (1)
264await httpContext.Response.Body.FlushAsync(cancellationToken).ConfigureAwait(false);
Terminal\TerminalWebSocketProxy.cs (1)
303await upstream.FlushAsync(token).ConfigureAwait(false);
Aspire.Hosting.Browsers (1)
BrowserLogsCdpConnection.cs (1)
531await _writeStream.FlushAsync(cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserLogsCdpConnection.cs (1)
531await _writeStream.FlushAsync(cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Radius (1)
Publishing\SealedSecretApplyStep.cs (1)
946await process.StandardInput.BaseStream.FlushAsync(cancellationToken).ConfigureAwait(false);
dotnet (1)
Commands\Test\MTP\IPC\HttpTestHostGateway.cs (1)
329await response.OutputStream.FlushAsync(cancellationToken);
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedWriteStream.cs (2)
189await _stream.FlushAsync(cancellationToken).ConfigureAwait(false); 217await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DelegatingStream.cs (1)
137return _stream.FlushAsync(cancellationToken);
Microsoft.AspNetCore.Http (1)
StreamResponseBodyFeature.cs (1)
105return Stream.FlushAsync(cancellationToken);
Microsoft.AspNetCore.Http.Connections (1)
Internal\Transports\ServerSentEventsServerTransport.cs (1)
48await context.Response.Body.FlushAsync(cancellationToken);
Microsoft.AspNetCore.HttpLogging (1)
BufferingStream.cs (1)
228return _innerStream.FlushAsync(cancellationToken);
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\NonDisposableStream.cs (1)
147return _innerStream.FlushAsync(cancellationToken);
Infrastructure\SystemTextJsonResultExecutor.cs (1)
83await transcodingStream.FlushAsync(context.HttpContext.RequestAborted);
Microsoft.AspNetCore.OutputCaching (1)
Streams\OutputCacheStream.cs (1)
91await _innerStream.FlushAsync(cancellationToken);
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
432await Prop<Stream>(OwinConstants.ResponseBody).FlushAsync(cancellationToken);
Microsoft.AspNetCore.ResponseCaching (1)
Streams\ResponseCachingStream.cs (1)
91await _innerStream.FlushAsync(cancellationToken);
Microsoft.AspNetCore.ResponseCompression (4)
ResponseCompressionBody.cs (4)
127return _innerStream.FlushAsync(cancellationToken); 132return _compressionStream.FlushAsync(cancellationToken); 135return _innerStream.FlushAsync(cancellationToken); 189await _compressionStream.FlushAsync(cancellationToken);
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\OpaqueStream.cs (1)
154return _responseStream.FlushAsync(cancellationToken);
ResponseStream.cs (1)
55await _innerStream.FlushAsync(cancellationToken);
Microsoft.AspNetCore.Server.IIS (3)
Core\DuplexStream.cs (1)
80return _responseBody.FlushAsync(cancellationToken);
Core\HttpUpgradeStream.cs (1)
109return _responseStream.FlushAsync(cancellationToken);
Core\WrappingStream.cs (1)
55=> _inner.FlushAsync(cancellationToken);
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\HttpUpgradeStream.cs (1)
109return _responseStream.FlushAsync(cancellationToken);
Internal\Infrastructure\StatusCheckWriteStream.cs (1)
73return _inner.FlushAsync(cancellationToken);
Internal\Infrastructure\WrappingStream.cs (1)
54=> _inner.FlushAsync(cancellationToken);
Middleware\Internal\LoggingStream.cs (1)
73return _inner.FlushAsync(cancellationToken);
Microsoft.AspNetCore.TestHost (2)
AsyncStreamWrapper.cs (1)
39return _inner.FlushAsync(cancellationToken);
WebSocketClient.cs (1)
146await _httpContext.Response.Body.FlushAsync(_httpContext.RequestAborted); // Send headers to the client
Microsoft.AspNetCore.Watch.BrowserRefresh (2)
src\sdk\src\Dotnet.Watch\Web.Middleware\ResponseStreamWrapper.cs (1)
62await _baseStream.FlushAsync(cancellationToken);
src\sdk\src\Dotnet.Watch\Web.Middleware\ScriptInjectingStream.cs (1)
44=> _baseStream.FlushAsync(cancellationToken);
Microsoft.AspNetCore.WebSockets (1)
AbortStream.cs (1)
112return _innerStream.FlushAsync(cancellationToken);
Microsoft.AspNetCore.WebUtilities (1)
BufferedReadStream.cs (1)
180return _inner.FlushAsync(cancellationToken);
Microsoft.Build (2)
Logging\BinaryLogger\Postprocessing\SubStream.cs (1)
46public override Task FlushAsync(CancellationToken cancellationToken) => _stream.FlushAsync(cancellationToken);
Logging\BinaryLogger\Postprocessing\TransparentReadStream.cs (1)
82return _stream.FlushAsync(cancellationToken);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIFileDownloadStream.cs (1)
80_innerStream.FlushAsync(cancellationToken);
Microsoft.Extensions.Logging.Console (1)
src\runtime\src\libraries\Common\src\System\Text\Json\PooledByteBufferWriter.cs (1)
85await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);
Nats.ApiService (2)
Program.cs (2)
54await ctx.Response.Body.FlushAsync(ct); 74await ctx.Response.Body.FlushAsync(ct);
System.Formats.Tar (1)
src\runtime\src\libraries\Common\src\System\ReadWriteAdapter.cs (1)
51public static Task FlushAsync(Stream stream, CancellationToken cancellationToken) => stream.FlushAsync(cancellationToken);
System.IO.Compression (8)
System\IO\Compression\DeflateZLib\DeflateStream.cs (1)
253await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);
System\IO\Compression\PositionPreservingWriteOnlyStreamWrapper.cs (1)
83public override Task FlushAsync(CancellationToken cancellationToken) => _stream.FlushAsync(cancellationToken);
System\IO\Compression\WinZipAesStream.cs (2)
640await _baseStream.FlushAsync(cancellationToken).ConfigureAwait(false); 668await _baseStream.FlushAsync(cancellationToken).ConfigureAwait(false);
System\IO\Compression\ZipCryptoStream.cs (1)
455return _base.FlushAsync(cancellationToken);
System\IO\Compression\ZipCustomStreams.cs (2)
222return _baseStream.FlushAsync(cancellationToken); 469return _baseStream?.FlushAsync(cancellationToken) ?? Task.CompletedTask;
System\IO\Compression\Zstandard\ZstandardStream.Compress.cs (1)
351await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);
System.IO.Compression.Brotli (1)
System\IO\Compression\enc\BrotliStream.Compress.cs (1)
246await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);
System.IO.Pipelines (1)
System\IO\Pipelines\StreamPipeWriter.cs (1)
344await InnerStream.FlushAsync(localToken).ConfigureAwait(false);
System.Net.Http (1)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
146return _innerStream.FlushAsync(cancellationToken);
System.Net.Http.Json (1)
System\Net\Http\Json\LengthLimitReadStream.cs (1)
86public override Task FlushAsync(CancellationToken cancellationToken) => _innerStream.FlushAsync(cancellationToken);
System.Net.Mail (2)
src\runtime\src\libraries\Common\src\System\ReadWriteAdapter.cs (1)
51public static Task FlushAsync(Stream stream, CancellationToken cancellationToken) => stream.FlushAsync(cancellationToken);
System\Net\DelegatedStream.cs (1)
100return _stream.FlushAsync(cancellationToken);
System.Net.Requests (2)
System\Net\NetworkStreamWrapper.cs (1)
225return Stream.FlushAsync(cancellationToken);
System\Net\RequestStream.cs (1)
57return _internalStream.FlushAsync(cancellationToken);
System.Net.Security (3)
src\runtime\src\libraries\Common\src\System\ReadWriteAdapter.cs (1)
51public static Task FlushAsync(Stream stream, CancellationToken cancellationToken) => stream.FlushAsync(cancellationToken);
System\Net\Security\NegotiateStream.cs (1)
294InnerStream.FlushAsync(cancellationToken);
System\Net\Security\SslStream.cs (1)
693public override Task FlushAsync(CancellationToken cancellationToken) => InnerStream.FlushAsync(cancellationToken);
System.Net.ServerSentEvents (1)
System\Net\ServerSentEvents\SseFormatter.cs (1)
93await destination.FlushAsync(cancellationToken).ConfigureAwait(false);
System.Net.WebClient (1)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (1)
146return _innerStream.FlushAsync(cancellationToken);
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
611await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);
System.Private.CoreLib (8)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (3)
341await _stream.FlushAsync(cancellationToken).ConfigureAwait(false); 350await _stream.FlushAsync(cancellationToken).ConfigureAwait(false); 427await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (2)
261return _strategy.FlushAsync(cancellationToken); 600=> base.FlushAsync(cancellationToken);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (1)
189public Task FlushAsync() => FlushAsync(CancellationToken.None);
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs (1)
1025await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (1)
286return _innerStream.FlushAsync(cancellationToken);
System.Security.Cryptography (3)
System\Security\Cryptography\CryptoStream.cs (3)
169await _stream.FlushAsync(cancellationToken).ConfigureAwait(false); 199return base.FlushAsync(cancellationToken); 204_stream.FlushAsync(cancellationToken);
System.ServiceModel.Primitives (3)
System\ServiceModel\Channels\BufferedWriteStream.cs (2)
199await _stream.FlushAsync(cancellationToken).ConfigureAwait(false); 227await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);
System\ServiceModel\Channels\DelegatingStream.cs (1)
77public override Task FlushAsync(CancellationToken cancellationToken) => BaseStream.FlushAsync(cancellationToken);
System.Text.Json (2)
src\runtime\src\libraries\Common\src\System\Text\Json\PooledByteBufferWriter.cs (1)
85await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);
System\Text\Json\Writer\Utf8JsonWriter.cs (1)
576await _stream.FlushAsync(cancellationToken).ConfigureAwait(false);