22 overrides of CancelPendingFlush
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
28public override void CancelPendingFlush()
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
50public override void CancelPendingFlush() => _output.CancelPendingFlush();
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (1)
EndToEndBenchmarks.cs (1)
282public override void CancelPendingFlush() { }
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http\HttpResponsePipeWriter.cs (1)
28public override void CancelPendingFlush()
Internal\Infrastructure\PipeWriterHelpers\ConcurrentPipeWriter.cs (1)
186public override void CancelPendingFlush()
Internal\Infrastructure\StatusCheckPipeWriter.cs (1)
46public override void CancelPendingFlush()
Internal\Infrastructure\ThrowingPipeWriter.cs (1)
19public override void CancelPendingFlush() => throw new InvalidOperationException(_message);
Internal\Infrastructure\WrappingPipeWriter.cs (1)
31public override void CancelPendingFlush()
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
ConcurrentPipeWriterTests.cs (1)
462public override void CancelPendingFlush()
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
50public override void CancelPendingFlush() => _output.CancelPendingFlush();
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (3)
Mocks\NullPipeWriter.cs (1)
20public override void CancelPendingFlush()
ResponseHeadersWritingBenchmark.cs (1)
204public override void CancelPendingFlush() { }
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
28public override void CancelPendingFlush()
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
28public override void CancelPendingFlush()
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Shared\TestPipeWriter.cs (1)
29public override void CancelPendingFlush()
Microsoft.AspNetCore.TestHost (1)
ResponseBodyPipeWriter.cs (1)
79public override void CancelPendingFlush() => _pipe.Writer.CancelPendingFlush();
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\Text\Json\PooledByteBufferWriter.cs (1)
236public override void CancelPendingFlush() => throw new NotImplementedException();
Sockets.FunctionalTests (2)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
50public override void CancelPendingFlush() => _output.CancelPendingFlush();
src\Servers\Kestrel\test\FunctionalTests\ConnectionMiddlewareTests.cs (1)
148public override void CancelPendingFlush()
System.IO.Pipelines (2)
System\IO\Pipelines\Pipe.DefaultPipeWriter.cs (1)
24public override void CancelPendingFlush() => _pipe.CancelPendingFlush();
System\IO\Pipelines\StreamPipeWriter.cs (1)
204public override void CancelPendingFlush()
System.Text.Json (1)
src\libraries\Common\src\System\Text\Json\PooledByteBufferWriter.cs (1)
236public override void CancelPendingFlush() => throw new NotImplementedException();
29 references to CancelPendingFlush
InMemory.FunctionalTests (5)
Http2\Http2StreamTests.cs (1)
4326httpContext.Response.BodyWriter.CancelPendingFlush();
Http3\Http3StreamTests.cs (1)
802context.Response.BodyWriter.CancelPendingFlush();
ResponseTests.cs (1)
242context.Response.BodyWriter.CancelPendingFlush();
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
30_inner.CancelPendingFlush();
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
50public override void CancelPendingFlush() => _output.CancelPendingFlush();
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionContext.cs (1)
303Application?.Output.CancelPendingFlush();
Internal\Transports\WebSocketsServerTransport.cs (1)
121_application.Output.CancelPendingFlush();
Microsoft.AspNetCore.Http.Connections.Client (3)
Internal\LongPollingTransport.cs (1)
104_application.Output.CancelPendingFlush();
Internal\ServerSentEventsTransport.cs (1)
120_application.Output.CancelPendingFlush();
Internal\WebSocketsTransport.cs (1)
394_application.Output.CancelPendingFlush();
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http3\Http3OutputProducer.cs (1)
134_pipeWriter.CancelPendingFlush();
Internal\Infrastructure\PipeWriterHelpers\ConcurrentPipeWriter.cs (1)
189_innerPipeWriter.CancelPendingFlush();
Internal\Infrastructure\StatusCheckPipeWriter.cs (1)
49_inner.CancelPendingFlush();
Internal\Infrastructure\WrappingPipeWriter.cs (1)
33_inner.CancelPendingFlush();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
BodyControlTests.cs (1)
133Assert.Throws<ObjectDisposedException>(() => responsePipe.CancelPendingFlush());
ConcurrentPipeWriterTests.cs (1)
375concurrentPipeWriter.CancelPendingFlush();
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
50public override void CancelPendingFlush() => _output.CancelPendingFlush();
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
30_inner.CancelPendingFlush();
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Internal\NamedPipeConnection.cs (1)
205Input.CancelPendingFlush();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicStreamContext.cs (1)
476Input.CancelPendingFlush();
src\Servers\Kestrel\shared\CompletionPipeWriter.cs (1)
30_inner.CancelPendingFlush();
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\SocketConnection.cs (1)
341Input.CancelPendingFlush();
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
478_connectionContext.Transport.Output.CancelPendingFlush();
Microsoft.AspNetCore.TestHost (2)
HttpContextBuilder.cs (1)
263_requestPipe.Writer.CancelPendingFlush();
ResponseBodyPipeWriter.cs (1)
79public override void CancelPendingFlush() => _pipe.Writer.CancelPendingFlush();
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
50public override void CancelPendingFlush() => _output.CancelPendingFlush();
System.IO.Pipelines (3)
System\IO\Pipelines\FlushResult.cs (3)
12/// <param name="isCanceled"><see langword="true" /> to indicate the current <see cref="System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="System.IO.Pipelines.FlushResult" /> was canceled by <see cref="System.IO.Pipelines.PipeWriter.CancelPendingFlush" />; otherwise, <see langword="false" />.</param> 29/// <summary>Gets a value that indicates whether the current <see cref="System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation was canceled by <see cref="System.IO.Pipelines.PipeWriter.CancelPendingFlush" />.</summary> 30/// <value><see langword="true" /> if the current <see cref="System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation was canceled by <see cref="System.IO.Pipelines.PipeWriter.CancelPendingFlush" />; otherwise, <see langword="false" />.</value>