29 references to Location
System.Text.Json (29)
System\Text\Json\Document\JsonDocument.cs (28)
237
return _utf8Json.Slice(row.
Location
- 1, row.SizeOrLength + 2);
240
return _utf8Json.Slice(row.
Location
, row.SizeOrLength);
244
int start = row.
Location
;
246
return _utf8Json.Slice(start, row.
Location
- start + row.SizeOrLength);
258
int start = row.
Location
- 1;
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);
881
int loc = row.
Location
;
System\Text\Json\Document\JsonDocument.TryGetProperty.cs (1)
166
ReadOnlySpan<byte> currentPropertyName = documentSpan.Slice(row.
Location
, row.SizeOrLength);