2 writes to Host
System.Private.Uri (2)
System\Uri.cs (2)
2305info.Offset.Host = idx; 3446_info.Offset.Host = vsb.Length;
31 references to Host
System.Private.Uri (31)
System\Uri.cs (30)
168Debug.Assert(offset.Host >= 0 && offset.Host >= offset.User); 174Debug.Assert(offset.Path >= offset.Host); 186Debug.Assert(offset.Path >= offset.Host); 1002start = IsUncPath ? _info.Offset.Host - 2 : _info.Offset.Path; 1004string str = (IsImplicitFile && _info.Offset.Host == (IsDosPath ? 0 : 2) && 1775int i1 = _info.Offset.Host; 1778int i2 = other._info.Offset.Host; 2416string host = CreateHostStringHelper(_string, _info.Offset.Host, _info.Offset.Path, ref flags, _info); 2468if ((_info.Offset.Host + i) >= _info.Offset.End || 2469host[i] != _string[_info.Offset.Host + i]) 2574if ((_info.Offset.Host + i) >= _info.Offset.End || host[i] != _string[_info.Offset.Host + i]) 2757ReadOnlySpan<char> slice = str.AsSpan(_info.Offset.User, _info.Offset.Host - _info.Offset.User); 2972_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host)); 2981return _string.Substring(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host); 2983return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host), 2999_string.AsSpan(_info.Offset.Host, _info.Offset.Fragment - _info.Offset.Host)); 3034return (idx - _info.Offset.Host == 0) ? string.Empty : _string.Substring(_info.Offset.Host, 3035idx - _info.Offset.Host); 3095_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host)); 3112delimiterAwareIdx = _info.Offset.Host - 1; 3114delimiterAwareIdx = _info.Offset.Host; 3202Check result = CheckCanonical(inputStr.AsSpan(userStart, _info.Offset.Host - userStart), '@', out _);
System\UriExt.cs (1)
917while (otherUri._string[portIndex] != ':' && portIndex > otherUri._info.Offset.Host)