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