5 writes to Path
System.Private.Uri (5)
54 references to Path
System.Private.Uri (54)
System\Uri.cs (49)
160Debug.Assert(offset.Path >= 0);
161Debug.Assert(offset.End >= 0 && offset.End >= offset.Path);
165Debug.Assert(offset.Path >= offset.Host);
166Debug.Assert(offset.Query >= 0 && offset.Query >= offset.Path);
177Debug.Assert(offset.Path >= offset.Host);
339char ch = _string[_info.Offset.Path];
1022start = IsUncPath ? _info.Offset.Host - 2 : _info.Offset.Path;
1048start = _info.Offset.Path;
1647(IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|')) // A rare case of c|\
1796int end1 = _info.Offset.Path;
1799int end2 = other._info.Offset.Path;
1822if (i1 < _info.Offset.Path && _string[i1] != ':')
2465string host = CreateHostStringHelper(_string, _info.Offset.Host, _info.Offset.Path, ref flags, _info);
2711else if (IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|')
2746else if (IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|')
3033return _string.Substring(_info.Offset.Scheme, _info.Offset.Path - _info.Offset.Scheme);
3037_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host));
3046return _string.Substring(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host);
3048return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host),
3073return _string.Substring(_info.Offset.Scheme, _info.Offset.Path - _info.Offset.Scheme);
3092int idx = _info.Offset.Path;
3106_info.Offset.End > _info.Offset.Path && _string[_info.Offset.Path] == '/')
3107delimiterAwareIdx = _info.Offset.Path + 1;
3109delimiterAwareIdx = _info.Offset.Path;
3142return (_info.Offset.Path - _info.Offset.User == 0) ? string.Empty :
3143_string.Substring(_info.Offset.User, _info.Offset.Path - _info.Offset.User);
3149return string.Concat(_string.AsSpan(_info.Offset.User, _info.Offset.Path - _info.Offset.User),
3153return _string.Substring(_info.Offset.Path, _info.Offset.Fragment - _info.Offset.Path);
3168return _string.Substring(_info.Offset.Path, _info.Offset.End - _info.Offset.Path);
3295idx = _info.Offset.Path;
3296origIdx = _info.Offset.Path;
3320idx = _info.Offset.Path;
3422&& (_info.Offset.Path == length || (str[_info.Offset.Path] != '/' && str[_info.Offset.Path] != '\\')))
4308if (_info.Offset.Path == _info.Offset.Query)
4322dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4347if (dosPathIdx != 0 && str[dosPathIdx + _info.Offset.Path - 1] == '|')
4350chars[dosPathIdx + _info.Offset.Path - 1] = ':';
4355str.Slice(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path),
4360dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
4381dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));