5 writes to Path
System.Private.Uri (5)
50 references to Path
System.Private.Uri (50)
System\Uri.cs (45)
292char ch = _string[_info.Offset.Path];
972start = IsUncPath ? _info.Offset.Host - 2 : _info.Offset.Path;
997start = _info.Offset.Path;
1000result = new char[host.Length + 3 + _info.Offset.Fragment - _info.Offset.Path];
1616(IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|')) // A rare case of c|\
1765int end1 = _info.Offset.Path;
1768int end2 = other._info.Offset.Path;
1791if (i1 < _info.Offset.Path && _string[i1] != ':')
2437string host = CreateHostStringHelper(_string, _info.Offset.Host, _info.Offset.Path, ref flags, ref _info.ScopeId);
2681else if (IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|')
2716else if (IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|')
3020return _string.Substring(_info.Offset.Scheme, _info.Offset.Path - _info.Offset.Scheme);
3024_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host));
3033return _string.Substring(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host);
3035return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host),
3060return _string.Substring(_info.Offset.Scheme, _info.Offset.Path - _info.Offset.Scheme);
3079int idx = _info.Offset.Path;
3093_info.Offset.End > _info.Offset.Path && _string[_info.Offset.Path] == '/')
3094delimiterAwareIdx = _info.Offset.Path + 1;
3096delimiterAwareIdx = _info.Offset.Path;
3129return (_info.Offset.Path - _info.Offset.User == 0) ? string.Empty :
3130_string.Substring(_info.Offset.User, _info.Offset.Path - _info.Offset.User);
3136return string.Concat(_string.AsSpan(_info.Offset.User, _info.Offset.Path - _info.Offset.User),
3140return _string.Substring(_info.Offset.Path, _info.Offset.Fragment - _info.Offset.Path);
3155return _string.Substring(_info.Offset.Path, _info.Offset.End - _info.Offset.Path);
3282idx = _info.Offset.Path;
3283origIdx = _info.Offset.Path;
3303idx = _info.Offset.Path;
3411&& (_info.Offset.Path == length || (str[_info.Offset.Path] != '/' && str[_info.Offset.Path] != '\\')))
4299if (_info.Offset.Path == _info.Offset.Query)
4313dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4338if (dosPathIdx != 0 && str[dosPathIdx + _info.Offset.Path - 1] == '|')
4341chars[dosPathIdx + _info.Offset.Path - 1] = ':';
4346str.Slice(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path),
4351dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4372dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));