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