4 writes to End
System.Private.Uri (4)
22 references to End
System.Private.Uri (22)
System\Uri.cs (22)
161Debug.Assert(offset.End >= 0 && offset.End >= offset.Path);
168Debug.Assert(offset.End >= offset.Fragment && offset.End <= _string.Length);
1025_info.Offset.Query == _info.Offset.End)
1657result = _string.AsSpan(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
2378if (idx < info.Offset.End)
2387if (++idx < info.Offset.End)
2397for (++idx; idx < info.Offset.End; ++idx)
2522if ((_info.Offset.Host + i) >= _info.Offset.End ||
2639if ((_info.Offset.Host + i) >= _info.Offset.End || host[i] != _string[_info.Offset.Host + i])
2969if ((parts & UriComponents.Fragment) != 0 && _info.Offset.Fragment < _info.Offset.End)
2975FormatQueryOrFragment(str.AsSpan(offset, _info.Offset.End - offset), ref dest, nonCanonical, formatAs, isQuery: false);
3053if (_info.Offset.Scheme == 0 && _info.Offset.End == _string.Length)
3056return _string.Substring(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3106_info.Offset.End > _info.Offset.Path && _string[_info.Offset.Path] == '/')
3136if (delimiterAwareIdx >= _info.Offset.End)
3139return _string.Substring(delimiterAwareIdx, _info.Offset.End - delimiterAwareIdx);
3160_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host));
3162if (_info.Offset.Scheme == 0 && _info.Offset.End == _string.Length)
3165return _string.Substring(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3168return _string.Substring(_info.Offset.Path, _info.Offset.End - _info.Offset.Path);