29 references to Location
System.Text.Json (29)
System\Text\Json\Document\JsonDocument.cs (28)
240return _utf8Json.Slice(row.Location - 1, row.SizeOrLength + 2); 243return _utf8Json.Slice(row.Location, row.SizeOrLength); 247int start = row.Location; 249return _utf8Json.Slice(start, row.Location - start + row.SizeOrLength); 261int start = row.Location - 1; 268end = row.Location + row.SizeOrLength; 281end = row.Location + row.SizeOrLength; 301ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 354ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 395return _utf8Json.Span.Slice(row.Location, row.SizeOrLength); 407ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 428ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 450ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 472ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 494ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 516ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 538ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 560ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 582ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 604ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 626ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 648ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 670ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 705ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 740ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 818writer.WriteNumberValue(_utf8Json.Slice(row.Location, row.SizeOrLength).Span); 849writer.WriteNumberValue(_utf8Json.Slice(row.Location, row.SizeOrLength).Span); 884int loc = row.Location;
System\Text\Json\Document\JsonDocument.TryGetProperty.cs (1)
166ReadOnlySpan<byte> currentPropertyName = documentSpan.Slice(row.Location, row.SizeOrLength);