2 writes to Host
System.Private.Uri (2)
System\Uri.cs (2)
2321info.Offset.Host = idx; 3263_info.Offset.Host = _string.Length;
31 references to Host
System.Private.Uri (31)
System\Uri.cs (30)
164Debug.Assert(offset.Host >= 0 && offset.Host >= offset.User); 170Debug.Assert(offset.Path >= offset.Host); 182Debug.Assert(offset.Path >= offset.Host); 1018start = IsUncPath ? _info.Offset.Host - 2 : _info.Offset.Path; 1020string str = (IsImplicitFile && _info.Offset.Host == (IsDosPath ? 0 : 2) && 1791int i1 = _info.Offset.Host; 1794int i2 = other._info.Offset.Host; 2432string host = CreateHostStringHelper(_string, _info.Offset.Host, _info.Offset.Path, ref flags, _info); 2484if ((_info.Offset.Host + i) >= _info.Offset.End || 2485host[i] != _string[_info.Offset.Host + i]) 2590if ((_info.Offset.Host + i) >= _info.Offset.End || host[i] != _string[_info.Offset.Host + i]) 2773ReadOnlySpan<char> slice = str.AsSpan(_info.Offset.User, _info.Offset.Host - _info.Offset.User); 2988_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host)); 2997return _string.Substring(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host); 2999return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host), 3015_string.AsSpan(_info.Offset.Host, _info.Offset.Fragment - _info.Offset.Host)); 3050return (idx - _info.Offset.Host == 0) ? string.Empty : _string.Substring(_info.Offset.Host, 3051idx - _info.Offset.Host); 3111_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host)); 3128delimiterAwareIdx = _info.Offset.Host - 1; 3130delimiterAwareIdx = _info.Offset.Host; 3219result = CheckCanonical(_string.AsSpan(idx, _info.Offset.Host - idx), '@', out _);
System\UriExt.cs (1)
980while (otherUri._string[portIndex] != ':' && portIndex > otherUri._info.Offset.Host)