3 writes to End
System.Private.Uri (3)
19 references to End
System.Private.Uri (19)
System\Uri.cs (19)
175Debug.Assert(offset.End >= 0 && offset.End >= offset.Path);
182Debug.Assert(offset.End >= offset.Fragment && offset.End <= _string.Length);
1010_info.Offset.Query == _info.Offset.End)
1642result = _string.AsSpan(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
2473if ((_info.Offset.Host + i) >= _info.Offset.End ||
2579if ((_info.Offset.Host + i) >= _info.Offset.End || host[i] != _string[_info.Offset.Host + i])
2909if ((parts & UriComponents.Fragment) != 0 && _info.Offset.Fragment < _info.Offset.End)
2915FormatQueryOrFragment(str.AsSpan(offset, _info.Offset.End - offset), ref dest, nonCanonical, formatAs, isQuery: false);
2993if (_info.Offset.Scheme == 0 && _info.Offset.End == _string.Length)
2996return _string.Substring(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3046_info.Offset.End > _info.Offset.Path && _string[_info.Offset.Path] == '/')
3076if (delimiterAwareIdx >= _info.Offset.End)
3079return _string.Substring(delimiterAwareIdx, _info.Offset.End - delimiterAwareIdx);
3100_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host));
3102if (_info.Offset.Scheme == 0 && _info.Offset.End == _string.Length)
3105return _string.Substring(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3108return _string.Substring(_info.Offset.Path, _info.Offset.End - _info.Offset.Path);