2 writes to Host
System.Private.Uri (2)
System\Uri.cs (2)
2324info.Offset.Host = idx; 3465_info.Offset.Host = vsb.Length;
31 references to Host
System.Private.Uri (31)
System\Uri.cs (30)
166Debug.Assert(offset.Host >= 0 && offset.Host >= offset.User); 172Debug.Assert(offset.Path >= offset.Host); 184Debug.Assert(offset.Path >= offset.Host); 1021start = IsUncPath ? _info.Offset.Host - 2 : _info.Offset.Path; 1023string str = (IsImplicitFile && _info.Offset.Host == (IsDosPath ? 0 : 2) && 1794int i1 = _info.Offset.Host; 1797int i2 = other._info.Offset.Host; 2435string host = CreateHostStringHelper(_string, _info.Offset.Host, _info.Offset.Path, ref flags, _info); 2487if ((_info.Offset.Host + i) >= _info.Offset.End || 2488host[i] != _string[_info.Offset.Host + i]) 2593if ((_info.Offset.Host + i) >= _info.Offset.End || host[i] != _string[_info.Offset.Host + i]) 2776ReadOnlySpan<char> slice = str.AsSpan(_info.Offset.User, _info.Offset.Host - _info.Offset.User); 2991_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host)); 3000return _string.Substring(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host); 3002return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host), 3018_string.AsSpan(_info.Offset.Host, _info.Offset.Fragment - _info.Offset.Host)); 3053return (idx - _info.Offset.Host == 0) ? string.Empty : _string.Substring(_info.Offset.Host, 3054idx - _info.Offset.Host); 3114_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host)); 3131delimiterAwareIdx = _info.Offset.Host - 1; 3133delimiterAwareIdx = _info.Offset.Host; 3221Check result = CheckCanonical(inputStr.AsSpan(userStart, _info.Offset.Host - userStart), '@', out _);
System\UriExt.cs (1)
971while (otherUri._string[portIndex] != ':' && portIndex > otherUri._info.Offset.Host)