9 references to HostType
System.Private.Uri (9)
System\Uri.cs (8)
818
switch (
HostType
)
1182
Flags hostType =
HostType
;
1210
Flags hostType =
HostType
;
2422
if (
HostType
== Flags.BasicHostType)
2827
if (formatAs != UriFormat.UriEscaped &&
HostType
== Flags.BasicHostType && (nonCanonical & (ushort)UriComponents.Host) != 0)
2850
if ((parts & UriComponents.SerializationInfoString) != 0 &&
HostType
== Flags.IPv6HostType && _info._moreInfo?.ScopeId is string scopeId)
4489
if (basePart.
HostType
== Flags.IPv6HostType)
4563
if (basePart.
HostType
== Flags.IPv6HostType)
System\UriExt.cs (1)
473
if ((_flags & Flags.CanonicalDnsHost) == 0 &&
HostType
!= Flags.IPv6HostType)