3 writes to Scheme
System.Private.Uri (3)
30 references to Scheme
System.Private.Uri (30)
System\Uri.cs (29)
157Debug.Assert(offset.Scheme >= 0);
158Debug.Assert(offset.User >= 0 && offset.User >= offset.Scheme);
1676result = _string.AsSpan(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3071return _string.Substring(_info.Offset.Scheme, _info.Offset.Path - _info.Offset.Scheme);
3074_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3091if (_info.Offset.Scheme == 0 && _info.Offset.End == _string.Length)
3094return _string.Substring(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3101_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3104if (_info.Offset.Scheme == 0 && _info.Offset.Fragment == _string.Length)
3107return _string.Substring(_info.Offset.Scheme, _info.Offset.Fragment - _info.Offset.Scheme);
3111return _string.Substring(_info.Offset.Scheme, _info.Offset.Path - _info.Offset.Scheme);
3115if (_info.Offset.Scheme == 0 && _info.Offset.Fragment == _string.Length)
3118return _string.Substring(_info.Offset.Scheme, _info.Offset.Fragment - _info.Offset.Scheme);
3124return _string.Substring(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme);
3197_string.AsSpan(_info.Offset.Scheme, _info.Offset.User - _info.Offset.Scheme),
3200if (_info.Offset.Scheme == 0 && _info.Offset.End == _string.Length)
3203return _string.Substring(_info.Offset.Scheme, _info.Offset.End - _info.Offset.Scheme);
3261int idx = _info.Offset.Scheme;