22 references to FlushResult
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\Http\Http1OutputProducer.cs (4)
147return new ValueTask<FlushResult>(new FlushResult(false, true)); 502return new ValueTask<FlushResult>(new FlushResult(false, true)); 522return new ValueTask<FlushResult>(new FlushResult(false, true)); 560return new ValueTask<FlushResult>(new FlushResult(false, true));
Internal\Http2\Http2OutputProducer.cs (2)
274return new ValueTask<FlushResult>(new FlushResult(false, true)); 539return new ValueTask<FlushResult>(new FlushResult(false, true));
Internal\Http3\Http3OutputProducer.cs (2)
180return new ValueTask<FlushResult>(new FlushResult(false, true)); 368return new ValueTask<FlushResult>(new FlushResult(false, true));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
ConcurrentPipeWriterTests.cs (1)
379pipeWriterFlushTcsArray[0].SetResult(new FlushResult(isCanceled: true, isCompleted: false));
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Mocks\NullPipeWriter.cs (1)
30return new ValueTask<FlushResult>(new FlushResult(false, true));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicStreamContext.cs (2)
240flushTask = ValueTask.FromResult(new FlushResult(isCanceled: false, isCompleted: true)); 312return new FlushResult(isCanceled: false, isCompleted: true);
Microsoft.AspNetCore.SignalR.Core (2)
HubConnectionContext.cs (2)
292return new ValueTask<FlushResult>(new FlushResult(isCanceled: false, isCompleted: true)); 320return new ValueTask<FlushResult>(new FlushResult(isCanceled: false, isCompleted: true));
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\Text\Json\PooledByteBufferWriter.cs (1)
228return new FlushResult(isCanceled: false, isCompleted: false);
System.IO.Pipelines (6)
System\IO\Pipelines\Pipe.cs (1)
1061return new ValueTask<FlushResult>(new FlushResult(isCanceled: false, isCompleted: true));
System\IO\Pipelines\PipeReader.cs (2)
218return new ValueTask<FlushResult>(new FlushResult(isCanceled: false, isCompleted: false)); 224return new FlushResult(isCanceled: false, isCompleted: false);
System\IO\Pipelines\StreamPipeWriter.cs (3)
270return new ValueTask<FlushResult>(new FlushResult(isCanceled: false, isCompleted: false)); 353return new FlushResult(isCanceled: false, isCompleted: false); 367return new FlushResult(isCanceled: true, isCompleted: false);
System.Text.Json (1)
src\libraries\Common\src\System\Text\Json\PooledByteBufferWriter.cs (1)
228return new FlushResult(isCanceled: false, isCompleted: false);