47 references to IsCompleted
Aspire.Dashboard (1)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
274
if (result.
IsCompleted
)
Aspire.Hosting (1)
Dcp\DcpHost.cs (1)
404
if (result.
IsCompleted
|| result.IsCanceled)
Microsoft.AspNetCore.Http.Connections (3)
Internal\Transports\LongPollingServerTransport.cs (1)
41
if (buffer.IsEmpty && (result.
IsCompleted
|| result.IsCanceled))
Internal\Transports\ServerSentEventsServerTransport.cs (1)
68
else if (result.
IsCompleted
)
Internal\Transports\WebSocketsServerTransport.cs (1)
257
else if (result.
IsCompleted
)
Microsoft.AspNetCore.Server.Kestrel.Core (30)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (3)
54
if (_readResult.
IsCompleted
)
79
if (_readResult.
IsCompleted
)
141
if (result.
IsCompleted
)
Internal\Http\Http1Connection.cs (1)
898
if (result.
IsCompleted
)
Internal\Http\Http1ContentLengthMessageBody.cs (5)
88
if (_readResult.
IsCompleted
)
105
if (_readResult.
IsCompleted
)
154
if (_readResult.
IsCompleted
)
177
if (readResult.
IsCompleted
)
270
if (_readResult.
IsCompleted
)
Internal\Http\Http1MessageBody.cs (2)
59
if (readResult.
IsCompleted
)
97
} while (!result.
IsCompleted
);
Internal\Http\HttpRequestStream.cs (1)
142
if (result.
IsCompleted
)
Internal\Http2\Http2Connection.cs (3)
363
if (result.
IsCompleted
)
621
if (result.
IsCompleted
)
1899
if ((readResult.
IsCompleted
&& readResult.Buffer.Length == 0) || readResult.IsCanceled)
Internal\Http2\Http2MessageBody.cs (2)
95
if (readResult.
IsCompleted
)
122
if (_readResult.
IsCompleted
)
Internal\Http3\Http3ControlStream.cs (2)
176
if (result.
IsCompleted
)
303
if (result.
IsCompleted
)
Internal\Http3\Http3MessageBody.cs (2)
63
if (readResult.
IsCompleted
)
90
if (_readResult.
IsCompleted
)
Internal\Http3\Http3OutputProducer.cs (3)
421
if (readResult.
IsCompleted
&& _stream.ResponseTrailers?.Count > 0)
433
else if (readResult.
IsCompleted
)
454
} while (!readResult.
IsCompleted
);
Internal\Http3\Http3PendingStream.cs (1)
73
if (result.
IsCompleted
)
Internal\Http3\Http3Stream.cs (2)
661
await ProcessHttp3Stream(application, incomingFrame, isContinuedFrame, framePayload, result.
IsCompleted
&& readableBuffer.IsEmpty);
668
if (result.
IsCompleted
)
Middleware\TlsListener.cs (2)
40
if (result.
IsCompleted
&& buffer.Length < 6)
50
if (result.
IsCompleted
)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
141
if (result.
IsCompleted
)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicStreamContext.cs (1)
400
var isCompleted = result.
IsCompleted
;
Microsoft.AspNetCore.SignalR.Core (2)
HubConnectionContext.cs (1)
655
if (result.
IsCompleted
)
HubConnectionHandler.cs (1)
346
if (result.
IsCompleted
)
Microsoft.AspNetCore.WebUtilities (2)
FormPipeReader.cs (2)
104
ParseFormValues(ref buffer, ref accumulator, readResult.
IsCompleted
);
113
if (readResult.
IsCompleted
)
System.IO.Pipelines (6)
System\IO\Pipelines\Pipe.cs (1)
706
if (_unconsumedBytes >= minimumBytes || readResult.IsCanceled || readResult.
IsCompleted
)
System\IO\Pipelines\PipeReader.cs (2)
73
if (buffer.Length >= minimumSize || result.
IsCompleted
|| result.IsCanceled)
277
if (result.
IsCompleted
)
System\IO\Pipelines\PipeReaderStream.cs (1)
135
if (result.
IsCompleted
)
System\IO\Pipelines\ReadResult.cs (1)
14
/// <summary>Creates a new instance of <see cref="System.IO.Pipelines.ReadResult" /> setting <see cref="System.IO.Pipelines.ReadResult.IsCanceled" /> and <see cref="System.IO.Pipelines.ReadResult.
IsCompleted
" /> flags.</summary>
System\IO\Pipelines\StreamPipeReader.cs (1)
229
|| readResult.
IsCompleted
System.Text.Json (1)
System\Text\Json\Serialization\PipeReadBufferState.cs (1)
65
bufferState._isFinalBlock = readResult.
IsCompleted
;