4 writes to Host
System.Private.Uri (4)
System\Uri.cs (4)
2288info.Offset.Host = info.Offset.User; 2303info.Offset.Host = (ushort)idx; 2317info.Offset.Host = (ushort)idx; 2321info.Offset.Host = (ushort)idx;
27 references to Host
System.Private.Uri (27)
System\Uri.cs (26)
972start = IsUncPath ? _info.Offset.Host - 2 : _info.Offset.Path; 974string str = (IsImplicitFile && _info.Offset.Host == (IsDosPath ? 0 : 2) && 1764int i1 = _info.Offset.Host; 1767int i2 = other._info.Offset.Host; 2437string host = CreateHostStringHelper(_string, _info.Offset.Host, _info.Offset.Path, ref flags, ref _info.ScopeId); 2494if ((_info.Offset.Host + i) >= _info.Offset.End || 2495host[i] != _string[_info.Offset.Host + i]) 2609if ((_info.Offset.Host + i) >= _info.Offset.End || host[i] != _string[_info.Offset.Host + i]) 2790ReadOnlySpan<char> slice = str.AsSpan(_info.Offset.User, _info.Offset.Host - _info.Offset.User); 3024_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host)); 3033return _string.Substring(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host); 3035return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host), 3051_string.AsSpan(_info.Offset.Host, _info.Offset.Fragment - _info.Offset.Host)); 3086return (idx - _info.Offset.Host == 0) ? string.Empty : _string.Substring(_info.Offset.Host, 3087idx - _info.Offset.Host); 3147_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host)); 3164delimiterAwareIdx = _info.Offset.Host - 1; 3166delimiterAwareIdx = _info.Offset.Host; 3248result = CheckCanonical(str, ref idx, _info.Offset.Host, '@');
System\UriExt.cs (1)
1068while (otherUri._string[portIndex] != ':' && portIndex > otherUri._info.Offset.Host)