2 writes to User
System.Private.Uri (2)
System\Uri.cs (2)
2287info.Offset.User = (ushort)(cF & Flags.IndexMask); 2298info.Offset.User = (ushort)idx;
20 references to User
System.Private.Uri (20)
System\Uri.cs (17)
2288info.Offset.Host = info.Offset.User; 2289info.Offset.Path = info.Offset.User; 2790ReadOnlySpan<char> slice = str.AsSpan(_info.Offset.User, _info.Offset.Host - _info.Offset.User); 3023_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme), 3050_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme), 3073return _string.Substring(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme); 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), 3146_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme), 3168if (_info.Offset.User >= delimiterAwareIdx) 3171return _string.Substring(_info.Offset.User, delimiterAwareIdx - _info.Offset.User); 3247idx = _info.Offset.User;
System\UriExt.cs (3)
510if (idx >= _info.Offset.User || _string[idx - 1] == '\\' || _string[idx] == '\\') 515while (++idx < _info.Offset.User && (_string[idx] == '/' || _string[idx] == '\\')) 547idx = _info.Offset.User;