9 references to IsFinalBlock
System.Text.Json (9)
System\Text\Json\JsonHelpers.cs (3)
40
bool readAhead = requiresReadAhead && !reader.
IsFinalBlock
;
57
isAtEndOfStream = reader.
IsFinalBlock
;
64
if (requiresReadAhead && !reader.
IsFinalBlock
)
System\Text\Json\Reader\Utf8JsonReader.cs (2)
262
/// This assumes that the entire JSON payload is passed in (equivalent to <see cref="
IsFinalBlock
"/> = true)
296
/// Thrown when the reader was given partial data with more data to follow (i.e. <see cref="
IsFinalBlock
"/> is false).
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (1)
112
/// This assumes that the entire JSON payload is passed in (equivalent to <see cref="
IsFinalBlock
"/> = true)
System\Text\Json\Serialization\JsonConverterOfT.ReadCore.cs (2)
36
return reader.
IsFinalBlock
;
47
if (!reader.Read() && !reader.
IsFinalBlock
)
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
34
if (allowOutOfOrderMetadata && !reader.
IsFinalBlock
)