10 references to HostType
System.Private.Uri (10)
System\Uri.cs (9)
838switch (HostType) 1202Flags hostType = HostType; 1230Flags hostType = HostType; 2348if (HostType == Flags.BasicHostType) 2490if (HostType == Flags.BasicHostType) 2899if (formatAs != UriFormat.UriEscaped && HostType == Flags.BasicHostType 2934if ((parts & UriComponents.SerializationInfoString) != 0 && HostType == Flags.IPv6HostType && _info._moreInfo?.ScopeId is string scopeId) 4690if (basePart.HostType == Flags.IPv6HostType) 4764if (basePart.HostType == Flags.IPv6HostType)
System\UriExt.cs (1)
541if ((_flags & Flags.CanonicalDnsHost) == 0 && HostType != Flags.IPv6HostType)