17 references to IsCanceled
Microsoft.AspNetCore.Http.Connections (3)
Internal\Transports\WebSocketsServerTransport.cs (1)
167
if (flushResult.
IsCanceled
|| flushResult.IsCompleted)
src\aspnetcore\src\SignalR\common\Shared\PipeWriterStream.cs (2)
80
if (task.Result.
IsCanceled
)
97
if (flushResult.
IsCanceled
)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http2\Http2Connection.cs (1)
1918
if (result.IsCompleted || result.
IsCanceled
)
Internal\Infrastructure\PipeWriterHelpers\ConcurrentPipeWriter.cs (1)
161
if (flushResult.
IsCanceled
)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicStreamContext.cs (1)
266
if (result.IsCompleted || result.
IsCanceled
)
System.IO.Pipelines (7)
System\IO\Pipelines\FlushResult.cs (1)
11
/// <summary>Initializes a new instance of <see cref="System.IO.Pipelines.FlushResult" /> struct setting the <see cref="System.IO.Pipelines.FlushResult.
IsCanceled
" /> and <see cref="System.IO.Pipelines.FlushResult.IsCompleted" /> flags.</summary>
System\IO\Pipelines\PipeReader.cs (1)
260
if (flushResult.
IsCanceled
)
System\IO\Pipelines\PipeWriter.cs (2)
36
/// <remarks>The canceled <see cref="System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> or <see cref="System.IO.Pipelines.PipeWriter.WriteAsync(System.ReadOnlyMemory{byte},System.Threading.CancellationToken)" /> operation returns a <see cref="System.IO.Pipelines.FlushResult" /> where <see cref="System.IO.Pipelines.FlushResult.
IsCanceled
" /> is <see langword="true" />.</remarks>
139
if (result.
IsCanceled
)
System\IO\Pipelines\PipeWriterStream.cs (2)
105
if (result.
IsCanceled
)
117
if (result.
IsCanceled
)
System\IO\Pipelines\StreamPipeReader.cs (1)
338
if (flushResult.
IsCanceled
)
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializer.Write.Pipe.cs (1)
289
if (result.
IsCanceled
)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (3)
122
if (result.
IsCanceled
)
184
if (result.
IsCanceled
|| result.IsCompleted)
186
if (result.
IsCanceled
)