9 references to HostType
System.Private.Uri (9)
System\Uri.cs (8)
834switch (HostType) 1198Flags hostType = HostType; 1226Flags hostType = HostType; 2438if (HostType == Flags.BasicHostType) 2843if (formatAs != UriFormat.UriEscaped && HostType == Flags.BasicHostType && (nonCanonical & (ushort)UriComponents.Host) != 0) 2866if ((parts & UriComponents.SerializationInfoString) != 0 && HostType == Flags.IPv6HostType && _info._moreInfo?.ScopeId is string scopeId) 4553if (basePart.HostType == Flags.IPv6HostType) 4627if (basePart.HostType == Flags.IPv6HostType)
System\UriExt.cs (1)
477if ((_flags & Flags.CanonicalDnsHost) == 0 && HostType != Flags.IPv6HostType)