3382 {
3385 {
3386 int num =
basePart.OriginalString.IndexOf(
':');
3388 {
3390 }
3391 num =
basePart.OriginalString.IndexOf(
':', num + 1);
3393 }
3395 {
3397 {
3399 {
3401 }
3403 }
3405 {
3408 {
3410 {
3412 break;
3413 }
3414 }
3416 {
3418 }
3420 }
3422 }
3423 bool flag =
basePart.Syntax.InFact(UriSyntaxFlags.ConvertPathSlashes);
3425 if (c == '/' || (c == '\\' && flag))
3426 {
3428 {
3430 }
3431 text = ((
basePart.HostType != Flags.IPv6HostType) ?
basePart.GetParts(
UriComponents.SchemeAndServer |
UriComponents.UserInfo,
uriFormat) :
$"{basePart.GetParts(UriComponents.Scheme | UriComponents.UserInfo, uriFormat)}[{basePart.DnsSafeHost}]{basePart.GetParts(UriComponents.Port | UriComponents.KeepDelimiter, uriFormat)}");
3432 if (!flag || c != '\\')
3433 {
3435 }
3437 }
3442 {
3445 {
3447 {
3449 break;
3450 }
3451 }
3452 }
3454 c = (
basePart.Syntax.InFact(UriSyntaxFlags.MayHaveQuery) ?
'?' :
'\uffff');
3457 if (c !=
'\uffff' ||
c2 !=
'\uffff')
3458 {
3461 {
3462 }
3464 {
3466 }
3468 {
3470 }
3472 }
3473 else
3474 {
3476 }
3477 if (
basePart.HostType == Flags.IPv6HostType)
3478 {
3480 }
3482 {
3484 {
3487 }
3489 }
3490 else
3491 {
3493 }
3496 }
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
static bool StaticIsFile(UriParser syntax)
static void Compress(char[] dest, int start, ref int destLength, UriParser syntax)