10 references to HostType
System.Private.Uri (10)
System\Uri.cs (9)
838switch (HostType) 1202Flags hostType = HostType; 1230Flags hostType = HostType; 2329if (HostType == Flags.BasicHostType) 2471if (HostType == Flags.BasicHostType) 2892if (formatAs != UriFormat.UriEscaped && HostType == Flags.BasicHostType && (nonCanonical & (ushort)UriComponents.Host) != 0) 2915if ((parts & UriComponents.SerializationInfoString) != 0 && HostType == Flags.IPv6HostType && _info._moreInfo?.ScopeId is string scopeId) 4672if (basePart.HostType == Flags.IPv6HostType) 4746if (basePart.HostType == Flags.IPv6HostType)
System\UriExt.cs (1)
540if ((_flags & Flags.CanonicalDnsHost) == 0 && HostType != Flags.IPv6HostType)