5 writes to Host
System.Private.Uri (5)
System\Uri.cs (5)
2335info.Offset.Host = info.Offset.User; 2350info.Offset.Host = idx; 2364info.Offset.Host = idx; 2368info.Offset.Host = idx; 3354_info.Offset.Host = _string.Length;
31 references to Host
System.Private.Uri (31)
System\Uri.cs (30)
159Debug.Assert(offset.Host >= 0 && offset.Host >= offset.User); 165Debug.Assert(offset.Path >= offset.Host); 177Debug.Assert(offset.Path >= offset.Host); 1022start = IsUncPath ? _info.Offset.Host - 2 : _info.Offset.Path; 1024string str = (IsImplicitFile && _info.Offset.Host == (IsDosPath ? 0 : 2) && 1814int i1 = _info.Offset.Host; 1817int i2 = other._info.Offset.Host; 2484string host = CreateHostStringHelper(_string, _info.Offset.Host, _info.Offset.Path, ref flags, _info); 2541if ((_info.Offset.Host + i) >= _info.Offset.End || 2542host[i] != _string[_info.Offset.Host + i]) 2658if ((_info.Offset.Host + i) >= _info.Offset.End || host[i] != _string[_info.Offset.Host + i]) 2841ReadOnlySpan<char> slice = str.AsSpan(_info.Offset.User, _info.Offset.Host - _info.Offset.User); 3075_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host)); 3084return _string.Substring(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host); 3086return string.Concat(_string.AsSpan(_info.Offset.Host, _info.Offset.Path - _info.Offset.Host), 3102_string.AsSpan(_info.Offset.Host, _info.Offset.Fragment - _info.Offset.Host)); 3137return (idx - _info.Offset.Host == 0) ? string.Empty : _string.Substring(_info.Offset.Host, 3138idx - _info.Offset.Host); 3198_string.AsSpan(_info.Offset.Host, _info.Offset.End - _info.Offset.Host)); 3215delimiterAwareIdx = _info.Offset.Host - 1; 3217delimiterAwareIdx = _info.Offset.Host; 3299result = CheckCanonical(str, ref idx, _info.Offset.Host, '@');
System\UriExt.cs (1)
1075while (otherUri._string[portIndex] != ':' && portIndex > otherUri._info.Offset.Host)