3 writes to End
System.Private.Uri (3)
19 references to End
System.Private.Uri (19)
System\Uri.cs (19)
166Debug.Assert(offset.End >= 0 && offset.End >= offset.Path);
173Debug.Assert(offset.End >= offset.Fragment && offset.End <= _string.Length);
1021_info.Offset.Query == _info.Offset.End)
1653result = _string.AsSpan(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
2484if ((_info.Offset.Host + i) >= _info.Offset.End ||
2590if ((_info.Offset.Host + i) >= _info.Offset.End || host[i] != _string[_info.Offset.Host + i])
2920if ((parts & UriComponents.Fragment) != 0 && _info.Offset.Fragment < _info.Offset.End)
2926FormatQueryOrFragment(str.AsSpan(offset, _info.Offset.End - offset), ref dest, nonCanonical, formatAs, isQuery: false);
3004if (_info.Offset.Scheme == 0 && _info.Offset.End == _string.Length)
3007return _string.Substring(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3057_info.Offset.End > _info.Offset.Path && _string[_info.Offset.Path] == '/')
3087if (delimiterAwareIdx >= _info.Offset.End)
3090return _string.Substring(delimiterAwareIdx, _info.Offset.End - delimiterAwareIdx);
3111_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host));
3113if (_info.Offset.Scheme == 0 && _info.Offset.End == _string.Length)
3116return _string.Substring(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3119return _string.Substring(_info.Offset.Path, _info.Offset.End - _info.Offset.Path);