3 writes to User
System.Private.Uri (3)
23 references to User
System.Private.Uri (23)
System\Uri.cs (20)
158Debug.Assert(offset.User >= 0 && offset.User >= offset.Scheme);
159Debug.Assert(offset.Host >= 0 && offset.Host >= offset.User);
2335info.Offset.Host = info.Offset.User;
2336info.Offset.Path = info.Offset.User;
2841ReadOnlySpan<char> slice = str.AsSpan(_info.Offset.User, _info.Offset.Host - _info.Offset.User);
3074_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3101_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3124return _string.Substring(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme);
3180return (_info.Offset.Path - _info.Offset.User == 0) ? string.Empty :
3181_string.Substring(_info.Offset.User, _info.Offset.Path - _info.Offset.User);
3187return string.Concat(_string.AsSpan(_info.Offset.User, _info.Offset.Path - _info.Offset.User),
3197_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3219if (_info.Offset.User >= delimiterAwareIdx)
3222return _string.Substring(_info.Offset.User, delimiterAwareIdx - _info.Offset.User);
3298idx = _info.Offset.User;