2 writes to Path
System.Private.Uri (2)
System\Uri.cs (2)
2378info.Offset.Path = idx; 3460_info.Offset.Path = vsb.Length;
52 references to Path
System.Private.Uri (52)
System\Uri.cs (47)
174Debug.Assert(offset.Path >= 0); 175Debug.Assert(offset.End >= 0 && offset.End >= offset.Path); 179Debug.Assert(offset.Path >= offset.Host); 180Debug.Assert(offset.Query >= 0 && offset.Query >= offset.Path); 191Debug.Assert(offset.Path >= offset.Host); 353char ch = _string[_info.Offset.Path]; 1007start = IsUncPath ? _info.Offset.Host - 2 : _info.Offset.Path; 1033start = _info.Offset.Path; 1632(IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|')) // A rare case of c|\ 1781int end1 = _info.Offset.Path; 1784int end2 = other._info.Offset.Path; 1807if (i1 < _info.Offset.Path && _string[i1] != ':') 2421string host = CreateHostStringHelper(_string, _info.Offset.Host, _info.Offset.Path, ref flags, _info); 2651else if (IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|') 2686else if (IsDosPath && _string[_info.Offset.Path + SecuredPathIndex - 1] == '|') 2973return _string.Substring(_info.Offset.Scheme, _info.Offset.Path - _info.Offset.Scheme); 2977_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host)); 2986return _string.Substring(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host); 2988return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host), 3013return _string.Substring(_info.Offset.Scheme, _info.Offset.Path - _info.Offset.Scheme); 3032int idx = _info.Offset.Path; 3046_info.Offset.End > _info.Offset.Path && _string[_info.Offset.Path] == '/') 3047delimiterAwareIdx = _info.Offset.Path + 1; 3049delimiterAwareIdx = _info.Offset.Path; 3082return (_info.Offset.Path - _info.Offset.User == 0) ? string.Empty : 3083_string.Substring(_info.Offset.User, _info.Offset.Path - _info.Offset.User); 3089return string.Concat(_string.AsSpan(_info.Offset.User, _info.Offset.Path - _info.Offset.User), 3093return _string.Substring(_info.Offset.Path, _info.Offset.Fragment - _info.Offset.Path); 3108return _string.Substring(_info.Offset.Path, _info.Offset.End - _info.Offset.Path); 3257int idx = _info.Offset.Path; 3281&& (_info.Offset.Path == length || inputStr[_info.Offset.Path] is not ('/' or '\\'))) 3430ReadOnlySpan<char> original = _originalUnicodeString.AsSpan(_info.Offset.Path); 4187if (_info.Offset.Path == _info.Offset.Query) 4201dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path)); 4220if (dosPathIdx != 0 && str[dosPathIdx + _info.Offset.Path - 1] == '|') 4223chars[dosPathIdx + _info.Offset.Path - 1] = ':'; 4228str.Slice(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path), 4233dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path)); 4254dest.Append(_string.AsSpan(_info.Offset.Path, _info.Offset.Query - _info.Offset.Path));
System\UriExt.cs (5)
472if (InFact(Flags.FirstSlashAbsent) && _info.Offset.Query > _info.Offset.Path) 482if (IsDosPath && str[_info.Offset.Path + SecuredPathIndex - 1] == '|') 490Check result = CheckCanonical(str.AsSpan(idx, _info.Offset.Path - idx), '/', out _); 933int portIndex = otherUri._info.Offset.Path; 945portIndex = otherUri._info.Offset.Path;