36 references to IsCanceled
InMemory.FunctionalTests (6)
Http2\Http2StreamTests.cs (2)
4334Assert.True(cancelledResult.IsCanceled); 4338Assert.False(goodResult.IsCanceled);
Http3\Http3StreamTests.cs (2)
800Assert.True(cancelledResult.IsCanceled); 804Assert.False(goodResult.IsCanceled);
ResponseTests.cs (2)
251Assert.True(cancelledResult.IsCanceled); 255Assert.False(goodResult.IsCanceled);
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
1200if (flushResult.IsCanceled || flushResult.IsCompleted)
Microsoft.AspNetCore.Http.Connections (3)
Internal\Transports\WebSocketsServerTransport.cs (1)
167if (flushResult.IsCanceled || flushResult.IsCompleted)
src\SignalR\common\Shared\PipeWriterStream.cs (2)
80if (task.Result.IsCanceled) 97if (flushResult.IsCanceled)
Microsoft.AspNetCore.Http.Connections.Client (5)
Internal\LongPollingTransport.cs (1)
202if (flushResult.IsCanceled || flushResult.IsCompleted)
Internal\ServerSentEventsTransport.cs (1)
150if (flushResult.IsCanceled || flushResult.IsCompleted)
Internal\WebSocketsTransport.cs (1)
493if (flushResult.IsCanceled || flushResult.IsCompleted)
src\SignalR\common\Shared\PipeWriterStream.cs (2)
80if (task.Result.IsCanceled) 97if (flushResult.IsCanceled)
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.IO.cs (1)
127if (result.IsCompleted || result.IsCanceled)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http2\Http2Connection.cs (1)
1878if (result.IsCompleted || result.IsCanceled)
Internal\Infrastructure\PipeWriterHelpers\ConcurrentPipeWriter.cs (1)
161if (flushResult.IsCanceled)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
ConcurrentPipeWriterTests.cs (2)
381Assert.True((await flushTask0.DefaultTimeout()).IsCanceled); 382Assert.True((await flushTask1.DefaultTimeout()).IsCanceled);
Http1\Http1ConnectionTests.cs (1)
735Assert.False(successResult.IsCanceled);
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Internal\NamedPipeConnection.cs (1)
115if (result.IsCompleted || result.IsCanceled)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicStreamContext.cs (1)
266if (result.IsCompleted || result.IsCanceled)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\SocketConnection.cs (1)
188if (result.IsCompleted || result.IsCanceled)
Microsoft.AspNetCore.SignalR.Client.Core (2)
src\SignalR\common\Shared\PipeWriterStream.cs (2)
80if (task.Result.IsCanceled) 97if (flushResult.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)
260if (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> 139if (result.IsCanceled)
System\IO\Pipelines\PipeWriterStream.cs (2)
105if (result.IsCanceled) 117if (result.IsCanceled)
System\IO\Pipelines\StreamPipeReader.cs (1)
341if (flushResult.IsCanceled)
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.WriteHelpers.cs (3)
121if (result.IsCanceled) 183if (result.IsCanceled || result.IsCompleted) 185if (result.IsCanceled)