private void ParseUri (UriKind kind)
{
Parse (kind, source);
if (userEscaped)
return;
host = EscapeString (host, false, true, false);
if (host.Length > 1 && host [0] != '[' && host [host.Length - 1] != ']') {
// host name present (but not an IPv6 address)
host = host.ToLower (CultureInfo.InvariantCulture);
}
if (path.Length > 0) {
path = EscapeString (path);
}
}