31 references to SizeOrLength
System.Text.Json (31)
System\Text\Json\Document\JsonDocument.cs (29)
140
return row.
SizeOrLength
;
151
return row.
SizeOrLength
;
162
int arrayLength = row.
SizeOrLength
;
240
return _utf8Json.Slice(row.Location - 1, row.
SizeOrLength
+ 2);
243
return _utf8Json.Slice(row.Location, row.
SizeOrLength
);
249
return _utf8Json.Slice(start, row.Location - start + row.
SizeOrLength
);
268
end = row.Location + row.
SizeOrLength
;
281
end = row.Location + row.
SizeOrLength
;
301
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
354
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
395
return _utf8Json.Span.Slice(row.Location, row.
SizeOrLength
);
407
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
428
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
450
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
472
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
494
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
516
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
538
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
560
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
582
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
604
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
626
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
648
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
670
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
705
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
740
ReadOnlySpan<byte> segment = data.Slice(row.Location, row.
SizeOrLength
);
818
writer.WriteNumberValue(_utf8Json.Slice(row.Location, row.
SizeOrLength
).Span);
849
writer.WriteNumberValue(_utf8Json.Slice(row.Location, row.
SizeOrLength
).Span);
885
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
);