33 references to IsEmpty
Microsoft.AspNetCore.Components.Server (2)
src\aspnetcore\src\SignalR\common\Shared\BinaryMessageParser.cs (1)
15
if (buffer.
IsEmpty
)
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\SequenceReader.cs (1)
112
if (this.sequence.
IsEmpty
&& !this.memory.IsEmpty)
Microsoft.AspNetCore.Http.Connections (3)
Internal\Transports\LongPollingServerTransport.cs (1)
41
if (buffer.
IsEmpty
&& (result.IsCompleted || result.IsCanceled))
Internal\Transports\ServerSentEventsServerTransport.cs (1)
61
if (!buffer.
IsEmpty
)
Internal\Transports\WebSocketsServerTransport.cs (1)
222
if (!buffer.
IsEmpty
)
Microsoft.AspNetCore.OutputCaching (3)
OutputCacheEntryFormatter.cs (1)
167
if (body.
IsEmpty
)
OutputCacheMiddleware.cs (1)
313
if (!body.
IsEmpty
)
RecyclableReadOnlySequenceSegment.cs (1)
104
if (!source.
IsEmpty
)
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (1)
127
if (!readableBuffer.
IsEmpty
)
Internal\Http\Http1ContentLengthMessageBody.cs (1)
218
if (!_finalAdvanceCalled && buffer.
IsEmpty
)
Internal\Http2\Http2Connection.cs (1)
564
if (!readableBuffer.
IsEmpty
)
Internal\Http3\Http3ControlStream.cs (2)
167
if (!readableBuffer.
IsEmpty
)
270
if (!readableBuffer.
IsEmpty
)
Internal\Http3\Http3PendingStream.cs (1)
61
if (!readableBuffer.
IsEmpty
)
Internal\Http3\Http3Stream.cs (2)
650
if (!readableBuffer.
IsEmpty
)
661
await ProcessHttp3Stream(application, incomingFrame, isContinuedFrame, framePayload, result.IsCompleted && readableBuffer.
IsEmpty
);
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
132
if (!readableBuffer.
IsEmpty
)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicStreamContext.cs (1)
401
if (!buffer.
IsEmpty
)
Microsoft.AspNetCore.SignalR.Common (1)
src\aspnetcore\src\SignalR\common\Shared\Utf8BufferTextReader.cs (1)
67
if (_utf8Buffer.
IsEmpty
)
Microsoft.AspNetCore.SignalR.Core (4)
HubConnectionContext.cs (1)
562
if (!buffer.
IsEmpty
)
HubConnectionHandler.cs (3)
283
if (!buffer.
IsEmpty
)
307
while (!buffer.
IsEmpty
)
348
if (!buffer.
IsEmpty
)
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
src\aspnetcore\src\SignalR\common\Shared\Utf8BufferTextReader.cs (1)
67
if (_utf8Buffer.
IsEmpty
)
Microsoft.AspNetCore.WebUtilities (2)
FormPipeReader.cs (2)
100
if (!buffer.
IsEmpty
)
117
if (!buffer.
IsEmpty
)
System.Text.Json (7)
System\Text\Json\Document\JsonDocument.Parse.cs (2)
517
if (sequence.
IsEmpty
)
574
if (sequence.
IsEmpty
)
System\Text\Json\Reader\Utf8JsonReader.cs (1)
53
internal readonly ReadOnlySpan<byte> OriginalSpan => _sequence.
IsEmpty
? _buffer : default;
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
84
tempReader = originalSequence.
IsEmpty
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (3)
373
if (sequence.
IsEmpty
)
412
if (originalSequence.
IsEmpty
)
474
Debug.Assert(!valueSpan.IsEmpty ^ !valueSequence.
IsEmpty
);