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] != ':')
2438string host = CreateHostStringHelper(_string, _info.Offset.Host, _info.Offset.Path, ref flags, _info);
2687else if (IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|')
2722else if (IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|')
3026return _string.Substring(_info.Offset.Scheme, _info.Offset.Path - _info.Offset.Scheme);
3030_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host));
3039return _string.Substring(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host);
3041return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host),
3066return _string.Substring(_info.Offset.Scheme, _info.Offset.Path - _info.Offset.Scheme);
3085int idx = _info.Offset.Path;
3099_info.Offset.End > _info.Offset.Path && _string[_info.Offset.Path] == '/')
3100delimiterAwareIdx = _info.Offset.Path + 1;
3102delimiterAwareIdx = _info.Offset.Path;
3135return (_info.Offset.Path - _info.Offset.User == 0) ? string.Empty :
3136_string.Substring(_info.Offset.User, _info.Offset.Path - _info.Offset.User);
3142return string.Concat(_string.AsSpan(_info.Offset.User, _info.Offset.Path - _info.Offset.User),
3146return _string.Substring(_info.Offset.Path, _info.Offset.Fragment - _info.Offset.Path);
3161return _string.Substring(_info.Offset.Path, _info.Offset.End - _info.Offset.Path);
3288idx = _info.Offset.Path;
3289origIdx = _info.Offset.Path;
3313idx = _info.Offset.Path;
3421&& (_info.Offset.Path == length || (str[_info.Offset.Path] != '/' && str[_info.Offset.Path] != '\\')))
4312if (_info.Offset.Path == _info.Offset.Query)
4326dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4351if (dosPathIdx != 0 && str[dosPathIdx + _info.Offset.Path - 1] == '|')
4354chars[dosPathIdx + _info.Offset.Path - 1] = ':';
4359str.Slice(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path),
4364dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4385dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));