3 writes to End
System.Private.Uri (3)
19 references to End
System.Private.Uri (19)
System\Uri.cs (19)
170Debug.Assert(offset.End >= 0 && offset.End >= offset.Path);
177Debug.Assert(offset.End >= offset.Fragment && offset.End <= _string.Length);
1005_info.Offset.Query == _info.Offset.End)
1637result = _string.AsSpan(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
2468if ((_info.Offset.Host + i) >= _info.Offset.End ||
2574if ((_info.Offset.Host + i) >= _info.Offset.End || host[i] != _string[_info.Offset.Host + i])
2904if ((parts & UriComponents.Fragment) != 0 && _info.Offset.Fragment < _info.Offset.End)
2910FormatQueryOrFragment(str.AsSpan(offset, _info.Offset.End - offset), ref dest, nonCanonical, formatAs, isQuery: false);
2988if (_info.Offset.Scheme == 0 && _info.Offset.End == _string.Length)
2991return _string.Substring(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3041_info.Offset.End > _info.Offset.Path && _string[_info.Offset.Path] == '/')
3071if (delimiterAwareIdx >= _info.Offset.End)
3074return _string.Substring(delimiterAwareIdx, _info.Offset.End - delimiterAwareIdx);
3095_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host));
3097if (_info.Offset.Scheme == 0 && _info.Offset.End == _string.Length)
3100return _string.Substring(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3103return _string.Substring(_info.Offset.Path, _info.Offset.End - _info.Offset.Path);