31 references to SizeOrLength
System.Text.Json (31)
System\Text\Json\Document\JsonDocument.cs (29)
137
return row.
SizeOrLength
;
148
return row.
SizeOrLength
;
159
int arrayLength = row.
SizeOrLength
;
237
return _utf8Json.Slice(row.Location - 1, row.
SizeOrLength
+ 2);
240
return _utf8Json.Slice(row.Location, row.
SizeOrLength
);
246
return _utf8Json.Slice(start, row.Location - start + row.
SizeOrLength
);
265
end = row.Location + row.
SizeOrLength
;
278
end = row.Location + row.
SizeOrLength
;
298
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
351
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
392
return _utf8Json.Span.Slice(row.Location, row.
SizeOrLength
);
404
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
425
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
447
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
469
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
491
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
513
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
535
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
557
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
579
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
601
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
623
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
645
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
667
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
702
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
737
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
815
writer.WriteNumberValue(_utf8Json.Slice(row.Location, row.
SizeOrLength
).Span);
846
writer.WriteNumberValue(_utf8Json.Slice(row.Location, row.
SizeOrLength
).Span);
882
int length = row.
SizeOrLength
;
System\Text\Json\Document\JsonDocument.TryGetProperty.cs (2)
75
if (row.
SizeOrLength
>= minBytes)
166
ReadOnlySpan<byte> currentPropertyName = documentSpan.Slice(row.Location, row.
SizeOrLength
);